11.14 MODBUS RTU Slave (All function)/(All function OneBaseAddress)
Last updated
Last updated
Supported Series: MODBUS RTU CONTROLLER
HMI works as MODBUS MASTER coontecting with SLAVE.
The address in [All function] start from 0, the address in [All function OneBaseAddress] start from 1 (offset 1).
HMI settings
Address list
✎Note:
Modbus can also support getting bit from the word, which could access the address such as 100.1 and other formats. The function codes sent out are the same as those that read and write words.
Station number for more than one slaves
If there are more than one slaves connected to HMI, please set slave station number during editing address, as below shows.
Cable wiring
1) RS485
2) RS232
✎Note:
COM3 is available in PI8000 series and advanced series;
Items
Settings
Note
Protocol
MODBUS RTU Slave (All function)/( All function OneBaseAddress)
Connection
RS485/RS232
Baud rate
2400~187500
Data bit
8
Parity
Even/ Odd/ None
Stop bit
1/2
PLC station No.
0~255
Type
Register
Function code & Description
Word
3
04 (read input register: read current binary value in one or more input registers)
06 (write single register: write a binary value to a holding register)
10 (write values to multiple addresses )
4
03 (read holding register: read current binary value in one or more holding registers)
06 (write single register: write a binary value to a holding register)
10 (write values to multiple addresses )
W6
03 (read holding register: read current binary value in one or more holding registers)
06 (write single register: write a binary value to a holding register)
10 (write values to multiple addresses )
W16
03 (read holding register: read current binary value in one or more holding registers)
10 (write values to multiple addresses )
Bit
0
01 (Read coil state)
05 (Force a single coil to force the on/off state of a logic coil)
0F (Write multiple bits, ie write continuously)
1
02 (Read the input state)
05 (Force a single coil to force the on/off state of a logic coil)
0F (Write multiple bits)
W5
01 (Read coil state to obtain the current state of a set of logic coils)
05 (Force a single coil to force the on/off state of a logic coil)
0F (Write multiple bits)
W15
01 (Read coil state to obtain the current state of a set of logic coils)
0F (Write multiple bits)