Delta EtherCAT Programming Manual page 123

Table of Contents

Advertisement

EtherCAT CoE Standard Communication
An OD (Object Dictionary) represents different parameters for the slaves, such as motor's
current position. And each OD consists of one index and one sub-index, which signify the
communication address in hexadecimal format and property respectively.
7
PDO (Process Data Object) is the communication method defined by CANopen. It is the cyclic
communication between the Master and all Slaves. Before the communication (initialization)
starts, the Master will define one PDO mapping table, which consists of several ODs. Then, the
PDO mapping table will be sent to each Slave according to the set cycle on a regular basis. In
the same cycle, the Slave executes the command or sends the status to the Master in
accordance with the PDO mapping table.
SDO (Service Data Objects) is also the communication method defined by CANopen. Different
from PDO, the communication time is determined by users. The Slave gives response only when
the Master sends a request. That is to say, SDO cannot issue the command frequently. However,
users can read/write any OD that is not in PDO mapping table via SDO.
API list of EtherCAT CoE standard communication
_ECAT_Slave_SDO_Send_Message
_ECAT_Slave_SDO_Read_Message
_ECAT_Slave_SDO_Quick_Send_Message
_ECAT_Slave_SDO_Quick_Read_Message
_ECAT_Slave_SDO_Read_Response
_ECAT_Slave_SDO_Wait_All_Done
_ECAT_Slave_SDO_Get_ErrorCode
_ECAT_Slave_SDO_Check_Done
_ECAT_Slave_PDO_Get_OD_Data
_ECAT_Slave_PDO_Set_OD_Data
_ECAT_Slave_PDO_Get_Information
_ECAT_Slave_PDO_Get_Detail_Mapping
_ECAT_Slave_PDO_Get_Rx_Data
_ECAT_Slave_PDO_Get_Tx_Data
_ECAT_Slave_PDO_Set_Tx_Detail_Data
7-2
Function name
Description
Issue SDO command (CANopen) to the slave
Acquire the current SDO data (CANopen) of the slave
Issue SDO command (CANopen) to the slave without
waiting for the response
Issue SDO read command (CANopen) to the slave
without waiting for the response
Read the returned data from the slave.
Wait multiple slaves to complete all the SDO
commands.
Acquire the error code of ERR_ECAT_SDO_Return
that returned during the execution of SDO
Send_Message or Read_Message. Please refer to
CANopen protocol or the definition of each device for
error code.
Check if the specified slave has completed all the
SDO commands
Read the data of an OD index in the PDO mapping
Send the data of an OD index in the PDO mapping
Acquire the basic information of each slave device
PDO.
Acquire the details of PDO mapping in the slave
device
Acquire all slave Rx data of the PDO mapping
Acquire all slave Tx data of the PDO mapping
Configure all slave Tx data of the PDO mapping
EtherCAT Programming Guide
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents