EtherCAT Programming Guide EtherCAT CoE Standard Communication
March, 2017 7-5
7
7.3 _ECAT_Slave_SDO_Quick_Send_Message
Syntax
U16 PASCAL _ECAT_Slave_SDO_Quick_Send_Message(U16 CardNo, U16 NodeID,
U16 SlotNo, U16 Index, U16 SubIndex, U16 DataSize, U8 *Data)
Purpose
This is for issuing SDO command (CANopen) to the slave without waiting for the response.
Parameter
Name Data type Property Description
CardNo U16 Number (No.) Card No.
NodeID U16 Number (No.) Node ID
SlotNo U16 Number (No.) Slot ID
Index U16 Index The index of CANopen object dictionary
SubIndex U16 Subindex The subindex of CANopen object dictionary
DataSize U16 byte Data size of the received message. Unit: Byte
Data U8* data Data of the received message
Example
U16 Status;
U16 CardNo=16,NodeID=1,SlotNo=0;
U16 Index=0x6040, SubIndex=0, DataSize=4;
U8 Data[4] = {0};
Status = _ECAT_Slave_SDO_Quick_Send_Message (CardNo, NodeID, SlotNo,
Index, SubIndex, DataSize, &Data[0]);