23-6 XL-BASIC Programming Guide
XL™ SERIES
XL-BASIC Command Summary:
PROGRAM FLOW / CONTROL COMMANDS
COMMAND
DESCRIPTION
REM
Add remarks to the program for documentation.
DELAY(xxxx)
Delay or wait for xxxx milliseconds, 1 to 65000.
GOSUB xxxx
Go to a subroutine at line number ‘xxxx’.
RETURN
Return from the subroutine.
GOTO xxxx
Go to line number ‘xxxx’.
FOR / TO / NEXT
Loop commands
IF / THEN
Conditional program execution
END
End marker for all programs.
SENSOR INPUT COMMANDS
MEASURE(xxxxx)
Take a new measurement from the selected input.
VXON
Turn on the 5.0 volt excitation.
VXOFF
Turn off the 5.0 volt excitation.
P12VXON
Turn on the 12 volt excitation. (Hardware Rev N and newer only)
P12VXOFF
Turn off the 12 volt excitation. (Hardware Rev N and newer only)
SETDIG1
Set digital I/O 1 high.
SETDIG2
Set digital I/O 2 high.
CLEARDIG1
Clear digital I/O 1 to a low state.
CLEARDIG2
Clear digital I/O 2 to a low state.
CURRENTLOOP(a)
Set the 4 to 20 mA current output level to ‘a’.
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 ...