Ecat_Slave_Sdo_Get_Errorcode - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

7.7 _ECAT_Slave_SDO_Get_ErrorCode

Syntax
U16 PASCAL _ECAT_Slave_SDO_Get_ErrorCode(U16 CardNo, U16 NodeID, U16 SlotNo,
U32* ErrorCode)
Purpose
Aquire 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.
Parameter
Name
CardNo
NodeID
SlotNo
ErrorCode
Example
U16 Status;
U16 CardNo=16,NodeID=1,SlotNo=0;
U32 ErrorCode;
Status = _ECAT_Slave_SDO_Get_ErrorCode(CardNo, NodeID, SlotNo, &ErrorCode);
March, 2017
Data type
Property
U16
Number
U16
Number
U16
Number
U32*
Number
EtherCAT CoE Standard Communication
Description
Card No.
Node ID
Slot ID
Error code
7
7-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents