MODBUS TCP Master Driver

Connection Configuration

Communication Settings

Supported Devices

Edit function code and the boundary

## MODBUS TCP Master Driver

The MODBUS TCP Master Driver is used to connect the Display to a MODBUS-compatible External Device for general purpose.

The function code and boundary required for communication can be changed according to the External Device.

## Connection Configuration

- 1:1 Connection

- 1:n connection

NOTE

- Maximum number of External DeviceExternal Equipments is 64

- n: 1 Connection

NOTE

- The number of connectable Displays depends on the External Device.

## Communication Settings

Examples of communication settings of the Display and the External Device, recommended by Pro-face, are shown.

WARNING

UNINTENDED EQUIPMENT OPERATION

Read and understand the instructions in this section to ensure data is properly transferred.

## Supported Devices

Range of supported device address is shown in the table below. Please note that the actually supported range of the devices varies depending on the External Device to be used. Please check the actual range in the manual of your External Device.

WARNING

UNINTENDED EQUIPMENT OPERATION

- Do not simultaneously write to the same register from Display and External Device program.
- Do not write 16-bit word values to registers being accessed in a bitwise manner.

## Edit function code and the boundary

You can manually set each function code and the boundary for one communication. The function code and its boundary settings are up to 20. When using this function, from [Preferred Frame Length], select [Custom].

Setup Items | Setup Description
Start Address | Set the start address of the device.
Range | Set the range of the device specified in the start address.
Read | Set the function codes to be used for read and the read boundary in one communication. [Function Code]: The function code is assigned by the specified start address. [Boundary]: The boundary depends on the device. Refer to the following table for details.
Write | Set the function code to be used for write and the write boundary in one communication. [Function Code]/[Boundary]: The function code and boundary depends on the device. Refer to the following table for details.

NOTE

- When [Custom] is selected, use the following function codes.

  Device | Read "Function Code (Boundary)" | Write (Multiple) "Function Code (Boundary)" | Write (Single) "Function Code (Boundary)"
  Coil | 01 (2000) | 0F: Force Multiple Coils (800) | 05: Force Single Coil (Fixed to 1)
  Discrete Input | 02 (2000) | Disabled | Disabled
  Input Register | 04 (125) | Disabled | Disabled
  Holding Register | 03 (125) | 10: Preset Multiple Register (100) | 06: Preset Single Register (Fixed to 1)

- If the set device address is disabled to write, you cannot set the write function code and boundary.
- When you select the function code "05" or "06", the write boundary will be fixed to "1", and cannot be changed.