EtherCAT Programming Guide
(3) Digital input (Slave DI)
To obtain the data sent from the digital input module, users have to use R1-EC-60X2
module and execute the program below:
RetCode = _ECAT_Slave_DIO_Get_Input_Value(gESCCardNo, gNodeID, gSlotID,
&gValue);
As shown in figure 3.7.2.3, no signal input is displayed in R1-EC-60X2 module.
(4) 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.
March, 2017
Figure 3.7.2.3
EtherCAT Operation Example
3
3-39