2 ecatgetslaveid (fun), Ecatgetslaveid (fun), Ecatgetslaveid (fun) ( 109) – Lenze EtherCAT control technology User Manual
Page 109: Control technology | ethercat communication manual
![background image](/manuals/565926/109/background.png)
DMS 3.1 EN 01/2011 TD17
L
109
Control technology | EtherCAT communication manual
EtherCAT function libraries
Functions for the network management
9.6.2
ecatGetSlaveId (FUN)
Inputs (VAR_INPUT)
Return value
Example
Function:
This function shows the slave ID of the slave the station address of
which (EtherCAT address/physical address) is configured in the
control configuration file (XML). The slave ID is used by the
function.
Library:
AtEm.lib
Visualisation:
-
Identifier/data type
Meaning/possible settings
wSlaveStationAddress
WORD
Station address of the slave
• Designation in the EtherCAT configurator: "EtherCAT address"
• Designation in the EtherCAT specification and the parameter reference: "Physical
address".
Identifier/data type
Meaning/possible settings
ecatGetSlaveId
DWORD
Slave ID of the slave specified under wSlaveStationAddress.
dwSlaveId := ecatGetSlaveId (1005);