Group Motion Control EtherCAT Programming Guide
17-12 March, 2017
17
17.8 _ECAT_Slave_User_Motion_Control_Svon
Syntax
U16 PASCAL_ECAT_Slave_User_Motion_Control_Svon (U16 CardNo, U16 GroupNo,
U16 ON_OFF)
Purpose
This is for enabling/disabling all axes in the group. Except the API
“_ECAT_Slave_User_Motion_Control_Set_Type” (see section 17.3), all axes of the group have
to be enabled before use. Users can use either “_ECAT_Slave_Motion_Set_Svon” or
“_ECAT_Slave_User_Motion_Control_Svon” to enable axes in batch.
Parameter
Name Data type Property Description
CardNo U16
Number Card No.
GroupNo U16
Number Group No.
ON_OFF U16 Option
0: Disable the axes
1: Enable the axes
Example
U16 Status;
U16 CardNo=16, GroupNo=1;
U16 ON_OFF=1;
Status=_ECAT_Slave_User_Motion_Control_Svon (CardNo, GroupNo, ON_OFF);