EtherCAT Programming Guide EtherCAT Operation Example
March, 2017 3-3
3
3.1 EtherCAT initialization
3.1.1 Function list
Function name
_ECAT_Master_Open
_ECAT_Master_Get_CardSeq
_ECAT_Master_Initial
_ECAT_Master_Get_SlaveNum
_ECAT_Master_Reset
_ECAT_Master_Close
_ECAT_Master_Check_Initial_Done
Properties
Hardware
EtherCAT RTX (PAC) EtherCAT motion card
Supported
Y Y
3.1.2 Application examples
Program interface
Figure 3.1.2.1
(1) Activate interface card
Figure 3.1.2.2
Press the OpenCard key to execute the following program:
RetCode = _ECAT_Master_Open(&gESCExistCards);
/* The variable, gESCExistCards, will return EtherCAT motion card number. */