Specifications
Introduction - 2
4. Event Multitasking
CAMBASIC provides several types of multitasking. All defined tasks operate in the background and
are checked 200 times per second on 18 Mhz systems and 100 times per second on 9 Mhz 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. CAMBASIC
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 may 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. An automatic interrupt can be generated when the message is
completed, or CAMBASIC can interrogate the message at its convenience. Input and output
characters are always buffered automatically.
7. Multidimension Numeric 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 error
occurs. CAMBASIC can trap these errors and corrective action can be taken without stopping the
program.
9. Keypad and Display Support
The DISPLAY and KEYPAD$ commands fully support RPC keypads and displays.
10. Large Programs Supported
You can run programs as large as 32K in all cards.
11. Automatic Type Conversion
In CAMBASIC you never need to declare integer or floating point variables. CAMBASIC converts
automatically, as needed by the program. Data is always stored as floating point, so that no precision
is lost.
12. EEPROM Programming Supported
CAMBASIC programs are developed in the on–card RAM. Once you are satisfied with its operation,
you type SAVE and an autorun EEPROM is programmed automatically. Your program then runs
from the EEPROM on power–up.
13. Process Functions Simplify Programming
Most functions return the result of a numeric or string calculation. A process function manipulates
and acquires data from a hardware device. For example, the AIN function causes the A/D converter
to begin its conversion. When the converter has finished, the data is read and converted to the
appropriate format .
14. Trace and Debug Capability
The TRON and TROFF statements can be invoked to print out line numbers as the lines are executed.
15. Assembly Code and Compiled “C” Programs From BASIC
Assembly code and compiled “C” programs may be combined with CAMBASIC programs. The