0% found this document useful (0 votes)
15 views

Modbus Manual V3.0

The document describes the input registers of a Rheonics transmitter that communicates over RS485 MODBUS. It provides details on the register addresses, data types, and parameters including viscosity, density, and temperature. Examples are given of MODBUS register read commands and responses.

Uploaded by

Tuan Anh Nguyen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Modbus Manual V3.0

The document describes the input registers of a Rheonics transmitter that communicates over RS485 MODBUS. It provides details on the register addresses, data types, and parameters including viscosity, density, and temperature. Examples are given of MODBUS register read commands and responses.

Uploaded by

Tuan Anh Nguyen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Input Registers

Data-Types
Rheonics transmitter RS485 MODBUS

V+
V-
B+
+5V
A- 24V

Bus < 1000m

MODBUS
master

Stub < 20m


GND
MODBUS DO NOT CONNECT
slave GND
EARTH TO GND for
marine applications
Next figure shows multiple Rheonics SME transmitters connected on the RS485 network as Slave 1 to
n.

Factory default settings of Modbus parameters:


Function Code (Dec) Name Description


04 Read Input Registers Read Analog Inputs (AI)
Parameter Measurand Description

Parameter 1 Viscosity median


Takes the median of the last 5
Parameter 2 Density median
sensor measurements points
Parameter 3 Temperature median

Parameter 4 Viscosity average Calculates the average of the last 5


Parameter 5 Density average measurement points

Parameter 6 Viscosity raw ‘process measurement’


Reads the direct measurement
Parameter 7 Density raw
taken by the sensor.
Parameter 8 Temperature raw

Parameter 9 Viscosity Last Good Keeps the last-good median


measurement in memory when
Parameter 10 Density Last Good there is a measurement error

Error Error State Error state of the sensor

Input Registers

Address (Dec) Register (Dec) Length Type Description


(Reg.)

Parameter 1

40 300041 2 Float Parameter 1 value as float

42 300043 1 Int16 Parameter 1 value scaled by 100 as signed


integer
43 300044 1 Uint16 Parameter 1 status (See data-types
section)

Parameter 2

48 300049 2 Float Parameter 2 value as float

50 300051 1 Int16 Parameter 2 value scaled by 100 as signed


integer

51 300052 1 Uint16 Parameter 2 status (See datatypes)

Parameter 3

56 300057 2 Float Parameter 3 value as float

58 300059 1 Int16 Parameter 3 value scaled by 100 as signed


integer

59 300060 1 Uint16 Parameter 3 status (See datatypes)

Parameter 4

64 300065 2 Float Parameter 4 value as float

66 300067 1 Int16 Parameter 4 value scaled by 100 as signed


integer

67 300068 1 Uint16 Parameter 4 status (See datatypes)

Parameter 5

72 300073 2 Float Parameter 5 value as float

74 300075 1 Int16 Parameter 5 value scaled by 100 as signed


integer

75 300076 1 Uint16 Parameter 5 status (See datatypes)

Parameter 6

80 300081 2 Float Parameter 6 value as float

82 300083 1 Int16 Parameter 6 value scaled by 100 as signed


integer

83 300084 1 Uint16 Parameter 6 status (See datatypes)

Parameter 7

88 300089 2 Float Parameter 7 value as float


90 300091 1 Int16 Parameter 7 value scaled by 100 as signed
integer

91 300092 1 Uint16 Parameter 7 status (See datatypes)

Parameter 8

96 300097 2 Float Parameter 8 value as float

98 300099 1 Int16 Parameter 8 value scaled by 100 as signed


integer

99 300100 1 Uint16 Parameter 8 status (See datatypes)

Parameter 9

136 300136 2 Float Parameter 9 value as float

138 300138 1 Int16 Parameter 9 value scaled by 100 as signed


integer

139 300139 1 Uint16 Parameter 9 status (See datatypes)

Parameter 10

144 300144 2 Float Parameter 10 value as float

146 300146 1 Int16 Parameter 10 value scaled by 100 as


signed integer

147 300147 1 Uint16 Parameter 10 status (See datatypes)

Error

514 300514 1 Uint16 Error value

Data-Types
Device Address= 01 = 0x01 (byte).
Address 40057-40001=56 = 0x0038 (word) (Address in Hex of the first register)
Functional code= 04=0x0004 (word)-Read input registers
Number of registers = 02=0x0002 (word)
CRC = CRC16 (Word) (Little Endian)

Command Structure:

Address of the Address of the Number of Number of CRC CRC


Device Functional
first register first register registers (Hi registers (Lo (Lo (Hi
Address Code
(Hi byte) (Lo Byte) byte) byte) Byte) Byte)
01 04
00 38 00 02 F0 06

Command Response

Value of Value of Value of Value of


CRC CRC
Device Functional Number the first the first the second the second
(Lo (Hi
Address Code of Bytes register (Hi register (Lo register (Hi register (Lo
Byte) Byte)
01 04 04 Byte) Byte) Byte) Byte)
47 41
41 B1 5C 29

Data = 0x41B15C29 = 22.17 (Float)

Temperature median = 22.17 °C (default unit)

Device Address= 01 = 0x01 (byte).


Address 40044-40001=43 = 0x002B (word) (Address in Hex of the first register)
Functional code= 04=0x0004 (word)-Read input registers
Number of registers = 01=0x0001 (word)
CRC = CRC16 (Word) (Little Endian)

Command Structure:

Address of the Address of the Number of Number of CRC CRC


Device Functional
first register first register registers (Hi registers (Lo (Lo (Hi
Address Code
(Hi byte) (Lo Byte) byte) byte) Byte) Byte)
01 04
00 2B 00 01 41 C2

Command Response

Value of Value of
CRC CRC
Device Functional Number the first the first
(Lo (Hi
Address Code of Bytes register (Hi register (Lo
Byte) Byte)
01 04 02 Byte) Byte)
78 F0
00 01
Data = 0x0001 = 1 (Uint16) Referring to the parameter status, this value means a general
error occurred.

Device Address= 01 = 0x01 (byte).


Address 40099-40001=98 = 0x0062 (word) (Address in Hex of the first register)
Functional code= 04=0x0004 (word)-Read input registers
Number of registers = 01=0x0001 (word)
CRC = CRC16 (Word) (Little Endian)

Command Structure:

Address of the Address of the Number of Number of CRC CRC


Device Functional
first register first register registers (Hi registers (Lo (Lo (Hi
Address Code
(Hi byte) (Lo Byte) byte) byte) Byte) Byte)
01 04
00 62 00 01 90 14

Command Response

Value of Value of
CRC CRC
Device Functional Number the first the first
(Lo (Hi
Address Code of Bytes register (Hi register (Lo
Byte) Byte)
01 04 02 Byte) Byte)
3F 58
08 9E

Data = 0x089E = 2206 (Int16)

Since the register value is the temperature scaled by 100. The actual raw temperature value
is 22.06 °C.

This register is useful for devices in which single point conversion requires too much
computation.

You might also like