Xl™ series – Xylem XL-BASIC Programming Guide User Manual

Page 4

Advertising
background image

23-4 XL-BASIC Programming Guide

XL™ SERIES

Read Only Variables:

Variable

Type

Description

Date

Read Only

The date is returned in the format YYMMDD.0000

Time

Read Only

The time is returned in the format HHMMSS.0000

seconds

Read Only

Return the current seconds in the format SS.0000

minutes

Read Only

Return the current minutes in the format MM.0000

hours

Read Only

Return the current hours in the format HH.0000

day

Read Only

Return the current day in the format DD.0000

month

Read Only

Return the current month in the format MM.0000

year

Read Only

Return the current year in the format YY.0000

Batt

Read Only

The current battery voltage reading is returned

minbatt

Read Only

Return the minimum battery voltage measured since option was reset.

maxbatt

Read Only

Return the maximum battery voltage measured since option was reset.

tankpsi

Read Only

Return H-355 tank PSI if an H-355 is connected.

linepsi

Read Only

Return H-355 line PSI if an H-355 is connected.

purgepsi

Read Only

Returns H-355 purge PSI setting.

purgedur

Read Only

Returns H-355 purge duration setting.

bubrate

Read Only

Returns H-355 bubble rate setting.

Purge

Read Only

Returns H-355 purge status,

0 = bubbler communication error.
1 = request for purge accepted.
2 = already purging.

Resets

Read Only

Returns the number of times the system has reset.

LogvalX

Read Only

Returns the value associated to a log column when the column is setup to
perform some function on the data like calculating the average, etc. The
‘X’ is the log column 01 to 25.

Note: The read only variables may be read but should not be written. Trying to set or write one

of these variables to some value will have no affect, and the program will continue on
under normal operation. If one of these variables is set to some value and then read
again, the value returned will not be the value set by the program but will be a value
based on the function behind the variable.

Advertising