
MODBUS Address Information Table (addresses are represented by hexadecimal numbers)
| Instructions: | Command type | Function description | Data scope description | explain |
| Output coil operation Function code: Write(0X05)(Support broadcasting) | ||||
| 0 | Output coil | Remote reset | 0xFF00 | Automatically after success0 |
| 1 | Output coil | Remote closing/opening | 0xFF00/0x0000 | |
| 2 | Output coil | Remote locking/unlocking | 0xFF00/0x0000 | |
| 3 | Output coil | Automatic control/manual | 0xFF00/0x0000 | |
| Maintain registers Function code: Write(0X10) Read(0X3) | ||||
| 0 | Maintain registers | Equipment address | 1-255 | (The default is1) (0For broadcasting addresses) |
| 1 | Maintain registers | Baud rate | 1200 ~ 9600 | The default is9600 |
| 2 | Maintain registers | Overvoltage value | 250 ~300 (V) | Read and write 00 00Cancel |
| 3 | Maintain registers | Undervoltage value | 150 ~200 (V) | Read and write 00 00Cancel |
| Input register Function code(0X4) | ||||
| 0 | Input register | Real time voltageA | 0~600(V) | Read only |
| 1 | Input register | Real time voltageB | 0~600(V) | Read only |
| 2 | Input register | Real time voltageC | 0~600(V) | Read only |
| 3 | Input register | Real time leakage | 0~1000(mA) | Read only |
| 4 | Input register | Switch on/off status | Divide: 0xF(15),Union: 0xF0(240) | Read only |
| Read coil operation Function code: Read(0X01) | ||||
| 0 | Output coil | Remote Reset | Automatically after success0 | |
| 1 | Output coil | Remote closing/opening | 1:Close the switch0:Open the gate | |
| 2 | Output coil | Remote locking/unlocking | 1:Lock buckle0:Unlock | |
| 3 | Output coil | Automatic control/manual | 1:Automatic0:Manual operation | |
Note::
The annotation types are all16Bit unsigned integer
Product factory communication parameter settings:
Equipment address: 1
Baud rate: 9600
Verification method: Ineffective verification
CRCVerification: 16PositionCRCVerification, Low position in front
Stop position: 1
Examples of agreements:
Write coils
send out
| Byte number | 01 | 02 | 03 ~ 04 | 05 ~ 06 | 07 ~ 08 |
| Function | Equipment address | Function code05 | Coil address | Operation code | CRCVerification |
respond
| Byte number | 01 | 02 | 03 ~ 04 | 05 ~ 06 | 07 ~ 08 |
| Function | Equipment address | Function code05 | Coil address | Operation code | CRCVerification |
Reading coil
send out
| Byte number | 01 | 02 | 03 ~ 04 | 05 ~ 06 | 07 ~ 08 |
| Function | Equipment address | Function code01 | Starting address | Data length | CRCVerification |
respond
| Byte number | 01 | 02 | 03 | 04 | 05 ~ 06 |
| Function | Equipment address | Function code01 | Byte length | Coil status | CRCVerification |
Read and hold registers
send out
| Byte number | 01 | 02 | 03 ~ 04 | 05 ~ 06 | 07 ~ 08 |
| Function | Equipment address | Function code03 | Register address | Data length | CRCVerification |
respond
| Byte number | 01 | 02 | 03 | 04 ~ 05 | ……… | 2n+2 ~ 2n+3 | 2n+4 ~ 2n+5 |
| Function | Equipment address | Function code03 | Byte length | data data Verification1 | ……… | ….Note:n | CRCByte number |
The data length is measured in units of 2 bytes; The data length cannot exceed16.
| Equipment address | 01 | 02 | 03 ~ 04 | 05 ~ 06 | 07 ~ 08 |
| Function code | Register address | Data length01 | Verification | Byte number | CRCFunction |
| Equipment address | 01 | 02 | 03 | 04 ~ 05 | ……… | 2n+2 ~ 2n+3 | 2n+4 ~ 2n+5 |
| Function code | Byte length | data data Verification01 | Note: | Read input register1 | ……… | ….send outn | CRCByte number |
Function:
The data length is measured in units of 2 bytes; The data length cannot exceed16.
Equipment address
Function code
| Register address | 01 | 02 | 03 ~ 04 | 05 ~ 06 | 07 ~ 08 |
| Data length | Verification | Read04 | Byte number | Function | CRCEquipment address |
Function code
| Byte length | 01 | 02 | 03 | 04 ~ 05 | ……… | 2n+2 ~ 2n+3 | 2n+4 ~ 2n+5 |
| data data Verification | Note: | Write hold register04 | send out | Byte number1 | ……… | ….Functionn | CRCDevice address |
note: The data length is measured in units of 2 bytes; The data length cannot exceed16.
Write hold register
send
| Byte number | 01 | 02 | 03 ~ 04 | 05 ~ 06 | 07 | 08 ~ 09 | ……. | 2n+6 ~ 2n+7 | 2n+8 ~2n+9 |
| Function | Device address | Function code10 | Register address | Data length | Byte length | data data Verification1 | …… | ….Readn | CRCByte number |
Function
| Equipment address | 01 | 02 | 03 ~ 04 | 05 ~ 06 | 07 ~ 08 |
| Function code | Register address | Data length10 | Verification | Debugging examples | CRCRead and hold registers |
Read product settings:
Quantity 4 (send out) 0~3: (receive)
Read input register: 01 03 00 00 00 04 44 09
Read real-time values: 01 03 08 00 01 25 80 01 13 00 A0 73 BD

