![ENCARDIO RITE ESM-40S Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/encardio-rite/esm-40s/esm-40s_user-manual_2405803025.webp)
Users’ Manual
ESM-40S High sensitivity settlement monitoring system
Page
| 23
8.5 Default settings
Sensor default settings are given below
Device Address
0x01
Baud Rate
115200
Data
8-bit
Stop Bit
1
Parity
None
Endian
Big Endian Atomic 16
Measuring Time
1 Sec
8.6 Modbus command format
Followings are some examples of Holding Registers Read and single register write.
•
Reading Holding Registers (Ex: Reading sensor data)
BYTE REQUEST
BYTE
ANSWER
(Hex)
Field name
(Hex)
Field name
02
Device address
02
Device address
03
Functional code
03
Functional code
01
Address of the first register Hi
bytes
0C
Number of bytes more
2C
Address of the first register Lo
bytes
00 00
Register value Ch-1 Status 16-bit
unsigned
00
Number of registers Hi bytes
3B 21 3E
1B
Register value Parameter 32-bit Float
(0.002460)
06
Number of registers Lo bytes
00 00
Register value Ch-2 Status 16-bit
unsigned
05
Checksum CRC
41 DB E3
36
Register value Temperature 32-bit
Float
(27.485)
CE
Checksum CRC
B1
Checksum CRC
82
Checksum CRC
•
Write Single Register (Ex: Changing device address from 0x0001 to 0x0002)
BYTE REQUEST
BYTE
ANSWER
(Hex)
Field name
(Hex)
Field name
01
Device address
01
Device address
06
Functional code
06
Functional code
00
Address of the Register Hi bytes
00
Address of the Register Hi bytes
DD
Address of the Register Lo bytes
DD
Address of the Register Lo bytes
00
Data (write) Hi bytes
00
Data (value) Hi bytes
02
Data (write) Lo bytes
02
Data (value) Lo bytes
98
Checksum CRC
98
Checksum CRC
31
Checksum CRC
31
Checksum CRC