GetState (FUN)

FUNCTION GetState : State

This function returns the state of a given PLCHandler instance.

InOut:

Scope

Name

Type

Comment

Return

GetState

State

Input

hPlcHandler

SysTypes.RTS_IEC_HANDLE

The instance to retrieve the state of.

Output

result

Error

An error code representing the result of the operation