ItpGetItfVersion
from library version 6.1.21and TwinCAT version 2.10 Build 1304
ItpGetItfVersion is a function to determine the version number of the cyclic interface.
Interface
FUNCTION ItpGetItfVersion
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. This structure is only accessed for reading. |
Return value
Data type | Description |
---|---|
UINT | Version number of the cyclic interface |
Sample
VAR
nItfVer: UINT;
sNciToPlc: NciChannelToPlc;
END_VAR
nItfVer := ItpGetItfVersion( sNciToPlc );
Requirements
Development Environment |
Target System Type |
PLC Libraries to include |
---|---|---|
TwinCAT v2.10.0 |
PC (i386) |
TcNci.lib |