ProSoft Technology MVI56-BAS User Manual

Page 224

Advertising
background image

Reference

MVI56-BAS ♦ ControlLogix Platform

User Manual

BASIC Module (DB/BAS Compatible)

Page 224 of 234

ProSoft Technology, Inc.

December 13, 2011

The following example shows how to select and run the BASIC program at the

third location from the MVI56-BAS ROM storage area.

Example:

>ROM 3
>RUN

Using the

RROM [program location]

command allows the user to select and run

the BASIC program from ROM area. In this case, it is not necessary to use the

RUN

command.

Example:

>RROM 3

The

ROM

(or RROM) command selects the BASIC program from the ROM area

even if there is a different BASIC program in the RAM memory. For example,
commands such as

LIST

and

RUN

will refer to the program selected from ROM. In

order to select the BASIC program out of RAM memory, the

RAM

command is

used:

>RAM

The PROG1 command loads the port configuration during the power up.

Example:

>PROG1

The MVI56-BAS module allows the user to load the first BASIC program (location

n

o

1) in the ROM storage area after the module power up. In order to accomplish

this, the

PROG2

command is used.

Example:

>PROG2

After the

PROG2

command is used, the

PROG0

command can be used in order to

return the module to normal operation.

Example:

>PROG0

To delete the latest BASIC program from the ROM area, the

ERASE

command can

be used:

Example:

>ERASE

In order to check if the current program in RAM will fit in the ROM storage area

CALL 81 can be used.

Advertising