Group Motion Control EtherCAT Programming Guide
17-10 March, 2017
17
17.6 _ECAT_Slave_User_Motion_Control_Get_DataCnt
Syntax
U16 PASCAL_ECAT_Slave_User_Motion_Control_Get_DataCnt (U16 CardNo, U16 GroupNo,
U16* Counter)
Purpose
This is for reading the data number that has not been processed in the specified group when
mode is set to 0 in API “_ECAT_Slave_User_Motion_Control_Set_Type”.
Note: The maximum data for PAC is 800 and 100 for motion control card.
Parameter
Name Data type Property Description
CardNo U16
Number Card No.
GroupNo U16
Number Group No.
Counter U16*
Value
Data number that has not been processed
Example
U16 Status;
U16 CardNo=16, GroupNo=1;
U16 Counter;
Status=_ECAT_Slave_User_Motion_Control_Get_DataCnt (CardNo, GroupNo, &Counter);