EtherCAT Programming Guide EtherCAT Operation Example
March, 2017 3-53
3
Enable the differential signal output function of channel 2:
rt = _ECAT_Compare_Set_Channel1_Output_Enable (gu16_CardNo, 1);
// 0: Disable
// 1: Enable
(6) Command display and testing operations:
Figure 3.11.2.8
Reset: Press this key to reset the command.
P2PMove: Press this key to move forward or backward. And the generated pulse will be
compared by the motion card.
STOP: Press this key to stop the motion.
Command: Display the motion’s current position.
(7) 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.