Jumping symbol board switch Modbus communication protocol

freeFree Technical Resource

This content is free to read, suitable for basic learning and search traffic.

Jumping symbol board switch Modbus communication protocol

Location diagram of intelligent switch register

Jumping symbol board switch Modbus communication protocolFigure

RS485 Communication mode
Address01
Message formatHEX
Default baud rate9600 8 N 1
CRC16Low byte first

Function code

Read register03
Write a single register06
Write multiple registers10

Read a single register

Read individuallyAddressFunction codeRegister addressRead several registersCRCVerification
send out010327 1000 0112 34

Return data

AddressFunction codeByte countdata VerificationCRCreturn
Read a single register01030211 3312 34

Write individually

AddressFunction codeRegister addressValueVerificationCRCsend out
Return data010627 1000 0112 34

Address

Function codeRegister addressValueVerificationCRCreturn
Write multiple registers010627 1000 0112 34

Write multiple

AddressFunction codeStarting register addressWrite a few registersByte countdata data Verificationsend outReturn dataCRCAddress
Function code011027 1000 020433 4455 6612 34

Starting register address

Write a few registersVerificationreturnRegister descriptionCRCFunction register address
Serial number011027 1000 0212 34

ModbusRegister Description

Function register address
Serial numbername Read/writeRegister addressdecimal system
Register address
Base system
16Value
meaninggive an exampleremarksAddress
1Read/writeAddress range0001000100 01Switching baud rate01-FE00 01
2Read/writecorresponding0002000200 0100corresponding115200
01corresponding76800
02corresponding57600
03corresponding38400
04corresponding19200
05corresponding14400
06corresponding9600
07corresponding4800
08corresponding2400
09corresponding1200
00 0606If the modification is successful, a reply will be sent at the current baud rate9600
Switch to the new baud rate after replying
Output operation
31-16Support reading and writing
Read/write
The first byte10013E900 01
meaningless00The second byte
Close00Open01Flip02Jog03Output
00 01Open1 relay  --Read/write1
4Output10023EA00 00Close2 relay  --Read/write2
5Output10033EB00 02Flip3 relay  --Read/write3
6Output10043EC00 03Jog4 indicator light  --Read/write4
7Output10053ED00 02Flip5 indicator light  --Read/write5
8Output10063EE00 01open6 open  --indicator light6
9Read/write10073EF00 01Output7 Open  --Useless
10Read/write10083F000 01Output8 Open  --Useless
11Read/write10093F100 01Output9 Open  --Background light1
12Read/write10103F200 01Output10 Open  --Background light2
13Read/write10113F300 01Output11 Open  --Background light3
14Read/write10123F400 01Output12 Open  --Background light4
15Read/write10133F500 01Output13 Open  --Background light5
16Read/write10143F600 01Output14 Open  --Background light6
17Read/write10153F700 01Output15 Open  --Useless
18Read/write10163F800 01Output16 Open  --Useless

give an example

Read multiple registers

Read multipleAddressFunction codeStarting register addressRead several registersCRCVerification
send out010303 E900 0215 BB

Return data

AddressFunction codeByte countdata VerificationCRCreturn
Write a single register01030400 01 00 016A 33

Write individually

addressaddressFunction codeRegister addressValueCRCVerification
send out010600 0100 0259 CB

Return data

AddressFunction codeRegister addressValueCRCVerification
return010600 0100 0259 CB

Write multiple registers

Write multipleAddressFunction codeStarting register addressWrite a few registersByte countdata VerificationCRCsend out
Return data011000 0100 060C00 01 00 01 00 00 01 00 00 00 00 00 00BA 51

Address

Function codeStarting register addressWrite a few registersVerificationCRCreturn
Product Purchase011000 0100 0611 CB

Product Purchase: https://item.taobao.com/item.htm?ft=t&id=671086569988

Put this resource to use in a real project?

Go to the Tool Center for message parsing, CRC verification and device debugging, or submit your requirements for selection and integration advice.

Engineer Membership

Turn this article into actionable debugging resources

After activation, you can use advanced message parsing, resource pack downloads, code examples, engineering cases and priority technical support, suitable for real project delivery.

Unlimited Advanced Tools
Resource & Code Packs
Complete Engineering Case Library
Priority Technical Support

Leave a Reply

Your email address will not be published. Required fields are marked *.