ItpGetGroupAxisIds

from library version 6.1.29

ItpGetGroupAxisIds 1:

ItpGetGroupAxisIds is a function that returns an array of axes IDs that were configured for the group.

Interface

FUNCTION ItpGetGroupAxisIds

VAR_IN_OUT
sNciToPlc     : NciChannelToPlc;
nNciAxisIds   : ARRAY[1..8] OF DWORD;
END_VAR

NciChannelToPlc

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.

sNciAxisIds

ARRAY[1..8] OF DWORD

Array of axis IDs

Return value

Data type

Description

DWORD

Error number - this function is only valid for a cyclic interface of version 6 or higher.

ItpGetGroupAxisIds 2:

ItpGetGroupAxisIds evaluates the information of the variable 'nAcsAxisIDs[8]' from the cyclic interface.

Sample

VAR
nNciAxisIds : ARRAY[1..8] OF DWORD;
sNciToPlc : NciChannelToPlc;
nVersionErr : DWORD;
END_VAR
nVersionErr := ItpGetGroupAxisIds(nNciAxisIds, sNciToPlc );