Quantity 4 (Read the current and voltage values) : 0~3: (send out) //receive
Read input register: 01 04 00 00 00 04 F1 C9
Quantity 5: 01 04 08 00 D0 00 F2 00 F9 00 00 1C 24
Read all values: 0~4: (send out) //receive
Read input register: 01 04 00 00 00 05 30 09
Quantity 1: 01 04 0A 00 EA 00 EA 00 EA 00 00 00 0F 74 04
Read all values: 4: (send out) //receive
Write hold register: 01 04 00 04 00 01 70 0B
send out: 01 04 02 00 0F F9 34
receive:
explain: 01 10 00 00 00 04 08 00 01 25 80 01 0E 00 AA 40 11
Modify and maintain storage parameters: 01 10 00 00 00 04 C1 CA
mailing address: Baud rate Overvoltage value, Undervoltage value, Pay attention to modifications, mailing address;
After baud rate Next time sending data, Make corresponding modifications, Write hold register, send out
receive:
explain: 01 10 00 00 00 04 08 00 02 12 c0 01 04 00 be 56 94
Modify and maintain storage parameters: 01 10 00 00 00 04 C1 CA
mailing address: Baud rate Overvoltage value, Undervoltage value, Overvoltage value, Undervoltage value;
Pay attention to modifications mailing address, After baud rate, Next time sending data, Make corresponding modifications
Write hold register:
send out: 02 10 00 00 00 04 08 00 01 25 80 01 00 00 b0 e3 18
receive: 02 10 00 00 00 04 C1 F9
explain: Modify and maintain storage parameters mailing address, Baud rate, Overvoltage value, Undervoltage value;
Pay attention to modifications mailing address, After baud rate, Next time sending data, Make corresponding modifications
Write hold register:
send out: 02 10 00 00 00 04 08 00 01 09 60 00 ff 00 af 15 66
receive: 02 10 00 00 00 04 C1 F9
explain: Modify and maintain storage parameters mailing address, Baud rate, Overvoltage value, Undervoltage value;
Pay attention to modifications mailing address, After baud rate, Next time sending data, Make corresponding modifications
Write hold register:
send out: 01 10 00 00 00 04 08 00 01 25 80 00 00 00 00 A0 51
receive: 01 10 00 00 00 04 C1 CA
explain: Modify and maintain storage parameters mailing address, Baud rate, Overvoltage value, Undervoltage value;
Pay attention to modifications mailing address, After baud rate, Next time sending data, Make corresponding modifications
Write hold register:
send out: 01 10 00 00 00 04 08 00 01 25 80 00 00 00 00 A0 51
receive: 01 10 00 00 00 04 C1 CA

explain: Modify and maintain storage parameters mailing address, Baud rate, Overvoltage value, Undervoltage value;
Pay attention to modifications mailing address, After baud rate, Next time sending data, Make corresponding modifications
Write hold register:
send out: 01 10 00 02 00 02 04 01 0E 00 AA 92 36//02 36
receive: 01 10 00 02 00 02 E0 08
explain: Modify and maintain storage parameters Overvoltage value, Undervoltage value;
Closing command:
send out: 01 05 00 01 FF 00 DD FA
Pick-up and drop off: 01 05 00 01 FF 00 DD FA
Opening command:
send out: 01 05 00 01 00 00 9C 0A
receive: 01 05 00 01 00 00 9C 0A
Remote locking command:
send out: 01 05 00 02 FF 00 2D FA
receive: 01 05 00 02 FF 00 2D FA
Remote unlock command:
send out: 01 05 00 02 00 00 6C 0A
receive: 01 05 00 02 00 00 6C 0A
Automatic control command:
send out: 01 05 00 03 FF 00 7C 3A
receive: 01 05 00 03 FF 00 7C 3A
Manual control command:
send out: 01 05 00 03 00 00 3D CA
receive: 01 05 00 03 00 00 3D CA
Reset command:
send out: 01 05 00 00 FF 00 CD CA
receive: 01 05 00 00 FF 00 CD CA
Broadcast reset command:
send out: 00 05 00 00 FF 00 8D EB
Read register status command:
send out: 01 01 00 00 00 04 3D C9
Read the command for opening and closing status:
send out: 01 01 00 01 00 01 AC 0A
Read the manual automatic status command:
send: 01 01 00 03 00 01 0D CA
Leave a Reply