System state

If at the input "GetValu" a HIGH-signal is present, the function block reads the system state information. If an error occurs during the reading process, "Error" is displayed at the output.

Signals

Name I/O Type(s) Function
GetValu I BIT Activate reading

Error

O WORD Access error
State1 O STRING State part 1
State2 O STRING State part 2
StrID O WORD StringID

Comments

"State1" and "State2" form a state string together. A STRING value represents a maximum of 17 characters. For this reason, longer strings will be split at a maximum of 2 STRING values. Any additional strings will be truncated.