EtherCAT CoE Standard Communication
7.11 _ECAT_Slave_PDO_Get_Information
Syntax
U16 PASCAL _ECAT_Slave_PDO_Get_Information (U16 CardNo, U16 NodeID, U16 SlotNo,
7
U16 IOType, U16 *ODCnt, U16 *StartIndex)
Purpose
This is for acquiring the basic information of each slave device PDO.
Parameter
Name
CardNo
NodeID
SlotNo
IOType
ODCnt
StartIndex
Example
U16 Status;
U16 CardNo=16, NodeID = 1 ,SlotNo = 0, IOType = 0;
U16 ODCnt, StartIndex;
Status = _ECAT_Slave_PDO_Get_Information(CardNo, NodeID, SlotNo, IOType,
&ODCnt, &StartIndex);
7-14
Data type
Property
U16
Number
U16
Number
U16
Number
U16
Type
U16*
Quantity
U16*
Index
Description
Card No.
Node ID
Slot ID
OD format to be read
0: Master Rx
1: Master Tx
OD number of this IO type in the slave.
The starting index of the slave device.
EtherCAT Programming Guide
March, 2017