Connection Configuration

Communication Settings

Cable Diagram

Supported Devices

Supported Function Code

IEC61131 address syntax

## Connection Configuration

- 1:1 Connection

- 1:n Connection

  NOTE

  - Maximum number of External Devices is 31.

## 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.

## Cable Diagram

The following cable diagrams may be different from cable diagrams recommended by External Device Manufacturer.

Please be assured there is no operational problem in applying the cable diagram shown in this manual.

- The FG pin of the External Device body must be grounded according to your country's applicable standard. Refer to your External Device manual for details.

- SG and FG are connected inside the Display. When connecting the External Device to SG, design your system to avoid short-circuit loops.

- Connect an isolation unit if the communication is not stable due to noise or other factors.

## 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.

### Supported Function Code

Below is the list of Supported Function Code.

Function Code (Hex) | Description
--- | ---
FC01 (0x01) | Reads the ON/OFF status of coils (0X references) in the slave.
FC02 (0x02) | Reads the ON/OFF status of discrete inputs (1X references) in the slave.
FC03 (0x03) | Reads the binary content of holding registers (4X references) in the slave.
FC04 (0x04) | Reads the binary content of input registers (3X references) in the slave.
FC05 (0x05) | Forces a single coil (0X references) to either ON or OFF
FC06 (0x06) | Presets a value into a single holding register (4X references).
FC15 (0x0F) | Forces each coil (0X references) in a sequence of coils to either ON or OFF.
FC16 (0x10) | Presets values into a sequence of holding registers (4X references).

NOTE

- FC15 / FC16 will be used for writing. In case if the connected controller do not support these function codes, then FC05 / FC06 will be used.

### IEC61131 address syntax

The following table gives the equivalences between the Modbus syntax and the IEC61131 syntax.

Device | Modbus address syntax | IEC61131syntax
--- | --- | ---
Format | 0-based | 1-based
Format | Range | First element | Range | First element | Range | First element
Coil | 000001+i | i=0 to 65535 | 000001 | %Mi | i=0 to 65535 | %M00000 | i=1 to 65536 | %M00001
Discrete Input | 100001+i | i=0 to 65535 | 100001 | - | - | - | - | -
Input register (word) | 300001+i | i=0 to 65535 | 300001 | - | - | - | - | -
Input register (word bit) | 300001+i,j | i=0 to 65535 j=0 to15 | 300001,00 | - | - | - | - | -
Holding register (word) | 400001+i | i=0 to 65535 | 400001 | %MWi | i=0 to 65535 | %MW00000 | i=1 to 65536 | %MW00001
Holding register (word bit) | 400001+i,j | i=0 to 65535 j=0 to15 | 400001,00 | %MWi:Xj | i=0 to 65535 j=0 to 15 | %MW00000:X00 | i=1 to 65535 j=0 to15 | %MW00001:X00

NOTE

- Please refer to the precautions on manual notation for icons in the table.
  Supported Devices Symbol and Terms
- The two areas 100000 and 300000 are not accessible with the IEC syntax.
- Once you change the project which you have setup Discrete Input Register to IEC 61131 Syntax, the address will be invalid.