IOS_GETSTATE: Read the State of the Modbus TCP IOScanner

Function Description

This function returns the value corresponding to the state of the Modbus TCP IOScanner.

Graphical Representation

IL and ST Representation

To see the general representation in IL or ST language, refer to Function and Function Block Representation

I/O Variable Description

This table describes the output variable:

Output

Type

Comment

IOS_GETSTATE

IosStateCodes (UINT)

Return values: IosStateCodes.

Example

This is an example of a call of this function:

mystate := IOS_GETSTATE() ;