In the property sheet of the ModbusTcpGateway (Figure 16), you configure the TCP/IP address used to connect to the Modbus gateway, and review other default network values.
Note the ModbusTcpGateway has the standard collection of network components, such as for status, health, monitor, tuning policies, and poll scheduler. For more details, see “Common network components” in the Drivers Guide.
In addition, the following properties have special importance:
“Global” Modbus device defaults, which (as needed) can be overridden in the Modbus Config (client device level) slot of any child ModbusTcpGatewayDevice:
Float Byte Order
Specifies the byte-order used to assemble or receive floating-point (32-bit) values in messages.
Long Byte Order
Specifies the byte-order used to assemble or receive long integer (32-bit) values in messages.
Use Force Multiple Coil
Specifies whether to use function code 15 (Force Multiple Coils) instead of function code 05 (Force Single Coil) when writing to coils. The default is false, where function code 05 (Force Single Coil) is used.
Use Preset Multiple Register
Specifies whether to use function code 16 (Preset Multiple Registers) instead of function code 06 (Preset Single Register) when writing to registers. The default is False, where function code 06 (Preset Single Register) is used.
Ip Address
Specifies the IP address of the “TCP/Ethernet-side” of the Modbus TCP/serial gateway. Must be unique from all other devices
on the IP network. The default IP address is “###.###.###.###”, meaning that no IP address is assigned. Initially this as a blank placeholder—enter the IP address used to reach the TCP
side of the Modbus gateway.
Port
Specifies the TCP port used by Modbus message transactions. 502 is the “standard” Modbus TCP port. Leave at the default (502) unless the “TCP/Ethernet-side” of the Modbus TCP/serial gateway uses another TCP port.
Other ModbusTcpGateway properties such as “Retry Count”, “Response Timeout”, and “Max Fails Until Device Down” are typically left at defaults, unless particular reasons dictate change.
Double-click the ModbusTcpGateway for the default Modbus Tcp Gateway Device Manager view, which you can use to add new ModbusTcpGatewayDevice children. For general information, see “About the Device Manager” in the Drivers Guide. See Modbus Tcp Gateway Device Manager notes for additional details.
Copyright © 2000-2016 Tridium Inc. All rights reserved.