E+E Elektronik EE895 User Manual page 20

Miniature sensor module for co2 , temperature and barometric pressure
Hide thumbs Also See for EE895:
Table of Contents

Advertisement

3.1
Example: Reading Temperature
This example demonstrates reading the temperature (float value) from address 0x3A. A float value
consists of 4 Bytes.
Request:
Modbus
Address
YY
Response from the E+E Modbus device:
Modbus
Function
Address
YY
4
Packet Format for Write Coil Code 0x05
Request:
Modbus
Address
YY
Response from the E+E Modbus device:
Modbus
Address
YY
The supported addresses can be found in the datasheet and in the user manual of the specific E+E
device.
5
Packet Format For Write Function Code 0x06
Request:
Modbus
Address
YY
Response from the E+E Modbus device:
Modbus
Address
YY
20
Communication Address
Function
Code
HB
03
00
Byte
Code
Count
03
04
Communication Address
Function
Code
HB
05
YY
Communication Address
Function
Code
HB
05
YY
Communication Address
Function
Code
HB
06
YY
Communication Address
Function
Code
HB
06
YY
Qunatity of Registers
LB
HB
3A
00
2 Registers (4 Byte)
YY
YY
YY
Register Value
LB
HB
YY
YY
Register Value
LB
HB
YY
YY
Register Value
LB
HB
YY
YY
Register Value
LB
HB
YY
YY
User Manual EE895 Miniature Sensor Module for CO
CRC
LB
LB
02
CC
CRC
LB
YY
CC
CRC
LB
LB
YY
CC
CRC
LB
LB
YY
CC
CRC
LB
LB
YY
CC
CRC
LB
LB
YY
CC
HB
CC
HB
CC
HB
CC
HB
CC
HB
CC
HB
CC
, T and p
2

Advertisement

Table of Contents
loading

Table of Contents