Ecat_Autoconfig_Get_Nodeid_Alias - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Master Configuration

5.11 _ECAT_Autoconfig_Get_NodeID_Alias

Syntax
5
U16 PASCAL _ECAT_Autoconfig_Get_NodeID_Alias (U16 CardNo, U16 RealNodeID, U16
*MapNodeID)
Purpose
This is for acquiring the user-defined station alias of each node.
*Set after initialization.
Note: This API can only be executed after the EtherCAT Master has been started
( "_ECAT_Master_Open" in section 6.1). To use user-defined station alias of each node
( "_ECAT_Autoconfig_Set_NodeID_Alias" in section 5.10), you will need to apply API
"_ECAT_Autoconfig_Save_NodeID_Alias" (in section 5.12) to save specified alias to each slave device.
Parameter
Name
CardNo
RealNodeID
MapNodeID
Example
U16 Status;
U16 CardNo=16,NodeID=1;
U16 MapNodeID;U16 Cardnum=0;
Status = _ECAT_Master_Open (&Cardnum);
if (Cardnum>0)
{
Status = _ECAT_Master_Get_CardSeq (0, &CardNo);
Status = _ECAT_Autoconfig_Get_NodeID_Alias (CardNo, NodeID, &MapNodeID);
}
5-14
Data type
Property
U16
Number
U16
Number
U16*
Number
Description
Card No.
Node ID
Specify Node ID
EtherCAT Programming Guide
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents