XL™ SERIES
XL-BASIC Programming Guide 23-3
Standard Input Variables:
Variable
Type
Description
Stage
Read / Write
The last measured stage value is returned. (Only available on the
H-350XL and the H-510XL)
RemStage
Read / Write
The last measured value for the remote stage variable is returned.
LastStage
Read / Write
The stage value measured on the previous scan will be returned. Only
available on the H-350).
PtTemp
Read / Write
The last measured PtTemp value is returned. (Only on the H-350XL)
PSI
Read / Write
The last measured PSI value is returned. (Only on the H-350XL)
AnaX
Read / Write
The last measured value for analog channel X (X = 1 to 4) is returned.
Freq
Read / Write
The last measured freq value is returned.
Digio1
Read / Write
The last measured input state for digital channel 1 is returned.
Digio2
Read / Write
The last measured input state for digital channel 2 is returned.
Counts
Read / Write
The last measured count value is returned.
Totcnt
Read / Write
The last measured total count value is returned.
Countrate
Read / Write
The current count rate on the counter input.
Encodr
Read / Write
The last measured encoder input value is returned.
Tscans
Read / Write
The total scans value is returned.
SdiAP
Read / Write
The last measured value for the selected SDI-12 variable is returned
A = address 0 to 9, P = parameter 1 to 9
FntXX
Read / Write
The last calculated value for function XX is returned. (XX = 01 to 40)
BasicX
Read / Write
The value of one program can be used in other programs. (X = 1 to 5)
Note:
Standard input variables are normally read only but may also be assigned a new value
directly in the XL-BASIC program regardless of the variables corresponding hardware
input condition. Be aware that based on system configuration the input variable could be
updated by the system after the variable was set by the XL BASIC program. Writing to
these variables should be avoided or only used in advanced applications. For example, in
the following segment of code, the second line makes the first line useless.
measure(ana1)
measurement analog input 1 now and update its variable.
ana1 = 12.34
Sets variable ana1 to 12.34 regardless of the voltage on analog 1.
Summary of Contents for H-350XL
Page 1: ...XL Series Models H 350XL H 500XL H 510XL H 522 H 522 Plus Owner s Manual ...
Page 30: ...2 16 Hardware Options and Installation XL Series ...
Page 42: ...3 12 Using The Built In Keypad Display XL Series ...
Page 46: ...4 4 PC Menu Interface Operation XL Series ...
Page 58: ...5 12 Miscellaneous System Setup XL Series ...
Page 66: ...6 8 Serial Port Options XL Series ...
Page 74: ...7 8 System Configuration Files XL Series ...
Page 84: ...8 10 System Status Menus Options XL Series ...
Page 88: ...9 4 Scanning Options XL Series ...
Page 156: ...15 12 Logging Options XL Series ...
Page 198: ...16 42 Operation with the GOES Radio XL Series ...
Page 216: ...19 6 Alarm Call Out XL Series ...
Page 234: ...21 8 Operation with the H 355 Smart Gas System XL Series ...
Page 246: ...22 12 Functions XL Series ...