ItpGetStateInterpreter
from library version 4.1
![]() | ItpGetStateInterpreter is a function that returns the interpreter state. |
Interface
FUNCTION ItpGetStateInterpreter : UDINT
VAR_IN_OUT
sNciToPlc : NciChannelToPlc;
END_VAR
Input parameters
Input & output | Data type | Description |
---|---|---|
sNciToPlc | NciChannelToPlc | The structure of the cyclic channel interface from the NCI to the PLC |
Return value
Data type | Description |
---|---|
UDINT | Current interpreter state |
![]() | ItpGetStateInterrpreter evaluates the variable 'nItpState' from the cyclic interface. |
Sample
VAR
nItpState: UDINT;
sNciToPlc: NciChannelToPlc;
END_VAR
nItpState := ItpGetStateInterpreter( sNciToPlc );
Requirements
Development Environment |
Target system |
PLC Libraries to include |
---|---|---|
TwinCAT v2.7.0 |
PC (i386) |
TcNciItp.lib |
TwinCAT v2.8.0 |
PC (i386) |
TcNci.lib |