beautypg.com

3) message transmission (example), Bulletin f-107-uxf3-s – Dwyer UXF3 User Manual

Page 23

background image

- 19 -

(3) Message transmission (example)

The following is an example of reading out the flow rate from station No. 1.

Relative address of the flow rate: 0004

H

(Register No. 30005), Number of data to be read out: 02

H

Command message composition (byte)

Response message composition (byte)

Station No.

01

H

Station

No.

01

H

Function code

04

H

Function

code

04

H

Upper 00

H

Read-out byte number

04

H

Read-out start No.
(relative address)

Lower 04

H

Upper

43

H

Upper 00

H

Contents of the
first word data

Lower 40

H

Read-out word
number

Lower 02

H

Upper

00

H

Lower 30

H

Contents of the
next word data

Lower 00

H

CRC data

Upper 0A

H

Lower EF

H

CRC data

Upper D4

H

Meaning of read-out data

Data having the unit m

3

/h and floating decimal point

The read-out data is expressed as a 32-bit single-precision floating value.

Connect the read-out 4-byte data, and convert it into an actual value using an appropriate conversion program.

Flow rate, 192.0 m3/h = 1.5x (2 to the 7th power)

= 0100 0011 0100 0000 0000 0000 0000 0000 (binary number)

Refer to Section 7.1 for handling of floating data.

Point

For handling of floating data, refer to Section 7.1.

Bulletin F-107-UXF3-S