Execution control and interrupt support functions, Chapter 8, Chapter – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 97

1
Publication 1746-RM001A-US-P
Chapter
8
Execution Control and Interrupt Support
Functions
This chapter describes and illustrates commands that control data flow and
program transfer between ROM and RAM within the BASIC program or from the
command line. Table 8.1 lists the corresponding mnemonics.
Table 8.1 Chapter Reference Guide
If you need (to)
Use this
mnemonic
Page
Enable the interrupt capability when a DF1 packet is received.
CALL 16
Disable the DF1 packet interrupt capability.
CALL 17
Enable the SLC processor interrupt capability.
CALL 20
Disable the SLC processor interrupt capability.
CALL 21
Generate an interrupt to the SLC processor.
CALL 26
Initiate transactions defined by CALLs 27, 28, 122, and 123.
CALL 38
ROM to RAM program transfer
CALL 70
ROM/RAM to ROM program transfer
CALL 71
RAM/ROM return
CALL 72
Execute a subroutine.
GOSUB
Go to line number when an error is detected.
ONERR
Conditional GOSUB
ON-GOSUB
Generate an interrupt when TIME is equal to or greater than
ONTIME argument-line number.
ONTIME
POP argument stack to variables.
POP
PUSH expressions on argument stack.
PUSH
Return from interrupt.
RETI
RETURN from subroutine.
RETURN
Break program execution.
STOP