Appendix b – Aalborg Vortex Insertion User Manual

Page 85

Advertising
background image

80

VOR

TEX METER ASCII COMMANDS SET

R

ev

. 07/29/2010

RS232/RS485

The standard VOR

TEX METER comes with an RS232 inter

face. The protocol described below allows communication with the unit using

either a custom software program or a “dumb” terminal. All values are sent as printable ASCII characters. For RS-232 inter

face

, the start character and

two characters of address have to be omitted. For the RS485 inter

face the start character is always ‘!’ and two characters of a

ddress are follow

. The com-

mand string is terminated with a carriage return (line feeds are automatically stripped out by the VOR

TEX METER:

RS-485:

!<Addr>,<Cmd>,Arg1,Arg2,Arg3,Arg4<CR>

Example: !12,VF<CR>

RS-232:

<Cmd>,Arg1,Arg2,Arg3,Arg4<CR>

Example: VF<CR>

Where:

!

Start character **

Add

r

R

S485 device address in the ASCII representation of hexadecimal (00 through FF are valid).**

Cmd

The one or two character command from the table below

.

Arg1 to Arg4

The command arguments from the table below

. Multiple arguments are comma delimited.

CR

Carriage return character

.

** Default address for all units is set to 11 hex. Do not submit start character and device address for RS-232 option.

Several examples of commands follow

. All assume that the VOR

TEX METER has been configured for address 18 (12 hex) on the RS485

bus:

1.

To

get a volumetric flow reading:

!12,VF<CR>

The device will reply:

!12,50.0<CR> (Assuming the flow is at 50.0% FS)

2.

To

get current Flow Alarm status:

!12,F

A,S<CR>

The device will reply:

!12,F

AS:N<CR> > (Assuming no alarm conditions)

3.

To

get T

o

talizer#1 reading:

!12,T

,1,R<CR>

The device will reply:

!12,T1R:93.5<CR> (Assuming the T

o

talizer#1 reading is 93.5)

4.

Set the volumetric flow high and low alarm limit to 90% and 10% of full scale flow rate:

!12,F

A,C,V

,90.0,10.0<CR>

The device will reply:

!12, F

AC:V

,90.0,10.0<CR>

APPENDIX B

Advertising