AL4042
Remote I/O module 16 DI
22
9.1.3 Fieldbus: Configuring a ModbusTCP interface
Changes to the [byteswap] parameters will only take effect after the device has been restarted.
Available parameters:
Name
Description
Value range
Access
[dhcp]
Status of the DHCP client of the de-
vice
• Static IP: IP parameters are set by the
user
• DHCP: IP parameters are set by a
DHCP server in the network (default)
• BOOTP: IP parameters are set via the
Bootstrap Protocol
rw
1
[ipaddress]
IP address of the ModbusTCP inter-
face
e.g. 192.100.0.10
• 192.168.1.250 (default)
rw
1
[subnetmask]
Subnet mask of the network segment
e.g. 255.255.255.0
• 255.255.255.0 (default)
rw
1
[ipdefaultgateway]
IP address of the network gateway
e.g. 192.100.0.1
• 0.0.0.0 (default)
rw
1
[macaddress]
MAC address of the Ethernet inter-
face
e.g. 00:02:01:0E:10:7F
ro
2
[hostname]
Name of the device in the Mod-
busTCP network
e.g. al4x4x
ro
2
[connectiontimeout]
Set timeout for interruption of the
fieldbus connection (value in millisec-
onds)
• 20: 20 ms
…
• 31000: 31000 ms (default)
…
• 60000: 60000 ms
rw
1
[byteswap]
Arrangement of the bytes in data
WORD
• 0: Big Endian (default)
• 65535: Little Endian
rw
1
1
read and write
2
read only
To configure the ModbusTCP interface:
Requirements:
ü
The parameter setting software has been started.
ü
The connection to the device has been established.
u
Select the [fieldbussetup] > [network] menu.
w
The menu page shows the current settings.
u
Set IP parameters of the interface.
u
Select [fieldbussetup] > [configuration] in the menu.
u
Set fieldbus-specific parameters.
u
Write the changed values to the device.
u
Restart the device.
w
The ModbusTCP interface is configured
9.1.4 Fieldbus: Reading the connection status
Available information: