beautypg.com

Remote interface reference – American Magnetics 286 Multi-Sensor Liquid Level Instrument (CE-Marked) User Manual

Page 82

background image

68

Remote Interface Reference

Command Handshaking

The Measurement Event enable register is cleared when any of the
following occurs:

The

STATus:MEAS:ENABle

0

command is executed.

The power is turned off and then back on.

5.2.6

Command Handshaking

The Model 286 provides an internal command queue that can store up to 4
commands or queries. However, it is possible that the host computer can
overwhelm the command queue by sending commands faster than the
Model 286 can execute. If the Model 286 cannot process a command due to
a full command queue, the command is ignored and the

-303, "Input

overflow"

error is reported.

Handshaking is generally not a concern unless more than 4 commands are
sent sequentially. If a query is sent, the user will normally wait for return
data for the queries before proceeding to send the next query or command.
In the case of sending numerous commands in sequence, there are two
methods available to help prevent command queue overflows which are
discussed below.

Table 5-4. Bit definitions for each of the Measurement Condition and

Measurement Event registers.

Bit Number

Decimal

Value

Definition

0 No input for CH 1

1

No valid input signal for the sensor
input assigned to Channel 1.

1 No input for CH 2

2

No valid input signal for the sensor
input assigned to Channel 2.

2 No input for CH 3

4

No valid input signal for the sensor
input assigned to Channel 3.

3 No input for CH 4

8

No valid input signal for the sensor
input assigned to Channel 4.

4

Not Used

16

Always “0”.

5

Not Used

32

Always “0”.

6

Not Used

64

Always “0”.

7

Not Used

128

Always “0”.