Ecat_Slave_Sdo_Read_Response - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

7.5 _ECAT_Slave_SDO_Read_Response

Syntax
U16 PASCAL _ECAT_Slave_SDO_Read_Response (U16 CardNo, U16 NodeID,
U16 SlotNo, U16* Done, U8* Data, U32* ErrorCode)
Purpose
This is for reading the returned data from the slave.
Parameter
Name
CardNo
NodeID
SlotNo
Done
Data
ErrorCode
Example
U16 Status;
U16 CardNo=16,NodeID=1,SlotNo=0;
U16 Index=0x6040, SubIndex=0, DataSize=4;
U8 Data[4] = {0};
U32 ErrorCode;
Status = _ECAT_Slave_SDO_Read_Response (CardNo, NodeID, SlotNo,
&Done, Data, &ErrorCode);
March, 2017
Data type
Property
U16
Number
U16
Number
U16
Number
U16*
Status
U8
Data
U32*
Number
EtherCAT CoE Standard Communication
Description
Card No.
Node ID
Slot ID
0: Completed
1: In execution
2: Error
Data of the received message
Error code
7
7-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents