Module information
If at the input "GetValu" a HIGH signal is present, the function block reads the list of module description 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 |
O | WORD | Access error | |
Name1 | O | STRING | Name of module part 1 |
Name2 | O | STRING | Name of module part2 |
DType | O | STRING | Type of module |
DTypeC | O | STRING | Type code of module |
MMType | O | WORD | Main module type |
SMType | O | WORD | Sub module type |
FMType | O | WORD | Function type |
CMType | O | WORD | Housing type |
UARTIdx | O | STRING | UART - Index |
UARTAddr | O | STRING | UART Address |
NumVars | O | WORD | Number of module variables |
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.