20-2
CAMBASIC
6000 Series user’s manual
CAMBASIC task types
Event Multitasking lets you do a number of system tasks in the back-
ground while you execute your program. The following tasks are avail-
able in CAMBASIC:
n
Calling subroutines every 0.01 to 655 seconds
Note
Use ON TICKA and ON TICKB statements to call subroutines.
n
8 counters with an interrupt on a present count
n
8 programmable timed outputs
n
8 interrupts on changes in digital inputs
n
Keypad scanning and debounce
n
Capturing serial input without slowing or stopping the program
n
Printing data without slowing the program.
Easy-to-write programs
CAMBASIC is termed as the “no hassle” embedded language. It only
takes four simple steps to write the program and much less time than C.
1. At the C:> prompt, type CAMBASIC.
2. Write your program. CAMBASIC comes with several programming
examples.
3. Debug your program.
4. Type SAVE name.
Keyboard mode to debug hardware
The immediate keyboard mode used to examine system components and
wiring hardware can quicken system debugging. The BIT command can
be used to turn on and off motors, relays, etc. Even if C or another
language is used for the applications program, CAMBASIC is always in
flash and remains a fast and useful tool to validate correct system
operation.
Built-in help and error messages
CAMBASIC has built-in help messages for pin-pointing problems. For
example, when an error occurs in a user program, the syntax of the
command that caused the error is displayed.
Summary of Contents for 6000 Series
Page 7: ...Notice to user PC 500 user s manual ...
Page 9: ...About this manual 6000 Series user s manual ...
Page 37: ...2 20 Quick start 6000 Series user s manual ...
Page 65: ...5 16 Serial ports 6000 Series user s manual ...
Page 87: ...6 22 EZ I O 6000 Series user s manual ...
Page 103: ...8 8 Analog I O 6000 Series user s manual ...
Page 119: ...14 2 PC 104 expansion 6000 Series user s manual ...
Page 133: ...16 4 Watchdog timer reset and remote reset 6000 Series user s manual ...
Page 139: ...17 6 Serial EEPROM 6000 Series user s manual ...
Page 157: ...21 2 Software utilities 6000 Series user s manual ...
Page 161: ...22 4 Troubleshooting 6000 Series user s manual ...
Page 177: ...A 16 6010 technical data 6000 Series user s manual ...
Page 215: ...D 16 6040 technical data 6000 Series user s manual ...
Page 229: ...F 2 Miscellaneous 6000 Series user s manual ...