EtherCAT Programming Guide EtherCAT Operation Example
March, 2017 3-37
3
(28) Stop the motion
Press the STOP key (see figure 3.6.2.4) to decelerate to stop:
RetCode = _ECAT_Slave_Motion_Sd_Stop(gESCCardNo, gNodeID[0], gSlotID[0], Tdec);
In this example, the motion decelerates to stop, which is to stop the motion gradually
according to the set deceleration time.
(29) Exit program
Press the Exit key to exit and close the program.
Execute “_ECAT_Master_Reset” and “_ECAT_Master_Close” to exit the function. Detailed
description about these two API is presented in section 3.1.2 Exit program.