List of variables

If at the input "GetValu" a HIGH signal is present, the function block reads the list of system variables. 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
Name1 O STRING Name of variable part 1
Name2 O STRING Name of variable part 2
VType O STRING Type
StrForm O STRING String of format
Unit O STRING Unit
DType O STRING Data type
DTypeC O UCHAR Data type code
IODirec O UCHAR direction
IOffset O WORD Input Offset
OOffset O WORD Output Offset

Parameters

The maximum number of readable variables must be set using the parameter dialog (Max. 1024/Default 128)

Comments

"Name1" and "Name2" 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.