EtherCAT Programming Guide Master Initialization
March, 2017 6-9
6
6.7 _ECAT_Master_Get_Slave_Info
Syntax
U16 PASCAL _ECAT_Master_Get_Slave_Info(U16 CardNo, U16 SeqID, U16 *NodeID, U32
*VenderID, U32 *ProductCode, U32 *RevisionNo, U32 *DCTime)
Purpose
This is for acquiring EtherCAT slave information.
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
SeqID U16 Number Module’s physical sequence ID.
NodeID U16* Number The module's corresponding node ID.
VenderID U32* Number Vendor ID.
ProductCode U32* Number Product code.
RevisionNo U32* Number Version No.
DCTime U32* Time DC time of the module.
Example
U16 Status;
U16 CardNo=16, SeqID =2, NodeID =2;
U32 VenderID, ProductCode, RevisionNo, DCTime;
Status = _ECAT_Master_Get_Slave_Info(CardNo, SeqID, NodeID , &VenderID, &ProductCode,
&RevisionNo, & DCTime);
Description
EtherCAT master has certain restriction on the supported modules. If your slave module (not
Delta products) is not supported by the master station, you should firstly obtain this slave
module’s Vender ID, product code and revision No. Then, contact Delta and we will help you to
solve the issue. To obtain the aforementioned information, please open the XML document of the
slave module via text editor. (See Figure 6.7.1)
VenderID: 1A05 or 1DD
ProductCode: 00005500
RevisionNo: 00100000