EasyManua.ls Logo

Delta EtherCAT - Page 62

Delta EtherCAT
481 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
EtherCAT Programming Guide EtherCAT Operation Example
March, 2017 3-41
3
(3) Digital output
To output data via the digital output module, users have to use R1-EC-70X2 module and
execute the program below:
RetCode = ECAT_Slave_DIO_Set_Output_Value(gESCCardNo,gNodeID,gSlotID,
gValue);
The status of the digital output module can be obtained through the following program:
RetCode = _ECAT_Slave_DIO_Get_Output_Value(gESCCardNo,gNodeID,gSlotID,
&gValue);
As shown in the below figure, DO0 ~ DO15 are the output signals of Y00 ~ Y15 of
R1-EC-70X2 module Port 0.
Figure 3.8.3.3
(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.

Table of Contents

Related product manuals