Printed in the Federal Republic of Germany
TR-Electronic GmbH 2018, All Rights Reserved
11/12/2019
TR - ELA - BA - DGB - 0027 - 03
Page 103 of 167
5.4 Address assignment
When the measuring system is delivered, its
MAC address
and the
device type
are stored by
default. The MAC address is also printed on the connection housing of the device, e.g.
"00-03-12-04-00-60".
The name for the device type assigned by TR-Electronic is "
TR Linear EPN2
“.
Generally this information can also be read out with the engineering tool during a so-called
bus scan
.
Before an IO device can be addressed by an IO controller, it must have a
device name
, as the IP
address is permanently assigned to the device name. This procedure has the advantage that names
are easier to handle than complex IP addresses.
The assignment of a device name for a specific IO device can be compared to setting the PROFIBUS
address for a DP slave.
When delivered, the measuring system has no device name stored. Only after the assignment of a
device name with the engineering tool is the measuring system addressable for an IO controller, e.g.
for the transmission of configuration data (e.g. the IP address) during start-up or for useful data
exchange in cyclical operation.
The name assignment is carried out before commissioning by the engineering tool via the DCP
protocol used by default for PROFINET IO field devices.
As PROFINET devices are based on the TCP/IP protocol, they still need an IP address for Ethernet
operation. When delivered, the measuring system has the default IP address "0.0.0.0" stored.
If a bus scan is performed as specified above, in addition to the MAC address and device type the
device name and IP address are also displayed in the network node list. Mechanisms are generally
provided here by the engineering tool for entering the IP address, subnet mask and device name.
Procedure for assignment of device name and address for an IO device
● Define device name, IP address and subnet mask
– Device name is assigned to an IO device (MAC address)
● Transfer device name to the device
● Upload configuration to the IO controller
IO controller assigns the IP addresses to the device names during start-up. The assignment of the IP
address can also be switched off. In this case the existing IP address in the IO device is used.
Device replacement
In the event of a device replacement without neighborhood detection, it is necessary
to ensure that the previously assigned device name is also assigned to the new
device. This ensures that the new MAC address and the previous IP address can be
correctly assigned at system start-up.
The IO controller automatically performs a parameterization and configuration of the
new device. The cyclical useful data exchange is then restored.
The measuring system detects its neighbors through the integrated neighborhood
detection functionality. Field devices which support this function can be replaced in
the event of a fault without any additional resources or prior knowledge. This function
must also be supported by the controller and taken into account in the configuration.