The text of a manual · part 21 of 55
Hand-Held Terminal (Catalog Number 1747-PT1) User Manual: 10 - Downloading/Uploading a Program
Pages 177 to 182 of 486, from Hand-Held Terminal (Catalog Number 1747-PT1) User Manual
The original document is the PDF (1.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1747-PT1
Page 177
Chapter
10
Downloading/Uploading a Program This chapter discusses how to: • download a program from the HHT to a processor • upload a program from a processor to the HHT➀
Downloading a Program
When you have finished creating your program offline, you must download it from the HHT to a processor. In this example you will download program 1000, that you created in the previous chapters. 1. Start at the main menu: SLC 500 PROGRAMMING SOFTWARE Rel. 2.03 1747 – PTA1E Allen–Bradley Company Copyright 1990 All Rights Reserved PRESS A FUNCTION KEY SELFTEST TERM PROGMAINT F1
F2
F3
OFL UTILITY F4
F5
2. Press [F5], UTILITY. The following display appears if a password is required: SLC 500 PROGRAMMING SOFTWARE Rel. 2.03 1747 – PTA1E Allen–Bradley Company Copyright 1990 All Rights Reserved ENTER PASSWORD: F1
F2
OFL F3
F4
F5 or this display appears after the password is entered or if a password is not required: File Name: 222 File Name 0 1 2 222 3 ONLINE
WHO
F1
F2
Prog Name:1000 Type Size(Instr) System 77 Reserved 0 Ladder 13 Ladder 1 OFL PASSWRD CLR_MEM F3
F4
F5
➀ APS uses the terminology restoring for downloading and saving for uploading.
10–1
Page 178
Chapter 10 Downloading/Uploading a Program
In this example assume that the HHT has not been previously attached to a processor. 3. Press [F2], WHO. 4. Use the [↑] and [↓] keys to display node 4 as the current node. The display should appear as follows: Node Addr. 4 5 1 3
Device 5/01 5/02 TERMINAL 500–20
Node Addr: DIAGNSTC
4
F1
F2
Max Addr./Owner (5) (5) (5) (5)
Indicates that node 4 is the current node.
Baud Rate: 19200 OFL ATTACH NODE_CFG OWNER F3
F4
F5
5. Press [F3], ATTACH. Either the following display appears if a program is not in processor memory: Program Directory Programmer Processor Prog: 1000 Prog: DEFAULT File: 222 File: Exec Files: 4 Exec Files: 3 Data Files: 9 Data Files: 3 DEFAULT FILE IN PROCESSOR PRG OFFLINE DWNLOAD CLR_PRC MEM_PRC F1
F2
F3
F4
DEFAULT indicates that a program is not in the processor.
F5 or this display appears if a program is in processor memory: Program Directory Programmer Processor Prog: 1000 Prog: 1952 File: 222 File: Exec Files: 4 Exec Files: 3 Data Files: 9 Data Files: 9 PROGRAM FILES DIFFER PRG OFFLINE UPLOAD DWNLOAD MODE CLR_PRC F1
F2
F3
F4
F5
1952 (or anything other than DEFAULT) indicates that a program is in the processor. The processor node address that you have attached to and the processor operating mode are intermittently displayed. The processor must be in the Program mode.
Important: The processor must be in the Program mode to download a program. If the above display appears and the processor is not in the Program mode, do the following: a. Press [F4], MODE. b. Press [F5], PROGRAM. c. Press [F2], YES. d. Press [ESC]. Refer to the following chapter for details regarding processor modes.
10–2
Page 179
Chapter 10 Downloading/Uploading a Program
6. Press [F3], DWNLOAD. The following display appears: Program Directory Programmer Processor Prog: 1000 Prog: 1952 File: 222 File: Exec Files: 4 Exec Files: Data Files: 9 Data Files: DOWNLOAD TO PROCESSOR? PRG YES NO F1
F2
F3
F4
3 9
F5
7. Press [F2], YES to confirm. If necessary, the HHT requests you to compile the program. When complete, the display then changes as follows: File Name: 222 File Name 0 1 2 222 3 OFFLINE F1
Prog Name:1000 Type Size(Instr) System 76 Reserved 0 Ladder 56 Ladder 0 PRG UPLOAD DWNLOAD MODE CLR_PRC> F2
F3
F4
F5
You are now ready to perform the functions described in the following chapters. These functions are: • change processor operating mode • transfer memory • monitor or edit data files • monitor online program operation
! Uploading a Program
ATTENTION: If forces are installed in an offline program, they are downloaded to the processor in their last state. Be absolutely certain that the installed forces will not cause unexpected machine operation before continuing.
Any changes made to a program running in a processor, such as data file values or bit changes, or I/O forces installed, reside in the processor RAM. If you wish to save these changes, you must upload the program from the processor to the HHT. Also, if you wish to monitor a program, other than the program stored in the HHT, you must upload that program.
!
ATTENTION: Uploading a program to the HHT clears the current HHT program from memory. There is no way to recover this program.
10–3
Page 180
Chapter 10 Downloading/Uploading a Program
In this example you will upload program 03CLOCK stored in processor node 3. The processor can be in any mode to upload a program. 1. Start at the main menu display: SLC 500 PROGRAMMING SOFTWARE Rel. 2.03 1747 – PTA1E Allen–Bradley Company Copyright 1990 All Rights Reserved PRESS A FUNCTION KEY SELFTEST TERM PROGMAINT F1
F2
F3
OFL UTILITY F4
F5
2. Press [F5], UTILITY. The following display appears if a password is required: SLC 500 PROGRAMMING SOFTWARE Rel. 2.03 1747 – PTA1E Allen–Bradley Company Copyright 1990 All Rights Reserved ENTER PASSWORD: F1
F2
OFL F3
F4
F5 or this display appears after the password is entered (for the current offline program, which is 1000) or if a password is not required: File Name: 222 File Name 0 1 2 222 3 ONLINE
WHO
F1
F2
Prog Name:1000 Type Size(Instr) System 77 Reserved 0 Ladder 13 Ladder 1 OFL PASSWRD CLR_MEM F3
F4
F5
3. Press [F2], WHO, then use the [↑] and [↓] keys to display node 3 as the current node. The display should appear as follows: Node Addr. 3 4 5 1
10–4
Device 500–20 5/01 5/02 TERMINAL
Node Addr: DIAGNSTC
3
F1
F2
Max Addr./Owner (5) (5) (5) (5)
Baud Rate: 19200 OFL ATTACH NODE_CFG OWNER F3
F4
F5
Indicates that node 3 is the current node.
Page 181
Chapter 10 Downloading/Uploading a Program
4. Press [F3], ATTACH. If a password is required for program 03CLOCK, the following display appears: Program Directory Programmer Processor Prog: 1000 Prog: 03CLOCK File: 222 File: 03M Exec Files: 4 Exec Files: 3 Data Files: 9 Data Files: 9 ENTER PASSWORD: PRG F1
F2
F3
F4
F5 or this display appears after the password is entered (for the current online program, which is 03CLOCK) or if a password is not required: Program Directory Programmer Processor Prog: 1000 Prog: 03CLOCK File: 222 File: 03M Exec Files: 4 Exec Files: 3 Data Files: 9 Data Files: 9 PROGRAM FILES DIFFER PRG OFFLINE UPLOAD DWNLOAD MODE CLR_PRC F1
F2
F3
F4
F5
5. Press [F2], UPLOAD. The display changes as follows: Program Directory Programmer Processor Prog: 1000 Prog: 03CLOCK File: 222 File: 03M Exec Files: 4 Exec Files: 3 Data Files: 9 Data Files: 9 OVERWRITE EXISTING PROGRAM? PRG YES NO F1 F2 F3 F4 F5
6. Press [F2], YES to replace program 1000 with 03CLOCK in the HHT RAM. Program 03CLOCK is now stored in the HHT RAM and program 1000 has been erased. You are now ready to perform the following functions: • go offline and edit the program • change processor operating mode • clear processor memory • change the password/master password • transfer memory • monitor or edit data files • monitor online program operation
10–5