Call 69, Call 70: rom to ram program transfer, Call 69 call 70: rom to ram program transfer – Rockwell Automation 1771-DB BASIC MODULE User Manual
Page 260

Chapter
Call Routines 69–127
13
13 -2
Undefined. If you execute an undefined call, you receive the error
message, “
ERROR–UNSUPPORTED CALL
.”
Use this routine to shift program execution from a running ROM program
to the beginning of the RAM program.
Important: The first line of the RAM program is not executed.
We recommend that you make it a remark.
Important: There must be a next line in the ROM or RAM routine,
otherwise unpredictable events could occur that may destroy the contents
of RAM. For this reason always be sure that at least one END statement
exists following a CALL 70 or 71.
Input and Output Arguments
This routine has no input or output arguments.
Syntax
CALL 70
Example
>ROM5
>LIST
10 REM SAMPLE ROM PROG FOR CALL 70
20 PRINT “NOW EXECUTING ROM #5”
30 CALL 70 : REM GO EXECUTE RAM
40 END
>RAM
>LIST
10 REM SAMPLE RAM PROGRAM FOR CALL 70
20 PRINT “NOW EXECUTING RAM”
30 END
>ROM5
>RUN
NOW EXECUTING ROM #5
NOW EXECUTING RAM
CALL 69
CALL 70: ROM to RAM
Program Transfer