VersaMax
Nano/Micro
Revision:
4.13
Download
this page along with the Notes and Wiring Diagrams as a Microsoft Word file
"Notes.doc" for best printing. This file is included on the disks that
come with the MSP and with all driver downloads.
Data Memory Usage. The
following are block diagrams show the flow of execution and the data resources used by the
different drivers. Note that single channel drivers use the memory in the driver logic.
The multiplexed drivers use a separate block of storage register for each channel. The
data in the storage block is moved into and out of the memory used by the driver logic.
Single Input

Single Output

Multiplexed Input

Multiplexed Output

Logic Memory Usage
VersaMax MICRO
| Driver |
Channels |
Memory |
| |
Input |
Output |
Used |
Available Basic |
Used % Basic |
For First Point |
For Second Point |
| Msp_I |
1 |
|
688 |
18432 |
4% |
|
|
| Msp_I_M |
2 |
|
960 |
18432 |
5% |
880 |
80 |
| Msp_I_H |
1 |
|
352 |
18432 |
2% |
|
|
| Msp_IO |
1 |
1 |
1520 |
18432 |
8% |
|
|
| Msp_IO_M |
2 |
2 |
1704 |
18432 |
10% |
|
|
| Msp_O |
|
1 |
768 |
18432 |
4% |
|
|
| Msp_O_M |
|
2 |
1200 |
18432 |
7% |
1024 |
176 |
Additional reductions in memory usage are possible using the following
techniques:
- Eliminate rung comments
- Incorporated logic in the top level subroutine into the main program
- Eliminate the Output on Demand logic for outputs.
- Eliminate the Scan Time Ratio logic for outputs.
In total these changes can result in 1% to 2% reduction in the driver
size. It is felt that documentation and additional features justified the
additional memory. If memory usage reductions are necessary please contact
us for more information.
|