IOS_GETSTATE: Read the State of the Modbus TCP IOScanner
This function returns the value corresponding to the state of the Modbus TCP IOScanner.
To see the general representation in IL or ST language, refer to Function and Function Block Representation
This table describes the output variable:
Output |
Type |
Comment |
---|---|---|
IOS_GETSTATE |
Return values: IosStateCodes enum |
This is an example of a call of this function:
mystate := IOS_GETSTATE() ; (* 0=NOT CONFIGURED 2=OPERATIONAL or 3=STOPPED. *)