EtherCAT Operation Example EtherCAT Programming Guide
3-38 March, 2017
3
3.7 Digital input module
3.7.1 Function list
Function name
_ECAT_Slave_DIO_Get_Input_Value
Properties
Hardware EtherCAT RTX (PAC) EtherCAT motion card
Supported
Y Y
3.7.2 Application examples
Program interface
Figure 3.7.2.1
(1) Activate and initialize interface card
Press the Initial Card key (as shown in figure 3.7.2.1) to start initializing the interface card.
Press the Find Slave key (see figure 3.7.2.1) to start searching the connecting modules.
For more information about the interface card initialization, please see “Activate interface
card” and “Initialize interface card” in section 3.1.2.
(2) Set Node ID and Slot ID for the module and enable contact status display
Figure 3.7.2.2
Select Node ID and Slot ID and check the Timer box to display the contact status.
Set NodeID: Specify the Node ID to be executed.The parameter “NodeID” and “SlotID” in
the API function.
Timer: Check the Timer box to display the current contact status.