EasyManua.ls Logo

Vaisala HMP3 - Modbus Data Encoding

Vaisala HMP3
96 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A.3.1 32-bit floating point or integer format
Least significant 16 bits of floating point or integer numbers are placed at the smaller Modbus
address as specified in Open Modbus TCP Specification, Release 1.0. This is also known as
"little-endian" or "Modicon" word order. Floating point values are represented in standard IEEE
32-bit floating point format.
Despite the specification, some Modbus masters may expect "big-endian" word
order (most significant word first). In such case, you must select "word-swapped"
floating point format in your Modbus master for the Modbus registers of the
device.
A "quiet NaN" value is returned for unavailable values. A quiet NaN is, for example,
7FC00000
hex
; however, the master should understand any NaN value.
A complete 32-bit floating point or integer value should be read and written in a
single Modbus transaction.
A.3.2 16-bit integer format
Some 16-bit integer values in the data registers are scaled to include the necessary decimals.
The scaling factors for those values are shown in the register tables.
Table 54 16-bit signed integer format details
Value Description
0000
hex
… 7FFE
hex
Value in range 0 … 32766
8002
hex
… FFFF
hex
Value in range -32766 … -1 (2’s complement)
8000
hex
Value is not available (quiet NaN)
Some values may exceed the signed 16-bit range even in normal operation. To
access such values, use the floating point registers instead.
A.4 Modbus registers
Registers are numbered in decimal, starting from one. Register
addresses in actual Modbus messages (Modbus Protocol Data Unit (PDU) are in
hexadecimal and start from zero. Subtract 1 from the register number presented
in this manual to get the address used in the Modbus message (for example,
register number 1 corresponds to address 0
hex
in the actual Modbus message).
CAUTION!
HMP3, HMP4, HMP5, HMP7, HMP8, HMP9, MMP8, TMP1 User Guide M212022EN-D
78
陕西威瑞仪器仪表有限公司 生产代理销售:实验检测设备 气象科学仪器设备
Tel:029-88186182 Web:www.xavery.cn Email:sxvery@163.com

Table of Contents

Related product manuals