22
5.8 Sensor parameters / configuration-parameters
Table 5.8.1
Configuration registers
Register
address
Parameter name
Unit
Divisor
Description
Data
type
40001 Modbus device address
1
The addresses
1...247 are allowed.
INT
40200 Baud rate
0,01
96=9600
192=19200
384=38400
INT
46000 Number of mapping-registers*
1
Contains the number
of occupied mapping
registers for the auto-
configuration
16131.5 = 6
INT
* For more information about the registers for auto-configuration see Appendix.
Register 40001, Modbus device address, contains the Modbus address of the sensor. This allows the
Modbus master to detect the slave, 16131.5, in its network. The address can be changed; the value of
the address must be between 1 and 247. The default Modbus address is 11.
Note:
The sensor needs to be restarted before changes become effective.
Register 40200, Baud rate, is used to enter the settings for the baud rate. The framing of the serial
data transfer is 8 data bits, even parity and 1 stop bit. Default setting is 19200 baud.
Note:
The sensor needs to be restarted before changes become effective.
Table 5.8.2
Format of data
DATA TYPE
DESCRIPTION
uINT
Unsigned 16 bit integer
INT
Signed 16 bit integer
uLONG
Unsigned 32 bit integer
LONG
Signed 32 bit integer
The data format includes
signed
and
unsigned
integers. The difference between these types is that a
signed
integer passes on negative values, which reduces the range of the integer by half. Up to five
16 bit registers can be requested in one request; if requesting six or more registers, multiple requests
should be used.
If the format of data is a signed or an unsigned 32 bit integer, the first register received is the most
significant word (MSW) and the second register is the least significant word (LSW). This way two
16 bit registers are reserved for a 32 bit integer. MSW and LSW have to be read together in one
request. This is necessary to make sure both registers contain the data of one internal measurement.