
XL™ SERIES
XL-BASIC Programming Guide 23-21
REM ASSIGN BATTERY VOLTAGE TO BASIC1 VARIABLE FOR LOGGING
BASIC1 = BATT
REM CLOSE COM PORT 3
CLOSECOM3
END
Example Program #2
Post Purge Every Scan:
It may be desirable to purge more often than once a day as provided by options in the menu
interface. The following example shows how to purge from once every scan to once every ‘n’
scans, where ‘n’ is set by the user as needed. Make sure this basic program is the last item in the
report list. In this case the purge happens at the end of the scan. This is because the purge will
create a lot of noise on the orifice line and this gives the most amount of time from the purge to
the next measurement for the noise to dissipate.
REM Program to purge every 4
scan
th
REM this value sets the number of scans to make before a purge should be done.
REM In this example a purge will be done every 4 scans.
REM If scanning every 15 minutes, then a purge every hour will be done
if a > 4 then a = 4
REM make sure counter is in range
if a < 0 then a = 4
a = a - 1
REM decrement the counter
if a == 0 then goto 100 REM if zero then purge
basic1 = 0;
REM default status flag to No Purge
end
100
purge
REM start purge
basic1 = 1
REM set status flag to indicate purging
a = 4
end
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 ...