User Manual
Tel: +0086-023-67628702 Email:[email protected]
www.cqbluejay.com
Add: 1802,Building 2,No.88,Jianxin East Road,Chongqing,400020,China - 15 -
6.1.2.- Modbus function code
Code:
Meaning:
Description:
FUNCTION 01
Read multiple Coils
This function permits to read
Internal Bits or Physical Coils
FUNCTION 02
Read signal Coils
This function permits to read
Physical Discrete Inputs
FUNCTION 03
Reading of n Words of
holding register
Read protection setting,
system parameters, starting
parameters, etc.
Read the I/O port status
FUNCTION 04
Reading of n Words of input
register
Read measurement values
(voltage, current, power, etc.);
Read SOE record
FUNCTION 05
Force Single Coil
This function permits to write
Internal Bits or Physical Coils
FUNCTION 06
Write single register
This function permits to write
FUNCTION 15
Write Multiple Coils
This function permits to write
Internal Bits or Physical Coils
Example: (Read A, B, C phase current value)
Host to Slave
Addr Fun
Data Address
(high)
Data Address
(low)
Data Number
(high)
Data number
(low)
CRC16
(low)
CRC16
(high)
01H
04H
01H
00H
00H
03H
BEH
F7H
Slave to Host
Addr Fun Data length
A-phase current B-phase current
C-phase current
CRC
01
04
06
03
E8
03
E8
03
E7
C0
7D
Note:
Not all the PR200 series have RS485 full operation function, please refer the register map
introduction.