Xylem System 5000 BASIC Manual User Manual
Page 5
![background image](/manuals/310822/5/background.png)
Basic Features and Fundamentals
The System 5000™ Data Collection Platform contains a built-in BASIC interpreter (as of
firmware version 1.2.0) allowing for more complex operations on the data logger. Many
traditional BASIC commands and features have been combined with a new subset of operations
to create the Basic 5000 language. Basic 5000 is thus able to provide a familiar BASIC base
while also providing direct access to the hardware and operations of the System 5000™.
Basic Features
• Support for traditional BASIC constructs such as goto, gosub, and line numbers
• Both number and string variables, including single and multi-dimensional arrays
• Built-in string and variable processing functions
• Easy access to COM/Serial Ports using simple PRINT and INPUT commands
• Easy access to Log Files using simple PRINT and INPUT commands
• Structured programming commands including SWITCH-CASE statements, single
and multi-line IF-THEN statements and FOR, WHILE, REPEAT, and DO loops
• User-created subroutine/function support
• Ability to use a Basic program as either an Input or an Output for any Task
• Ability to execute a program in response to Network or Serial communication
• Ability to perform complex math operations using built in trigonometric and
logarithmic functions
• Ability to use a Basic program’s returned values within Outputs (Log File, GOES, etc)
• Ability to run a program in response to incoming RS-232 serial communication
• No file size limit on Basic programs
• No limit on number of Basic programs on the system
• Easily transportable, programs appear as individual files in the Data File Manager
• Ability to perform new measurements of any hardware on Inputs (Analog,
Digital, etc) as well as Outputs (4-20mA, Digital, etc)
• Ability to retrieve current and previously measured values of any Task
• Access to system variables including current date and time and all subsets
• Ability to perform complex math operations using built in trigonometric and
logarithmic functions
• Simple program customization via the touch screen interface
3
Understanding the available functions and commands as well as the overall operations and flow
of Basic 5000 is essential to its proper use within the System 5000™. Primary Basic 5000
concepts and examples are provided below, followed by a listing of all available commands and
functions. Each command is given a description and an example of its use.
Basic Fundamentals
- H-2191
- H-223
- H-264
- H-310
- H-312
- H-3301
- H-3342
- H-335
- H-339
- H-340-CalKit
- H-340
- H-340SDI
- H-3521
- H-3531 FlashLite
- H-3551
- H-3553
- H-375 04101 WIND MONITOR-JR
- H-4161
- H-4191
- H-424MS V1.0
- H-424MS V1.1
- H-4271
- H-4280
- H-4400
- H-4401
- H-5223
- STORM 3 UPGRADE
- System 5000 User Manual
- DH-21
- BrazedPlate Heat Exchangers
- Heat Exchangers
- GL500 MULTICHANNEL DATA LOGGER
- 4046 ANALOG TO SDI-12 CONVERTER
- 4015 SDI-12 TO ANALOG CONVERTER
- iRIS-CAM Wastewater Security Camera
- SDI-12 Data Logger iRIS 220, iRIS 320, iRIS 350, iRIS 150, iRIS 300
- iRIS 150 GPRS DATALOGGERS
- iCE3 GPRS Variant
- GL500-2-1 Data Logger
- 3101 CONDUCTIVITY CONTROLLER
- 3675 pH CONTROLLER
- 378 TEMPERATURE CONTROLLER
- Expert 1400
- Expert 700
- Expert 7060_7070_Modbus
- Palmer & Bowlus flumes
- Parshall flumes
- Flow Converter 713
- MagFlux IP 68 Protection
- Magflux Electromagnetic Flow Meter
- MagFlux Day flow logger function
- Oxix Calibration
- Oxix Dissolved Oxygen Transmitter
- SuSix Sensor with Wiper - Wiper and Gasket Replacement Kit 206355
- SuSix Sensor with Wiper - Wiper and Gasket Replacement Kit 206356
- SuSix Turbidity and Suspended Solids Transmitter
- PHIX COMPACT pH and Redox Transmitter
- 701 PUMP CONTROLLER
- 712 PUMP CONTROLLER
- 704 PUMP CONTROLLER
- MY CONNECT Quick Guide
- MY CONNECT HMI display
- CONNECT Quick Guide
- CHATTER Base System install guide
- CHATTER Notification System configuration guide
- CHATTER Notification System install guide
- CHATTER RTU and E-mail
- CHATTER Base System Setup Tool Users Guide
- CHATTER Hardware Manual
- 531-532-533 DIGITAL INDICATORS
- 780 LIQUID SAMPLER
- 205546 Modbus Communication Modules for Displays
- 205547 Profibus Communication Modules
- 703 PUMP CONTROLLER
- Expert 800-900
- 702 MJK Comtroller
- 795 MJK Data Transmitter
- 795 II MJK Data Transmitter - GSM Modem
- SDI-12 RADAR
- STORM Central
- STORM 3 Basic Programming manual
- STORM 3 Getting Started Guide
- System 5000 Getting Started Guide
- XL-BASIC Programming Guide
- XL Series H-350XL
- CXA000 12 SWING SAMPLERS
- SP250 QUICK RELEASE WATER SAMPLER
- WS700 COMPOSITE/DISCRETE WATER SAMPLER
- WS700R REFRIGERATED WASTEWATER SAMPLER
- WS755 IMPROVED WASTEWATER/STORMWATER SAMPLER
- WS705 IMPROVED COMPOSITE/DISCRETE WATER SAMPLER
- WS750 WASTEWATER/STORMWATER SAMPLER
- RG600 TIPPING BUCKET RAIN GAUGE, 8 INCH
- RG700 4-20 mA Output Module
- RG200 RAIN GAUGE, 6 inch (TIPPING BUCKET)
- WE Sensor
- SP101 Solar Panel
- WE800 Weather Station
- SIT65 SATELLITE INTERNET TELEMETRY
- WIND ALARM CONTROLLER
- Expert MJK 1100-2100-3100
- 501 Electrode Control
- MJK 713 Open Channel Flowmeter