EtherCAT Programming Guide Group Motion Control
March, 2017 17-13
17
17.9 _ECAT_Slave_User_Motion_Control_Get_Alm
Syntax
U16 PASCAL_ECAT_Slave_User_Motion_Control_Get_Alm (U16 CardNo, U16 GroupNo,
U16 *Alm)
Purpose
This is for acquiring the current alarm status of the specified group.
Parameter
Name Data type Property Description
CardNo U16
Number Card No.
GroupNo U16
Number Group No.
Alm U16*
Status
Alarm description
0: No alarm occurs
1: Alarm occurs in one of the axes in the group
Example
U16 Status;
U16 CardNo=16, GroupNo=1;
U16 Alm;
Status=_ECAT_Slave_User_Motion_Control_Get_Alm (CardNo, GroupNo, &Alm);