Command: xfer, Command: prog – Rockwell Automation 1771-DB Basic Module User Manual - Series A User Manual
Page 49

Operating Functions
Chapter 5
5–12
Action
taken: The XFER (transfer) command transfers the current
selected
program in EPROM to RAM and then selects the RAM
mode. If
you type XFER while the BASIC Module is in the RAM
mode,
the program stored in RAM is transferred back into RAM
and
the RAM mode is selected. After the XFER command
executes, you can edit
the program in the same way you edit any RAM
program.
Important: The XFER command
clears existing RAM programs.
Important: Before
you attempt to program a PROM, read the PROG,
PROG1
and PROG2 sections of this chapter. Some PROG options
exclude
the use of others.
Action
taken: The PROG command programs the resident EPROM
with the current
program. The current selected program may reside in
either RAM or EPROM. See Section 3.4, titled “Installing
the User
Prom”, for
additional information concerning EPROM’s.
Important: Be
sure you have selected the program you want to save
before
using the PROG command. Your module does not automatically
copy the RAM program to
ROM. You must also disable interrupts prior
to the PROG, PROG1
or PROG2 commands using CALL 8 and
enable interrupts
after the PROM is burned using CALL 9. If an
error
occurs during EPROM programming, the message ERROR
PROGRAMMING is
displayed. When this error occurs:
previously
stored programs may or may not be accessible.
you cannot
store additional programs on this PROM.
After you type
PROG(cr), the BASIC Module displays the number in
the EPROM FILE
the program occupies. Programming can take
up to 12 minutes
to complete depending on the length of the program
(51 seconds per K bytes of program).
5.3.12
Command: XFER
5.3.13
Command: PROG