beautypg.com

Device data access, 1 flow rate, 2 total – Tecfluid MX4B User Manual

Page 7: 3 flow rate 4 ma, 5device data access

background image

7

5

DEVICE DATA ACCESS

NOTE: The floating point data use two registers. It is recommended to access them with
an unique message instead of two consecutive readings or writings.
When using the writing function "Write Single Register" to write a data in floating point, it
is imperative to write the lower address first and then the upper one. If done in reverse
order generates the error "INVALID DATA VALUE" and the value is not programmed into
the device until the two registers that compose the data have been completed.

5.1 Flow

rate

Description: Instantaneous flow rate of the converter.
The flow rate data contains the numeric value of the instantaneous flow rate
corresponding to flow rate units programmed into the device. Variable is a floating point
32-bit IEEE 754. To access this data on the device is necessary to access two 16-bit
registers.
The address 0x2000h corresponds to the most significant 16 bits and address 0x2001h to
the least significant 16 bits.
Supported functions:

Read Input Registers. (0x04)

Addresses:

0x2000

16 bit Flow rate MSB

0x2001

16 bit Flow rate LSB

5.2 Total

Description: Totalizer value.
The Total data contains the numerical value of the cumulative total corresponding to the
units programmed into the device. Variable is a floating point IEEE 754 32 Bits. To access
this data on the device is necessary to access two 16-bit registers.
The address 0x3000h corresponds to the most significant 16 bits and address 0x3001h to
the least significant 16 bits.
Supported functions:

Read Holding Registers. (0x03h)

Write Single Register.

(0x06h)

Write Multiple Registers. (0x10h)

Addresses:

0x3000h

16 bit Total MSB

0x3001h

16 bit Total LSB

5.3

Flow rate 4 mA
Description:
Flow rate beginning of scale of analog output.
Flow rate 4 mA contains the numerical value of the flow rate corresponding to the
beginning of the scale of the analog output (4 mA) in the flow rate units programmed into
the device.
Variable is a floating point 32-bit IEEE 754. To access this data on the device is
necessary to access two 16-bit registers.
The address 0x3002h corresponds to the most significant 16 bits and address 0x3003h to
the least significant 16 bits.
Supported functions:

Read Holding Registers. (0x03h)

Write Single Register. (0x06h)

Write Multiple Registers. (0x10h)

Addresses:

0x3002h

16 bit 4 mA MSB

0x3003h

16 bit 4 mA LSB

This manual is related to the following products: