









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
getting to know modbus HCMUTE
Typology: Transcriptions
1 / 16
This page cannot be seen from the preview
Don't miss anything!
Common Balanced pair Slave 1 T R Slave n T R 5 V 650 ohms 650 ohms Master R T 120 ohms 1 nF 120 ohms 1 nF PG
No response from slaves Adr 1 Adr 2^ Adr 3 (^) Adr 4 (^) Adr 5 Adr n Request Funct. Code 0 Request data CRC Used only with write functions
Address Function Code Data CRC or LRC Additional data depending on the Function Code = 0 to 247 Identifies the addressee Validity check = 1 to 127 Action to perform Modbus PDU PDU = Protocol Data Unit Two addressing modes:
Address field = 1 to 247 Address field = 0 (used in write only mode)
Request
Request
Code Function 01 (0x01) Read n consecutive output bits 02 (0x02) Read n consecutive input bits 03 (0x03) Read n consecutive output words 04 (0x04) Read n consecutive input words 05 (0x05) Write 1 output bit 06 (0x06) Write 1 output word 07 (0x07) Read exception status 08 (0x08) Access diagnostic counters 15 (0x0F) Write n output bits 16 (0x10) Write n output words 23 (0x17) Read/Writen output words 43 (0x2B) Read identification
Slave Address
First word address Function code = 3 Number of words to read 1 byte 1 byte 2 bytes 2 bytes 2 bytes
Slave Address
Number of bytes read Function code = 3 Value of the first word 1 byte 1 byte 2 bytes 2 bytes 2 bytes Value of the last word 2 bytes