Cooper Instruments & Systems DFI 200 Hand Held Indicator User Manual

Page 18

Advertising
background image

CF 112

18

Version 3.1-0

A typical format for the host command is:- <STX>CA<CR> (Standard read)

Where:
<STX> is Start of Text Character (2 Dec, 02 Hex, ^B ASCII)
C is the command character (see following commands)
A is the unit address (Range: 32 to 63 Dec, 20 to 3F Hex, “SPACE”
to ? ASCII, the address is offset by 32 Dec, 20 Hex)
<CR> is Carriage Return (13 Dec, 0D Hex, ^M ASCII)

The

commands available and instrument responses are as follows:


1. Transmit Primary Display Value: <STX>PA<CR> e.g. ^BP!^M in the terminal program (address 1). Instructs
unit to return the primary display value. The primary value is the main display reading e.g. load or pressure. Format
of returned data is:- <ACK>PAXYYYY<CR>

Where:
<ACK> is Acknowledge (6 Dec, 06 Hex)
P is the echo command received “P” (80 Dec, 50 Hex)
A is the responding units address
X is “SPACE” for positive and “-” for negative
YYYY is the display value in ASCII
<CR> is a Carriage Return (13 Dec, 0D Hex)

The number of display characters returned depends on the number of display digits present. If the decimal point is
non zero then it will be sent in the appropriate place as “.” (46 Dec, 2E Hex).

2. Transmit Secondary Display Value: <STX>SA<CR> e.g. ^BS!^M in the terminal program (address 1). Instructs
the unit to send the secondary display value. The value will equal the primary display value if the

function is

set to

. If the

function is set to

,

or

the value for the selected

operation will be returned. Format of returned data is: <ACK>SAYYYY<CR> or <ACK>SAYYYY,YYYY<CR> in the
case of

.

Where:
<ACK> is Acknowledge (6 Dec, 06 Hex)
S echo command received “S” (83 Dec, 53 Hex)
A is the responding units address
YYYY is the secondary display value in ASCII
<CR> is a Carriage Return (13 Dec, 0D Hex)

For

the primary and secondary display values will be identical. If

is used then the primary display

value transmitted will be the live input value i.e. the gross value. The secondary display value transmitted will be the
tared value i.e the nett value. For

and

the secondary display will be the held value and the

primary display the live input value. For

the secondary display returned data will be the channel number i.e.

1, 2 or 3.

3. Transmit Instrument Model and Version: <STX>IA<CR> e.g. ^BI!^M in the terminal program (address 1) Instructs
unit to return the model and version number of the instrument. Format of returned data is:- <ACK>IACCX.X<CR>

Where:
<ACK> is Acknowledge (6 Dec, 06 Hex)
I is echo command received “I” (73 Dec, 49 Hex)
A is the responding units address
CC is a 2 character model identifier e.g “Ht”
X.X is the version number (e.g.: “0.1”)
<CR> is a Carriage Return (13 Dec, 0D Hex)

Advertising