
Introduction - 2
OUT HEAT,0
All you need is the addition of the AUTO command at the beginning of the program. N o program
lines can be blank. Each line must have a remark (') if nothing else.
3. Nonvolatile Variables
CAM BASIC has a special set of 26 process variables (A% through Z %) that are not zeroed on
power– up or reset. These variables are used in exactly the sam e manner as the normal variables.
With a battery– backed RAM module, these variables will automatically retain their values if the
power goes off. T hey also are pre-compiled, so they execute faster than standar d variables.
4. Event Multitasking
CAM BASIC provides several types of multitasking. All defined tasks operate in the background and
are checked 200 times per second on 18 MH z systems and 100 time s per second on 9 M Hz systems.
This includes periodic interrupts, counting, timed outputs, checking the keypad input, checking input
combinations, and checking inputs for a change of state.
5. Individual Bit Manipulation
Most industrial control is done on a line or bit basis, rather than an 8– line port basis. CAM BASIC
can set and reset individual bits without affecting other bits on the port. It can also cause individual
bits to be timed outputs that time out, independently of program execution.
6. Automatic Serial Data Capture
In many applications, your microcomputer card m ay be connected to a host computer, either through
a modem or radio link, or directly. The computer can transmit a message to the microcomputer card
while the card is executing a program . A n automatic interrupt can be ge nerated when the m essage is
completed, or CAM BASIC can interrogate the message at its convenience. Input and output
characters are always buffered automatically.
7. Multi dimension Num eric and String Arrays
Both numeric and string arrays may have up to 255 dimensions.
8. Error Handling
In most applications, it is important that program execution not be broken when a run time err or
occurs. C AMBASIC can trap these errors and corrective action can be taken without stopping the
program.
9. Keypad and Display Support
The DISP LAY and KEYP AD$ com mands fully support RPC keypads and displays.
10. Large Programs Supported
You can run programs as large as 32K in all cards.
11. Automatic Type C onversion
In CAMBA SIC you never need to declar e integer o r floating point variables. C AMBASIC converts
automatically, a s needed by the progr am. Data is alw ays stored as floating point, so no prec ision is
lost.
12. EEPROM Programming Supported
CAM BASIC programs ar e developed in the on– card RAM . O nce you ar e satisfied with its
operation, you type SAVE and an autorun EEPROM is programmed automatically. Your program
then runs from the EEPROM on power– up.
Commenti su questo manuale