5. CONFIGURATION
Setting Description
Default
Value
Options
Protocol Protocol selection TCP
RTU via TCP
TCP
Table 115: MODBUS Client settings
Notes:
%Q Start Address of Diagnostics Area: this field is limited by the size of output variables addressable memory (%Q) at
CPU, which can be found in section Memory.
Default Value: the default value cannot be defined for the %Q Start Address of Diagnostics Area field since the creation
of a protocol instance can be made at any moment within the application development. The MasterTool IEC XE software itself
allocate a value from the range of direct representation output variables (%Q), still unused.
The diagnostics and MODBUS commands are described in Table 106.
5.5.8.2.2. Device Configuration – Configuration via Direct Representation (%Q)
The configuration of the devices, viewed in figure below, comprises the following parameters:
Figure 76: Configuring MODBUS Client
Configuration Description
Factory
default
Options
Name Name of the instance MODBUS_Device
Identifier, according to IEC
61131-3
Destination IP IP address of the server 0. 0. 0.1 1.0.0.1 to 223.255.255.255
TCP Port TCP Port 502 2 to 65534
Mapping Disabling
Initial address used to dis-
able MODBUS relations
-
Any address of the %Q area,
limited by the CPU model
Table 116: Configuration of Client Devices
Notes:
Instance Name: this field is the identifier of the device, which is checked according to IEC 61131-3, i.e. it does not allow
spaces, special characters and starting with numeral character. It is limited to 24 characters.
140