beautypg.com

H-5223 – Xylem H-5223 User Manual

Page 79

background image

Response:

None

Examples:

-> NEXTSCANAT=12:00:00

5 Command sent to the XL™.

rs

Response sent to the host system.

C.6 Sensor Input Commands

Command:

ANALOGn?

Description:

Read the analog input channel n.

Parameters:

The parameter ‘n’ is 1-4 for the four analog channels.

Response:

An ASCII string representing a voltage between -5.00 and +5.00 volts. The
response is terminated with a carriage return and a line feed.

Example:

-> ANALOG1?

5

Command sent to XL™.

Analog 1 = 3.23265

rs

Response sent to the host system.

Command

ANALOGnSLOPE?

Description:

Read the slope for the n

th

analog sensor. This value is used in the equation to

calculate the sensor value from the raw voltage reading.

Parameters:

‘n’ is 1-4.

Response:

A real number is returned, represented in ASCII text format.

Example:

-> ANALOG2SLOPE?

5

Command sent to the XL™.

Analog 2 Slope = -12.441

rs

Response sent to the
host system.

Command

ANALOGnSLOPE=XXX.XX

Description:

Set the slope for the n

th

analog sensor. This value is used in the equation to

calculate the sensor value from the raw voltage reading.

Parameters:

‘n’ is 1-4. ‘XXX.XX’ is a real number. It is to be in the format of: <+/-
>XXX<.>XX. In other words, optional sign, digits, optional decimal
point, digits, optional exponent, optional sign, exponent digits.

C-20 Remote Operation (Command Mode)

H-5223