E+E Elektronik EE895 User Manual page 19

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

Advertisement

1
Supported Function Codes
Following function codes are supported:
• 0x01 Read Coil Register
• 0x03 Read Holding Registers
• 0x04 Read Input Registers
• 0x05 Write Coil Register
• 0x06 Write Single Register
• 0x10 Write Multiple Registers
The measured values can be read by using 0x03 and 0x04 codes. The register numbers and the cor-
responding physical quantities are listed in the datasheet and in the user manual of the specific E+E
device.
2
Packet Format for Read Coil Code 0x01
Request:
Modbus
Address
YY
Response from the E+E Modbus device:
Modbus
Address
YY
2.1
Example: Reading Status
This example demonstrates reading the device status from a desired address. The supported addres-
ses can be found in the datasheet and in the user manual of the specific E+E device.
Request:
Modbus
Address
YY
Quantity of Coils = 8...1 Byte (8Bit)
Response from the E+E Modbus device:
Modbus
Address
YY
3
Packet Format for Read Function Codes 0x03 and
0x04
Request:
Modbus
Address
YY
Response from the E+E Modbus device:
Modbus
Address
YY
User Manual EE895 Miniature Sensor Module for CO
Communication Address
Function
Code
HB
01
YY
Byte
Function Code
Count
01
YY
Communication Address
Function
Code
HB
01
00
Function
Code
01
Communication Address
Function
Code
HB
03, 04
YY
Byte
Function Code
Count
03, 04
YY
, T and p
2
Qunatity of Coils
LB
HB
YY
YY
N * Coil Status
HB
YY
Qunatity of Registers
LB
HB
XX
00
Byte
Coils
Count
Status
01
YY
Qunatity of Registers
LB
HB
YY
YY
N * Register
HB
YY
LB
LB
YY
CC
CRC
LB
LB
YY
CC
LB
LB
08
CC
CRC
LB
CC
LB
LB
YY
CC
CRC
LB
LB
YY
CC
CRC
HB
CC
HB
CC
CRC
HB
CC
HB
CC
CRC
HB
CC
HB
CC
19

Advertisement

Table of Contents
loading

Table of Contents