beautypg.com

Dynasonics TFXP Series Transit Time Ultrasonic Flow Meter User Manual

Page 119

background image

Special codes

The following special 65 and 66 codes are supported.

Code

Description

00

Echo (for comm debugging)

0A

Read run time data (signal strength, flow rate and totalizers)

0B

Reset Totalizers

Code 00 – Echo

Command:

6500

1

>…

n

>

Reply:

6500

1

>…

n

>

Code 0A – Read Flow data

Command:

65010A

Reply:

65210A

1

>…

n

>

The data section of the reply contains the byte stream representation of the flow data as follows (all
numbers use the Intel format – ie. Least significant byte first):

Byte

Type

Description

0-1

2 byte integer

Signal Strength (0-1000)

2-9

8 byte floating point

Current flow rate in the units programmed

10-17

8 byte floating point

Net Totalizer in the units programmed

18-25

8 byte floating point

Positive Totalizer

26-33

8 byte floating point

Negative Totalizer

Code 0A Extension 1 - Read Extra Flow data

Command:

65020A01

Reply:

65220A01

1

>…

n

>

The data section of the reply contains the byte stream representation of the flow data as follows (all
numbers use the Intel format – ie. Least significant byte first):

Byte

Type

Description

0-1

2 byte integer

Signal Strength (0-1000)

2-9

8 byte floating point

Current flow rate in the units programmed

10-17

8 byte floating point

Net Totalizer in the units programmed

18-25

8 byte floating point

Positive Totalizer

26-33

8 byte floating point

Negative Totalizer

34-41

8 byte floating point

Temp 1 in deg C

42-49

8 byte floating point

Temp 2 in deg C

Code 0B – Reset Totalizers

Command:

65010B

Reply:

65010B