User manual
IEC61131 User and Reference Manual
April 22, 2008
231
ctlrstat
Get controller status code
Description
The ctlrstat function returns the controller status code. Use this code to monitor controller
operation.
ctlrstat
statusOfCtrl
Arguments
Inputs This function block has no inputs.
Outputs
Type
Description
statusOfCtlr
Integer
Controller status code.
0 = Normal
1 = I/O module communication failure
Notes
When the Status LED flashes the error code 1 (i.e. a short flash, once every second), there
is a communication failure with one or more I/O module.
To correct the problem, do one of the following:
Ensure that I/O modules are connected to the controller.
Check that the module address for the I/O module is correct.