ProSoft Technology MVI56-BAS User Manual

Page 52

Advertising
background image

Using the Program Port (PRT1)

MVI56-BAS ♦ ControlLogix Platform

User Manual

BASIC Module (DB/BAS Compatible)

Page 52 of 234

ProSoft Technology, Inc.

December 13, 2011

5.4.4 Using XRAM and EPROM Programs as Subroutines

The BASIC programs are limited to the size of program that you can squeeze

into XRAM. However, you can create larger programs by using CALLs 70, 71,

and 72. These three CALLs allow you to use XRAM and EPROM programs as

subroutines.

5.4.5 Automatically Executing ROM 1 at Power-up

If the setup jumper is off, then the program in XRAM will automatically be

executed at power-up. You can change the module to automatically execute

ROM 1 at power-up by using the PROG2 command. The PROG2 will have the

same effect at power-up as someone typing RROM 1 (or ROM 1, RUN). If at a

later time you want to stop executing ROM 1 at power-up, use PROG0 to clear

the effect of PROG2.

Advertising