Prog1, Prog1 -16, Purpose – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 56: Syntax, Example

Advertising
background image

Publication 1746-RM001A-US-P

4-16 BASIC Commands

PROG1

Purpose

Use the PROG1 command to program the resident EEPROM with port
information for all three ports as well as store MTOP information. At module
powerup, the 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 baud 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.

Syntax

PROG1

Example

READY

>PROG1

Programming sequence successful.

IMPORTANT

If you exceed the available EEPROM space, you cannot continue
programming until it is erased. Use the ERASE command to erase
the last program stored in EEPROM. Be sure to use CALL 81 or
CALL 82 to determine memory space prior to programming your
EEPROM. Refer to chapter 5 for information regarding CALLs
81 and 82.

IMPORTANT

Before you attempt to program an EEPROM, read the PROG,
PROG1 and PROG2 sections of this chapter.

Advertising