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

Page 41

Advertising
background image

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

4-2

Re-enable the

[CTRL-C]

break function.

CALL 18

4-5

Disable the

[CTRL-C]

break function.

CALL 19

4-6

Continue after a Stop or

[CTRL-C]

.

CONT

4-3

Stop execution & return to Command mode.

CONTROL-C

4-4

Restart a list after

[CTRL-S]

.

CONTROL-Q

4-8

Interrupt a list command.

CONTROL-S

4-7

Edit a line of the BASIC program.

EDIT

4-8

Delete the last BASIC program stored in ROM by a PROG
command.

ERASE

4-9

Force the module to enter “wait until interrupt mode”.

IDLE

4-10

List the program to the console devise.

LIST

4-11

List the program to the serial printer.

LIST#

4-12

List the program to the device connected to port PRT1.

LIST@

4-12

Set port parameters of ports PRT1, PRT2, and DH485.

MODE

4-12

Erase the program stored in RAM.

NEW

4-14

Set NULL count after carriage return-line feed.

NULL

4-14

Save the current program in EPROM.

PROG

4-15

Save the baud rate information in EPROM.

PROG1

4-16

Save the baud rate information in EPROM and execute the
program after reset.

PROG2

4-17

Evoke RAM mode.

RAM

4-19

Specify a remark or comment line.

REM

4-19

Renumber the BASIC program.

REN

4-20

Select ROM mode.

ROM

4-20

Select ROM mode and execute the selected program.

RROM

4-21

Execute a program.

RUN

4-22

Initiate single-step program execution.

SNGLSTP

4-23

Verify the module firmware version.

VER

4-25

Transfer a program from ROM to RAM.

XFER

4-26

Advertising