Run a basic program -10, Run a basic program – Rockwell Automation 1746-BAS-T SLC 500 Basic Basic-T Modules User Manual

Page 58

Advertising
background image

Publication 1746-UM004B-EN-P - December 2005

4-10 Programming Overview

5. Enter a line of the BASIC program at the system prompt [

>

].

A BASIC program line always begins with a line number and
must contain at least one character, but no more than 68
characters.

6. Press

[RETURN]

to end the program line.

Run a BASIC Program

After entering your BASIC program, you are ready to run it. To run a
BASIC program, type

RUN

at the system prompt [

>

].

READY

>10 REM FIRST PROGRAM

>20 PRINT “HELLO WORLD”

READY

>RUN

HELLO WORLD

Advertising
This manual is related to the following products: