ItpGetGroupId
from library version 6.1.21 and TwinCAT version 2.10 Build 1304
ItpGetGroupId is a function that determines the group ID from the cyclic interface.
Interface
FUNCTION ItpGetGroupId
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 | Group ID |
Sample
VAR
nGrpId: UINT;
sNciToPlc: NciChannelToPlc;
END_VAR
nGrpId := ItpGetGroupId( sNciToPlc );
See also: ItpGetChannelId
Requirements
Development Environment |
Target System Type |
PLC Libraries to include |
---|---|---|
TwinCAT v2.10.0 |
PC (i386) |
TcNci.lib |