Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 72

Advertising
background image

Chapter
Programming the BASIC Module

4

4 -8

If a program is in RAM and you programmed the BASIC module to
execute from RAM, the program starts running on power up.

Type

Ctrl

+

C

to stop the program. This screen appears:

.
.
.
STOP - IN LINE XXX
READY
>

Important: The system prompt

>

indicates that the BASIC module

is now in Command mode.

5.

Enter a line of the BASIC program at the system prompt

>

.

BASIC ignores spaces and automatically inserts them during a LIST
command. You can enter lowercase characters in Command mode.
However, any key words, commands, statements, variable and array
names entered in lowercase change to uppercase when you store the
program in memory.

READY
>10 REM FIRST PROGRAM
>20 PRINT “HELLO WORLD”

6.

Press

Return

to end the program line.

Advertising