EasyManuals Logo

Xinje XDH Series User Manual

Xinje XDH Series
456 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #259 background imageLoading...
Page #259 background image
258
RTU mode:
Asking format
Response format
Address
01H
Address
01H
Function code
0FH
Function code
0FH
Coil address
60H
Coil address
60H
00H
00H
Coil number
00H
Coilnumber
00H
10H
10H
Byte number
02H
-
-
Data contents
(low byte is before
high byte)
03H
01H
CRC CHECK
Low
43H
CRC CHECK Low
4AH
CRC CHECK
High
16H
CRC CHECK High
07H
The data contents are 0103H, the binary format is 0000 0001 0000 0011, write in
corresponding Y17~Y0, so Y0, Y1, Y10 are set ON.
Note: when writing the data contents, the low byte is before the high byte.
(6)Function code 10H: write multiple registers
Eg. Write 3 registers starting from address 0000H (D0).
RTU mode:
Asking format
Response format
Address
01H
Address
01H
Function code
10H
Function code
10H
Register address
00H
Register address
00H
00H
00H
Register number
00H
Register number
00H
03H
03H
Byte number
06H
-
-
Data contents
00H
01H
00H
02H
00H
03H
CRC CHECK
Low
3AH
CRC CHECK Low
3AH
CRC CHECK
High
81H
CRC CHECK High
81H
After executing, the value in D0, D1, D2 are 1, 2, 3.
Note: byte number = register number * 2.
Modbus-ASCII data structure
1. ASCII mode:
For Modbus ASCII(American Standard Code for Information Interchange)mode in serial
links, every 8-bit byte is sent as two ASCII characters. When communication links and
devices do not fit RTU mode timing monitor, we usually use the ASCII mode.
NoteOne byte needs two characters, so ASCII mode has lower inefficiency than RTU mode.
tudonghoatoancau.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xinje XDH Series and is the answer not in the manual?

Xinje XDH Series Specifications

General IconGeneral
BrandXinje
ModelXDH Series
CategoryNetwork Hardware
LanguageEnglish

Related product manuals