Prog1 – Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 142

Advertising
background image

Chapter
Commands

10

10 -12

Important: Before you attempt to program an EEPROM, read the PROG,
PROG1, PROG2, and MODE sections of this chapter. Also see CALL 78
(page 13 -8). If you have already used a PROG2, PROG1 supercedes it.

Use the PROG1 command to program the resident EEPROM with port
information for all three ports as well as store MTOP (page 9 -18)
information. At module power up, the BASIC module reads this
information and initializes MTOP and all three serial ports. The sign-on
message is sent to the console immediately after the module completes its
reset sequence. If the communication rate on the console device changes,
you must re-program the EEPROM to make the module compatible with
the new console. Re-program by changing the appropriate port or MTOP
information, then execute PROG1 again.

The flowchart on page 10 -14 shows the BASIC module operation from a
power-up condition using PROG1 and PROG2, or battery backed RAM.

Syntax

PROG1

Return

Example

READY

>PROG1

PROGRAMMING SEQUENCE WAS SUCCESSFUL

PROG1

Advertising