Freely Configurable Custom Modbus Map - E+E Elektronik HTS201 User Manual

Humidity and temperature room sensor
Hide thumbs Also See for HTS201:
Table of Contents

Advertisement

5.2.6.

Freely Configurable Custom Modbus Map

It is possible to map measured value/status registers arbitrarily in a block with up to 20 registers provided for
this purpose. This means that registers of interest may be mapped in an area with consecutive registers, so that
important values can be queried with a single command in one block.
The custom map can be configured via:
PCS10 Product Configuration Software and the Modbus configuration adapter HA011018.
The PCS10 can be downloaded free of charge from www.epluse.com/pcs10.
Modbus protocol commands, refer to the example in chapter 5.2.8. ModBus RTU Examples.
The register block for the configuration of the customisable Modbus map consists of the registers 6001 (0x1770)
to 6010 (0x1779). For the blockwise query of the measured values behind Modbus registers 3001 (0xBB8) to
3020 (0xBCB), the firmware accesses this configuration area and thus gets the information which measured
value/status registers are to be output. A maximum of 10 user-defined registers can be mapped. The table below
shows an example:
Registers ...
Dec
Function code 0x10
6001
0x1770
6002
0x1771
6003
0x1772
6004
0x1773
6005
0x1774
6006
0x1775
Tab. 6
Custom Modbus map example
... with these
assigned measurands ...
Hex
Meas.
Unit
T
°C
°C
T
°F
°F
T
K
K
RH
%
%
T
°C
RH
%
... map to registers ...
Type
Dec
Function code 0x03 / 0x04
FLOAT32
3001
FLOAT32
3002
FLOAT32
3003
FLOAT32
3004
FLOAT32
3005
FLOAT32
3006
FLOAT32
3007
FLOAT32
3008
INT16
3009
INT16
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
User Manual HTS201
... mirrored from
source registers
Hex
Dec
0xBB8
1003
0xBB9
0xBBA
1005
0xBBB
0xBBC
1009
0xBBD
0xBBE
1021
0xBBF
0xBC0
4002
0xBC1
4011
0xBC2
0xBC3
0xBC4
0xBC5
0xBC6
0xBC7
0xBC8
0xBC9
0xBCA
0xBCB
Humidity and Temperature Room Sensor | 14
Hex
0x3EA
0x3EC
0x3F0
0x3FC
0xFA1
0xFAA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ee10

Table of Contents