Basic commands, Chapter 4, Chapter – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 41

1
Publication 1746-RM001A-US-P
Chapter
4
BASIC Commands
This chapter describes and illustrates words and expressions that cause a function to
occur within the BASIC program or the command line. Table 4.1 lists the
corresponding mnemonics.
Table 4.1 Chapter Reference Guide
If you need (to)
Use this mnemonic Page
Set the program break point.
BRKPNT
Re-enable the
[CTRL-C]
break function.
CALL 18
Disable the
[CTRL-C]
break function.
CALL 19
Continue after a Stop or
[CTRL-C]
.
CONT
Stop execution & return to Command mode.
CONTROL-C
Restart a list after
[CTRL-S]
.
CONTROL-Q
Interrupt a list command.
CONTROL-S
Edit a line of the BASIC program.
EDIT
Delete the last BASIC program stored in ROM by a PROG
command.
ERASE
Force the module to enter “wait until interrupt mode”.
IDLE
List the program to the console devise.
LIST
List the program to the serial printer.
LIST#
List the program to the device connected to port PRT1.
LIST@
Set port parameters of ports PRT1, PRT2, and DH485.
MODE
Erase the program stored in RAM.
NEW
Set NULL count after carriage return-line feed.
NULL
Save the current program in EPROM.
PROG
Save the baud rate information in EPROM.
PROG1
Save the baud rate information in EPROM and execute the
program after reset.
PROG2
Evoke RAM mode.
RAM
Specify a remark or comment line.
REM
Renumber the BASIC program.
REN
Select ROM mode.
ROM
Select ROM mode and execute the selected program.
RROM
Execute a program.
RUN
Initiate single-step program execution.
SNGLSTP
Verify the module firmware version.
VER
Transfer a program from ROM to RAM.
XFER