Rockwell-automation 1746-BAS BASIC LANGUAGE User Manual Page 104

  • Download
  • Add to my manuals
  • Print
  • Page
    / 280
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 103
Publication 1746-RM001A-US-P
8-8 Execution Control and Interrupt Support Functions
CALL 70 – ROM to RAM
Program Transfer
Purpose
Use CALL 70 to shift program execution from a running ROM program to the
beginning of the RAM program. No arguments are PUSHed or POPped.
Syntax
CALL 70
Example
READY
>LIST
1 REM EXAMPLE PROGRAM
10 REM SAMPLE ROM PROGRAM FOR CALL 70
20 PRINT “NOW EXECUTING ROM 5”
30 CALL 70 : REM GO EXECUTE RAM
40 END
READY
>RUN
NOW EXECUTING ROM 5
NOW EXECUTING RAM
READY
>LIST
1 REM EXAMPLE PROGRAM
10 REM SAMPLE RAM PROGRAM FOR CALL 70
20 PRINT “NOW EXECUTING RAM”
30 END
READY
IMPORTANT
The first line of the RAM program is not executed. We
recommend that you make it a remark.
Page view 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 279 280

Comments to this Manuals

No comments