Obtain IP parameters via Flash or DHCP
TR-Electronic GmbH 2020, All Rights Reserved
Printed in the Federal Republic of Germany
Page 78 of 91
TR-ECE-BA-GB-0163 v03
10/07/2020
11.1.2 Attribute 5, Interface Configuration
The
Interface Configuration
attribute contains the configuration parameters (IP parameters)
required to operate the measuring system as a TCP/IP node. IP parameters cannot be set individually
to avoid incomplete or incompatible configurations. Perform changes as follows: read the Get service
with the
Interface Configuration Attribute
, change the desired parameters, and then write
the parameters with the Set service.
Name
Description
IP address
Sets the IP address, e.g. 0x0501A8C0 for 192.168.1.5
Network mask
Set the subnet mask
Gateway address
Sets the IP address for the default gateway
Name server
0, is not supported
Name server 2
0, is not supported
Domain name
Sets the domain name, max. 48 characters
11.1.2.1 Obtaining IP Parameters
During the start-up phase of the measuring system, the saved configuration is read from “Attribute 5,
Interface Configuration” (Page 78), the saved value is read from “Attribute 3, Configuration Control”
(Page 77) and the hardware switch value is read from (Page 29 ) and evaluated as follows:
Config. Control
Hardware
switch
Action
Description
0x00
0x00
FLASH active
A FLASH provides
the configuration.
not relevant
0x01 … 0xFE
Switch active
IP Address: 192.168.1.<Switch position>
Subnet mask: 255.255.255.0
Default Gateway: 192.168.1.254
not relevant
0xFF
DHCP request
The configuration is obtained from a
DHCP server. DHCP requests are sent
until a response is received.
0x02
0x00
other
–
none
Inadmissible!
The request is responded to with error
code 0x20.