The text of a manual · part 5 of 59
Mini-PLC-2/02, 2/16, 2/17 Processor (cat. no. 1772-LZ, LZP, LX, LXP, LW, LWP) User Manual: 3 - Hardware Features
Pages 27 to 39 of 490, from Mini-PLC-2/02, 2/16, 2/17 Processor (cat. no. 1772-LZ, LZP, LX, LXP, LW, LWP) User Manual
The original document is the PDF (2.4 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 1772-LW /LWD, Allen-Bradley 1772-LWP, Allen-Bradley 1772-LX / LXP and Allen-Bradley 1772-LZP
Page 27
Chapter
3
Hardware Features
Chapter Objectives
This chapter is a summary of the Mini-PLC-2/02, -2/16, and -2/17 processors. In this chapter, you will read about: major features processor features series changes special features optional equipment
Major Features
A complete processor system consists of the following major components: a processor I/O chassis power supply as many as 16 I/O modules industrial terminal (cat. no. 1770-T3)1
Processor Features
This manual incorporates the features and instructions of three processors: Mini-PLC-2/02, -2/16, and -2/17. Unless stated otherwise, assume that the features or instructions are common to all processors. memory and data table memory protection above word address 1778 self-contained 120/220V AC power supply in cat. nos. 1772-LWP and 1772-LXP; cat. no. 1772-LZP supplies an additional 4A to the backplane for I/O mode select key switch diagnostic indicators I/O capacity:
128 for Mini-PLC-2/02 256 for Mini-PLC-2/16 512 for Mini-PLC-2/17
1/2-, 1-, or 2-slot addressing 1 Series C of the T3 terminal gives you the additional features required to take full advantage of all of the processor functions described. See Industrial Terminal section of this chapter.
3-1
Page 28
Chapter 3 Hardware Features basic instruction set: - relay-like instructions up to 488 timers and counters in the processors program control instructions data manipulation and comparison three-digit math (add, subtract, multiply, and divide)
advanced instruction set: - jump instructions and subroutine programming block transfer instructions data-transfer file instructions sequencer instructions bit shift register instructions (bit shifts)
- EAF functions: 6-digit add, subtract, multiply and divide, square root, Binary/BCD conversions, FIFO Load and Unload, log10, sine, cosine, 10x - The Mini-PLC-2/17 can perform these additional EAF functions: loge, y+/- x and e+/- x, reciprocal of x, averaging, standard deviation, PID, clock and calendar
Series Changes
The additional features of the various series of the processors are outlined in Table 3.A. Important: The processor features described in the previous section apply to all series except where noted in Table 3.A.
3-2
Page 29
Chapter 3 Hardware Features
Table 3.A Additional Features of Mini-PLC-2 Processors AA Batt Mini-PLC-2/02 Series A Series D Mini-PLC-2/16 Series A Series B Rev A or B Series B Rev C or later Series C Series D Mini-PLC-2/17 Series A Series B Rev A or B Series B Rev C or later Series C Series D
Special Features
X
X
12.5msec/ K Scan
1/2AA Batt
Key Switch
Last State
1/2-Slot Addr
Bit Shift
7.5msec/ K Scan
Memory
X
X X
X X
X X
X X
X X
X
1K 2K
X X
X
X
X
X
X
X
X X
X X
X X
X
X X
3K 3K X
X
X X
X X
X
X
X
6K 6K
X
X
X
X
6K
X X
X X
X X
X X
6K 7.75K
X X
X X
3K X
3K 4K on-line data change on-line programming selectable timed interrupt enables recurring subroutine self-contained lithium battery for memory full I/O forcing when using 2-slot addressing, I/O forcing only on rack 1 addresses when using 1-slot or 1/2-slot addressing and a series B 1770-T3 terminal, or earlier. The series C 1770-T3 terminal allows full I/O forcing when using 2-slot, 1-slot or1/2-slot addressing. data highway interface report generation
Processors
The front panels of the processors are nearly identical. The only visual difference between them is the catalog number across the bottom of the processor (Mini-PLC-2/02, Mini-PLC-2/16, or Mini-PLC-2/17).
3-3
Page 30
Chapter 3 Hardware Features
Figure 3.1 Without a Power Supply
PROC indicator lights green for normal operation and red for a processor fault. Off indicates that you are in Program Mode or a possible run-time error. You reset this LED by cycling power. PROC F A U L T
R U N
BATT (Red) lights when battery should be replaced. BATT
Key Switch selects one of four positions:
RUN R/P
MEM STORE
BATTERY INSTALLED
INTFC
PROG: Program R/P: Run/Program RUN: Run MEM STORE: Transfer program to MEM STORE backup EEPROM Battery backup helps protect stored memory. Interface Port allows you to connect information sources such as a 1770-T3 terminal, hand-held terminal. Data Highway or Report Generation module.
10294-I MINI-PLC-2/17
3-4
Page 31
Chapter 3 Hardware Features
Figure 3.2 With a Power Supply
Green LED lights for normal power supply operation.
Port allows you to parallel the processor power supply with another power supply in the I/O chassis.
PROC indicator lights green for normal operation and red for a processor fault. Off indicates that you are in Program Mode or a possible run-time error. You reset this LED by cycling power. PROC F R A U P/S U N ACTIVEL T P / BATT S P R L RUN
R/P P R O G
BATT (Red) lights when battery should be replaced. Key Switch selects one of four positions: PROG: Program R/P: Run/Program RUN: Run MEM STORE: Transfer program to MEM STORE backup EEPROM
MEM STORE
Battery backup helps protect stored memory. BATTERY INSTALLED
Toggle switch controls the processor power supply. Fuse holder for a 1A, 250V, slow-blow power supply fuse.
120/220VAC terminals: L1 - Line L2/N - Line (220V)/Neutral (120V) GND - Ground Bus
POWER INTFC ON
Interface Port allows you to connect information sources such as a 1770-T3 terminal, hand-held terminal. Data Highway or Report Generation module.
OFF
1A 250V SLOW BLOW 120/220 V.A.C. L1 L2/N GND MINI-PLC-2/17 W/POWER SUPPLY
Line Voltage Selector Switch (located in rear) 10295–I
Mode Select Key Switch You can place the processor in any one of three modes of operation or program the EEPROM with the key switch located on the front of the processor.
3-5
Page 32
Chapter 3 Hardware Features
PROG – You can enter and edit your program from the 1770-T3 industrial terminal. User program and I/O are not scanned when the switch is in this position and outputs are disabled. You cannot change to another mode of operation with the 1770-T3 terminal when the switch is in this position. R/P – When your key switch is in this position, the processor can be programmed for any one of three modes of operation. Run/Program – Change your key switch from PROG through R/P to RUN and back to R/P or, using the 1770-T3 terminal, press the key sequence SEARCH 590. In this mode, your program is continuously scanned and executed. You can: - make on-line changes to the data table force instructions make on-line programming changes select remote mode of operation
Remote Program – Change your key switch from PROG to RP or, using a 1770-T3 terminal, press the key sequence SEARCH 592. In this mode: - you can enter and edit a program. - the processor stops scanning and executing its stored program and waits for commands from the programmer. Remote Test – Use this mode to test your program. Using a 1770-T3 terminal, press the key sequence SEARCH 591. 1. 2. 3.
program is executed inputs are scanned outputs are disabled
RUN – The processor scans and executes your program. You cannot change to another mode of operation with the 1770-T3 terminal when the switch is in this position nor can you alter the program or change any data. MEM STORE – The processor will load your program to be backed up by EEPROM when you switch to this position, then to PROG, then back to the MEM STORE position within one second. Battery Backup Memory contents may be lost when the processor loses power. A battery in the processor guards against loss of data. The battery holder accepts a AA lithium battery (cat. no. 1770-XZ).
3-6
Page 33
Chapter 3 Hardware Features
ATTENTION: Use only an Allen-Bradley authorized 1770-XZ 3.6V “1/2AA” size (Tadiran TL 2150 Type 1/2AA/s lithium thionyl chloride battery with pressure contacts. Using an unauthorized battery could result in sub-standard performance of your processor.
See chapter 4 for details about battery installation and disposal. INTFC (socket) The 15 pin socket, labeled INTFC, provides communication between the processor and the programming terminal (1770-T3 or 1784-T50), the 1770-RG report generation module, the 1770-T11 hand held terminal, the 1772-KG interface module or 1771-KA communications interface module. Processor Module and:
Through:
Catalog Number:
Industrial Terminal (cat. no. 1770-T3)
PLC-2 Program Panel Interconnect Cable
1772-TC
Industrial Terminal (cat. no. 1784-T50)
PLC-2 Program Panel Interconnect Cable
1772-TC or 1784-CP2
Data Highway Communication Modules
Data Highway/Processor Cables
1771-CN, -CO, or -CR
PLC-2 Family Report Generation Module (cat. no. 1770-RG)
PLC-2 Program Panel Interconnect Cable
1772-TC (with external ground wire only)
The 1784-T50 also requires PLC-2 6200 programming software (cat. nos. 6201-PLC2, 6203-PLC2, 6211-PLC2, or 6213-PLC2).
Optional Equipment
Industrial Terminal Use a 1770-T3 terminal (Figure 3.3) to program your processor. With this 1770-T3 terminal you can enter, edit, test, and troubleshoot your program. Figure 3.3 An Industrial Terminal System
10697-I
3-7
Page 34
Chapter 3 Hardware Features
We recommend that you use a series C, revision C or later 1770-T3 terminal; earlier versions do not provide full functionality. You can use a 1770-T1 or 1770-T2 industrial terminal to program the processors; however, only instructions supported by these terminals can be programmed.
ATTENTION: Programs entered using a 1770-T3 Industrial Terminal must not be edited with either a 1770-T1 or a 1770-T2 industrial terminal. Such editing could result in unexpected operation with possible damage to equipment and injury to personnel.
When using 1-slot or 1/2-slot addressing, use a series C 1770-T3 terminal to obtain full compatibility with the processor. With this series terminal, you can perform the following operations in rack 1, 2, 3 or 4. immediate I/O block transfer full forcing Installing the 1770-T3 Terminal Before you start to program your processor make sure all of your peripheral equipment is installed properly. Follow these basic instructions to connect the 1770-T3 terminal to the processor (Figure 3.4). Figure 3.4 The Connections Between an Industrial Terminal and a Processor Mini-PLC-2/02, -2/16, -2/17
Industrial Terminal (rear view)
Channel A PLC-2 Family
3-8
Program Panel Interconnect Cable
Interface 10249
Page 35
Chapter 3 Hardware Features
1.
Connect one end of the PLC-2 Program Panel Interconnect Cable (cat. no. 1772-TC) to CHANNEL A at the rear of the industrial terminal.
2.
Connect the other end of the cable to the socket labeled INTFC at the front of the processor.
3.
Place the PLC-2 Family Keytop Overlay (cat. no. 1770-KFA) (Figure 3.5) onto the keyboard.
Figure 3.5 A PLC-2 Family Keytop Overlay
MODE SELECT
DATA INIT
RECORD
RUNG
DISPLAY
HELP
SHIFT
EXPAND ADDR
CANCEL COMMAND
-(RET)-
LBL
EAF
-(JSR)-
-(JMP)-
-(SCT)-
CONVERT
SEARCH
INSERT
CLEAR MEMORY
SBR T.END
-(
REMOVE
÷ )-
-[ G ]-
-( X )-
-[ I ]-
-[ = ]-
-( – )-
-( + )-
-(CTU)-
-[ L ]-
-[ < ]-
-(PUT)-
-(TON)-
-(CTD)-
-[ B ]-
-(IOT)-
FILE
-( L )-
-(TOF)-
-(CTR)-
-(ZCL)-
SEQ
-(RTR)-
BLOCK X-FER
A 7
B 8 D 4
-( U )-
-(RTO)-
SHIFT REG
-(MCR)-
-( )-
C 9 E 5
1
FORCE ON
F 6 2
3
0
FORCE OFF
4.
Plug the ac power cord of the terminal into the ac power source.
5.
If using a 1772-LWP, -LXP, or -LZP processor, plug the power cord into the ac power source.
6.
Turn the power switch on the front of the industrial terminal to the ON position.
7.
Turn the power switch of the 1772-LWP, -LXP, -LZP processor to the ON position.
3-9
Page 36
Chapter 3 Hardware Features
8.
After a short while the following display appears.
DIAGNOSTICS PASSED MODE SELECTION KEYBOARD MODULE 1770-FD C SERIES B/H INSERT KEYTOP OVERLAY:
MODE: 10 = PLC 11 = PLC-2
1770-KBA 1770-KCB
12 = ALPHANUMERIC
1770-KAA
FOR USE WITH THE FOLLOWING PROCESSORS: PLC MINI-PLC-2,PLC-2 PLC-2/02 PLC-2/05,PLC-2/15 PLC-2/16,PLC-2/17 PLC-2/20(PL1) PLC-2/20(LP2) PLC-2/30
SELECT DESIRED MODE?
9.
Select the PLC-2 mode by pressing [1] [1] on the 1771-T3 terminal.
Industrial Terminal Keyboard The detachable keyboard houses PROMs, a sealed touchpad, and a keytop overlay. There are three keytop overlays: PLC-2 family processor –– for use with any PLC-2 family processor. PLC processor –– for use with any PLC family processor. Alphanumeric –– for alphanumeric characters and graphic characters generation. Key Symbols –– There are no numbered keys greater than 9. To display numbers greater than 9 press the individual keys. For example: To display: Press individually:
3-10
10 [1][0]
234 [2][3][4]
Page 37
Chapter 3 Hardware Features
Some keys have two symbols occupying one key (Figure 3.5). To display the top section of each key, press your shift key before the desired symbol. For example: To display: Press individually:
7 7
A [Shift] A
Data Monitor Functions –– You can display on a CRT and print directly to a data terminal – binary, hexadecimal, and ASCII data monitor functions with the keystrokes in Table 21.B. Data Cartridge Recorder The data cartridge recorder is a portable recorder that loads programs into and records the memories of the programmable controllers. Be sure switch no. 8 of the backplane switch group is OFF (disable memory protect) to load a program from a cartridge. See the Data Cartridge Recorder User Manual, publication 1770-6.5.4, for details.
ATTENTION: You must ensure that the addressing mode stored on the data cartridge and the current addressing mode selected for the rack are the same prior to uploading a data cartridge. Failure to do so would result in unpredictable machine operation. The series C, revision C 1770-T3 terminal prompts you in choosing the proper addressing mode.
Report Generation Module The report generation module (cat. no. 1770-RG) provides bi-directional communication for report generation between the processor and an EIA RS-232-C peripheral device. The module allows you to store, delete, edit, report, and display messages in the processor memory. Power Supply Modules The following table lists the power supplies we recommend. If you are going to parallel a power supply and a 1772-LWP, -LXP, or -LZP processor, use either a 1771-P3 or 1771-P4 power supply.
3-11
Page 38
Chapter 3 Hardware Features
This Power Supply: 1771-P3
Receives Power from: an external 120V ac power source
And Supplies this Power to the Chassis: +5V dc
1771-P4 1771-P5 an external 24V dc power source
1771-P7 an external 120V or 220V ac power source
ATTENTION: Do not parallel a 1771-P5 power supply and a 1772-LWP, -LXP, or -LZP processor because of power-up and power-down timing differences.
Paralleling Cable Use the 1771-CT paralleling cable to connect the 1771-P3 and 1771-P4 power supplies in parallel with the 1772-LZP, -LXP, or -LWP processor. EEPROM The 1785-MJ EEPROM provides 8K backup; the 1772-MJ EEPROM provides 4K backup. Both EEPROMs are non-volatile and are physically interchangeable. You can use the 1772-MJ with the PLC-2/02 and -2/16 processors. You can also use it with a PLC-2/17 processor if your program END statement address is not greater than 4095 and you have no stored messages. If your PLC-2/17 processor END statement is greater than 4095, then, you must use the 1785-MJ for backup memory. Important: You can use the 1785-MJ with the PLC-2/02 or -2/16 processors but you won’t use its full capacity.
ATTENTION: You must ensure that the addressing mode stored on the EEPROM and the current addressing mode for the selected rack are the same prior to uploading the EEPROM. Failure to do so may result in unpredictable machine operation.
3-12
Page 39
Chapter 3 Hardware Features
Transferring a Program into the EEPROM (Burning the EEPROM) 1.
Put the processor in the remote program or program mode of operation.
2.
Place the keyswitch into the MEM STORE position, then to PROG, and then back to MEM STORE within one second until the green PROC RUN indicator turns ON. This indicator turns OFF after a few seconds. If the PROC RUN indicator does not turn green (or if it turns red), the program was not stored.
Important: Be careful not to touch any of the keys on the industrial terminal keyboard at any time during the EEPROM burn. If any key is pressed during the burn, the terminal will exhibit temporary communications problems and must be re-initialized to the PLC-2 programming mode. Press [1] [1] to re-initialize the terminal after the EEPROM burn is complete. Important: Do not leave the keyswitch in the MEM STORE position after the burn is complete. The terminal will display program mode, but ladder programming operations will be extremely slow. Transferring a Program into the Processor from EEPROM 1.
Turn off power to the processor.
2.
Set switch 6 of the switch assembly group on the I/O chassis backplane to the OFF position. This allows the processor to unconditionally load its memory with EEPROM contents on power up.
3.
Turn on power to the processor.
Program transfer and execution begin immediately. See the EEPROM Memory Module Product Data, publication 1772-2.22 for details. See Table 4.D for further information about setting switch 6.
3-13