1:1 Connection
1:n Connection
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.
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.
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
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). |
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 |
Range |
First |
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 |
300001+i |
i=0 to 65535 |
300001 |
- |
- |
- |
- |
- |
Input register |
300001+i,j |
i=0 to 65535 j=0 to15 |
300001,00 |
- |
- |
- |
- |
- |
Holding register |
400001+i |
i=0 to 65535 |
400001 |
%MWi |
i=0 to 65535 |
%MW00000 |
i=1 to 65536 |
%MW00001 |
Holding register |
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 |