Command: prog1, Command: prog2 – Rockwell Automation 1771-DB Basic Module User Manual - Series A User Manual
Page 51

Operating Functions
Chapter 5
5–14
Action taken:
You can use the PROG1 command to program the
resident EPROM with
baud rate information. When the module is
“powered-up”
the module reads this information and initializes the
program port with the stored baud rate. The
“sign-on” message is sent to
the
console immediately after the module completes its reset
sequence.
If the baud rate on the console device is changed you must
program
a new EPROM to make the module compatible with the new
console.
If
you have already used a PROG2 command, you cannot use the
PROG 1 command.
Action taken:
The PROG2 command functions the same as the
PROG1 command
except for the following. Instead of “signing-on” and
entering the command
mode, the module immediately begins executing
the first program stored in the resident EPROM, if no program
is stored
in RAM. Otherwise it
executes the RAM program. You can use the
PROG2 command to RUN a program on power-up without
connecting to
a console.
Saving PROG2 information is the same as typing a ROM 1,
RUN command sequence. This feature
also allows you to write a special
initialization
sequence in BASIC and generate a custom “sign-on”
message for specific applications.
If
you have already used a PROG1 command, you cannot use the
PROG 2 command.
5.3.14
Command: PROG1
5.3.15
Command: PROG2