Fuji HMI Modbus Settings
Fuji HMI Modbus Settings
MODBUS
30.1 PLC Connection
30.1 PLC Connection 30-1
Serial Connection
The TS works as the Modbus RTU master station. It can be connected with devices that support Modbus RTU communication.
Ethernet Connection
The TS works as the Modbus TCP/IP master station. It can be connected with devices that support Modbus TCP/IP slave
communication.
PLC Selection on the Editor Applicable Device TCP/IP UDP/IP Port No.
MODBUS TCP/IP (Ethernet) Modbus TCP/IP slave device
MODBUS TCP/IP (Ethernet) Sub Station Modbus TCP/IP slave device 502 *
MODBUS TCP/IP (Ethernet) EXT Format Modbus TCP/IP slave device
Communication Setting
Editor
Communication setting
(Underlined setting: default)
*1 Format setting on V-SFT and function code for the Modbus communication
PLC
Make communication settings of the connected device according to the settings made for the TS. For more information on
settings, refer to the instruction manual issued by the manufacturer.
The available setting range of device memory varies depending on the PLC model. Be sure to set within the range available for
the PLC to be used. Use [TYPE] when assigning indirect device memory for macro programs.
Setting example
When specifying the PV (current value) RAM address “3814H” for Modbus RTU connection with Yamatake’s “SDC35”:
1) Convert the hexadecimal address into the decimal one.
3814HEX 14356DEC
2) Add “1” to the decimal address.
14356 + 1 = 14357DEC
3) On the editor, specify “14357” for the holding register (4).
30-4 30. MODBUS
Communication Setting
Editor
Communication setting
(Underlined setting: default)
[Common] [Individual]
Common Used to set the communication format commonly to all station numbers.
Discrete Used to set a communication format for respective station numbers.
Detail Displays the [Format Detail Display] dialog.
No. Displays the station number of the connected device.
Station Name Sets and displays the station name of the connected device.
30.1 PLC Connection 30-5
Register the communication format for each of the specified address range. Make the setting according to the device
specification.
Read Command Set the communication format used for reading from or writing into the specified address range.
[Read Command] / [Write Command]
Maximum Read Value Specify the function code *1 to use for Modbus communication.
The available function codes vary depending on the device. Refer to the instruction manual of the connected
device as well as the table shown below *1, and set the options on the dialog correctly.
Write Command
[Maximum Read Value] / [Maximum Write Value]
Maximum Write Value Set the maximum value to be read or written at one time. Make the setting according to the device
specification.
For details on the maximum value that can be set for each device memory by using V-SFT, see the table shown
below. *1
Specify the ordering of data.
Order of the data
Little Endian / Big Endian
Displays the number of currently registered formats.
Number of the
Default: 4 (deletion impossible)
registered format
Max.: 255
*1 Device memory setting on V-SFT and function code for the Modbus communication
Adding a format
To add a format, select a device memory, right-click on the selected device memory and select [Add].
Add
Right click
Setting example
When connecting a device which has the following specifications to station number 1:
Max.
Function Code Operation Communication Available Address Example
Points
HEX: 0000 to 00FF DEC: 1 to 256 (1)
01H Read coil 4000
HEX: 2EE0 to 4E1F DEC: 12001 to 20000 (2)
05H Write single coil 1 HEX: 0000 to 00FF DEC: 1 to 256 (1)
0FH Write multiple coils 1000 HEX: 2EE0 to 4E1F DEC: 12001 to 20000 (2)
HEX: 0000 to 103F DEC: 1 to 8000 (3)
03H Read holding register 200
HEX: 2EE0 to 2FDF DEC: 12001 to 12256 (4)
06H Write single holding register 1 HEX: 2EE0 to 2FDF DEC: 12001 to 12256 (4)
Write multiple holding
10H 50 HEX: 0000 to 1F3F DEC: 1 to 8000 (3)
registers
Read/write coil
(1) 0000 to 00FF (HEX)
- Register “01H” (function code for reading) to [Read Command] or “05H” (function code for writing) to [Write
Command].
- The maximum number of communication points to be read is 4000. Accordingly, register “2000 bits” for
[Maximum Read Value] on V-SFT.
- The maximum number of communication points to be written is 1. Accordingly, register “1 bit” for [Maximum
Write Value] on V-SFT.
PLC
Make communication settings of the connected device according to the settings made for the TS. For more information on
settings, refer to the instruction manual issued by the manufacturer.
The contents of “Available Device Memory” are the same as those described in “30.1.1 MODBUS RTU”.
30-8 30. MODBUS
Communication Setting
Editor
Communication setting
(Underlined setting: default)
Format setting
Make communication format settings for each connected device. (See page 30-2.)
PLC
Make communication settings of the connected device according to the settings made for the TS. For more information on
settings, refer to the instruction manual issued by the manufacturer.
The contents of “Available Device Memory” are the same as those described in “30.1.1 MODBUS RTU”.
30.1 PLC Connection 30-9
Communication Setting
Editor
Make the following settings on the editor. For more information, see “1.3.2 Ethernet Communication (TS1100Si/TS1070Si
Only)”.
IP address for the TSi unit
Port number for the TSi unit at [Communication Setting] in the [PLC Properties] window ([Hardware Setting])
PLC’s IP address and port number for [PLC Table] under [Target Settings] in the [PLC Properties] window ([Hardware
Setting])
[Format Setting] in the [PLC Properties] window ([Hardware Setting])
Format setting
Make communication format settings for each connected device. (See page 30-2.)
* If the maximum number of words to be read or written varies among the address ranges, select [MODBUS TCP/IP (Ethernet) EXT
Format] for [Series] in the [Connection Device Selection] dialog and make extended format settings. For more information, see
page 30-10.
PLC
Make communication settings of the connected device according to the settings made for the TSi. For more information on
settings, refer to the instruction manual issued by the manufacturer.
The available setting range of device memory varies depending on the PLC model. Be sure to set within the range available for
the PLC to be used. Use [TYPE] when assigning indirect device memory for macro programs.
Communication Setting
Editor
Make the following settings on the editor. For more information, see “1.3.2 Ethernet Communication (TS1100Si/TS1070Si
Only)”.
IP address for the TSi unit
Port number for the TSi unit at [Communication Setting] in the [PLC Properties] window ([Hardware Setting])
PLC’s IP address and port number for [PLC Table] under [Target Settings] in the [PLC Properties] window ([Hardware
Setting])
[Extended Format Setting] in the [PLC Properties] window ([Hardware Setting])
[Common] [Discrete]
Common Used to set the communication format commonly to all station numbers.
Discrete Used to set a communication format for respective station numbers.
Detail Displays the [Format Detail Display] dialog.
No. Displays the station number of the connected device.
Station Name Sets and displays the station name of the connected device.
Check the box when Modbus TCP/IP communication is to be performed with a device requiring a unit ID
Sub Station specification. When this box is checked, the unit ID can be specified when setting the device memory address.
(Without check: The unit ID is fixed to “FFH”.)
30.1 PLC Connection 30-11
Register the communication format for each of the specified address range. Make the setting according to the device
specification.
Read Command Set the communication format used for reading from or writing into the specified address range.
[Read Command] / [Write Command]
Maximum Read Value Specify the function code*1 to use for Modbus communication.
The available function codes vary depending on the device. Refer to the instruction manual of the connected
device as well as the table shown below*1, and set the options on the dialog correctly.
Write Command
[Maximum Read Value] / [Maximum Write Value]
Maximum Write Value Set the maximum value to be read or written at one time. Make the setting according to the device
specification.
For details on the maximum value that can be set for each device memory by using V-SFT, see the table shown
below.*1
Specify the ordering of data.
Order of the data
Little Endian / Big Endian
Sub Station Check this box when using the sub station function.
Displays the number of currently registered formats.
Number of the
Default: 4 (deletion impossible)
registered format
Max.: 255
*1 Device memory setting on V-SFT and function code for the Modbus communication
Adding a format
To add a format, select a device memory, right-click on the selected device memory and select [Add].
Add
Right click
Example
When connecting a device which has the following specifications to station number 1:
Max.
Function Code Operation Communication Available Address Example
Points
HEX: 0000 to 00FF DEC: 1 to 256 (1)
01H Read coil 4000
HEX: 2EE0 to 4E1F DEC: 12001 to 20000 (2)
05H Write single coil 1 HEX: 0000 to 00FF DEC: 1 to 256 (1)
0FH Write multiple coils 1000 HEX: 2EE0 to 4E1F DEC: 12001 to 20000 (2)
HEX: 0000 to 103F DEC: 1 to 8000 (3)
03H Read holding register 200
HEX: 2EE0 to 2FDF DEC: 12001 to 12256 (4)
06H Write single holding register 1 HEX: 2EE0 to 2FDF DEC: 12001 to 12256 (4)
Write multiple holding
10H 50 HEX: 0000 to 1F3F DEC: 1 to 8000 (3)
registers
Read/write coil
(1) 0000 to 00FF (HEX)
- Register “01H” (function code for reading) to [Read Command] or “05H” (function code for writing) to [Write
Command].
- The maximum number of communication points to be read is 4000. Accordingly, register “2000 bits” for
[Maximum Read Value] on V-SFT.
- The maximum number of communication points to be written is 1. Accordingly, register “1 bit” for [Maximum
Write Value] on V-SFT.
PLC
Make communication settings of the connected device according to the settings made for the TSi. For more information on
settings, refer to the instruction manual issued by the manufacturer.
The contents of “Available Device Memory” are the same as those described in “30.1.4 MODBUS TCP/IP (Ethernet)”.
30-14 30. MODBUS
Modbus TCP/IP (Ethernet) communication with devices which require unit ID specifications
- [Connection Mode]: “1 : n”
192.168.1.1
TSi
Ethernet
TSi
Ethernet
PLC table
Relay
No. 0 Serial communication
station
Communication Setting
Editor
Make the following settings on the editor. For more information, see “1.3.2 Ethernet Communication (TS1100Si/TS1070Si
Only)”.
IP address for the TSi unit
Port number for the TSi unit at [Communication Setting] in the [PLC Properties] window ([Hardware Setting])
PLC’s IP address and port number for [PLC Table] under [Target Settings] in the [PLC Properties] window ([Hardware
Setting])
[Format Setting] in the [PLC Properties] window ([Hardware Setting])
PLC
Make communication settings of the connected device according to the settings made for the TSi. For more information on
settings, refer to the instruction manual issued by the manufacturer.
The available setting range of device memory varies depending on the PLC model. Be sure to set within the range available for
the PLC to be used. Use [TYPE] when assigning indirect device memory for macro programs.
- [Connection Mode]: “1 : n”
RS-422/RS-485
COM1 Name
Dsub 9 (Male)
Name No.
Send data +
+RD 1
6 1
-RD 2 Send data
9 5
-SD 3 Receive data
SG 5 SG
* DIPSW No. 2, 3: OFF * Use shielded twist-pair cables.
COM1 Name
Dsub 9 (Male)
Name No.
+RD 1 +
6 1 -RD 2 -
9 5
-SD 3
+SD 4
SG 5 SG
* DIPSW No. 2, 3: ON * Use shielded twist-pair cables.
RS-232C
COM2
Dsub 9 (Female)
Name No. Name
RD 2 Send data
5
9
SD 3 Receive data
6 1
SG 5 SG
RS 7
* Use shielded twist-pair cables.
CS 8
30.1 PLC Connection 30-17
RS-485
COM3 Name
Dsub 9 (Female)
Name No.
9 5 -SD/RD 1 +
6 1 +SD/RD 6 -
SG 9 SG