Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 4 of 29

1772 Mini PLC-2/05 Processor (Cat. No. 1772-LS, LSP) Programming and Operations Manual, pages 31 to 40

Pages 31 to 40 of 289

The original document is the PDF (1.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-LSP

Page 31

Chapter 3 Hardware

Fuse Purpose: Guards against overcurrent conditions on the input line. Sizes: 1.0 amp fuse for 120V AC operations Terminal Strip Purpose: To provide wire connections for the processor. Hardware: Terminals L1, N and GND label the AC input connections. Switch Assembly on the I/O Chassis Purpose: Determines processor response to memory protect and power-up sequence. Location: Left side of the I/O chassis backplane. Settings: If

Then

Switch 8 is on

Memory protection is on. Memory above 2008 cannot be changed by the programmer.

Switch 8 is off

Memory protection is disabled. memory can be changed by the programmer. Memory can be changed when the processor module is in the program mode.

Switch 6 is off

Contents of the EEPROM is always transferred to the CMOS RAM at power-up.

Switch 6 is on and Switch 7 is off

Memory transfer does not occur and the module gives a fault indication.

Switch 6 is on and Switch 7 is on

If the CMOS RAM passes its checksum on power-up, the contents of the EEPROM transfer to the CMOS RAM.

The settings for Switch 1- Switch 5 do not matter.

Important: Series A/Revision A of the 1770-T3 industrial terminal is not compatible with memory protect feature.

ATTENTION: Use a ball point pen to set each switch. Do not use a lead pencil because the tip can break off and jam the switch.

3-5

Page 32

Chapter 3 Hardware

Battery Backup Purpose: Provides battery backup power for the processor’s memory. Hardware: Size AA, 3.6V Lithium Battery, 1.785 amp hr, 0 to 70oC Function: In order for you to retain processor memory after loss of power, the processor contains an AA size lithium battery. A removeable holder located at the rear of the processor module houses your battery. This battery supports stored memory for up to two years. We recommend documenting the start-up date of your processor. Put the date on the label at the side of the processor.

Optional Features

Industrial Terminal Purpose: You need the Industrial Terminal System (cat. no. 1770-T3) or an Industrial Terminal (cat. no. 1784-T50) with 6200 programming software (6201-, 6203-, 6211-, 6213-PLC2) to program the processor and access the processor modes of operation (Figure 3.3). Figure 3.3 Industrial Terminal System

10697-I

Function: With your industrial terminal you can: enter edit test troubleshoot your program.

3-6

Page 33

Chapter 3 Hardware

Installation Before you start to program your processor make sure all of your peripheral equipment is installed properly. Follow these basic instructions to install the industrial terminal to the processor. Refer to Figure 3.4 when following these instructions. Figure 3.4 Industrial Terminal Installation Mini-PLC-2/05

Industrial Terminal (rear view)

Channel A PLC-2 Family

Program Panel Interconnect Cable

Interface 10249

1.

Plug the ac power cord of the industrial terminal to the incoming ac power source.

2.

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.

3.

Connect the other end of the cable to the socket labeled INTFC at the front of the processor.

3-7

Page 34

Chapter 3 Hardware

4.

Place the PLC-2 Family Keytop Overlay (cat. no. 1770-KCB) (Figure 3.5) onto the keyboard.

Figure 3.5 PLC-2 Family Keytop Overlay

MODE SELECT

DATA INIT

RECORD

EXPAND ADDR

RUNG

DISPLAY

HELP

SBR

-(RET)-

LBL

EAF

T.END

-(JSR)-

-(JMP)-

-(SCT)-

SEARCH

INSERT

-(

REMOVE

-( X )-

CLEAR MEMORY

SHIFT

CANCEL COMMAND

-[ G ]-

-( P )-

)-

-[ = ]-

-( - )-

-[ I ]-

-[ L ]-

-[ < ]-

-( + )-

CONVERT

-(PUT)-

-(CTU)-

-(CTD)-

-[ B ]-

FILE

-(TON)-

-(TOF)-

-(CTR)-

-(IOT)-

FOR USE WITH PLC-2 FAMILY

BLOCK X-FER

-( L )-

-( U )-

-(RTO)-

-(ZCL)-

SHIFT REG

SEQ

-(MCR)-

-(RTR)-

-( )-

A

B

C

7

8

9

D

E

F

4

5

6

1

FORCE ON

2

3

0

FORCE OFF

CAT. NO. 1770 KCB

1982 ALLEN-BRADLEY 975343-02 10291–I

Table 3.B Definitions of Keys This key:

Does this:

This key:

Does this:

This key:

Does this:

top row of keys MODE SELECT

SBR T.END EAF -(SCT)- select terminal mode

SHIFT – enter subroutine enter temporary d SHIFT – enter EAF, expanded not applicable math to MiniPLC-2/05 enter sequencer

SEQ

3-8

DATA INIT

-(RET)- -(JSR)- enter data into a file

SHIFT – enter return enter jump to sub-

CONVERT i not applicable to Mini-PLC-2/05

SHIFT REG not applicable to Mini-PLC-2/05

EXPAND ADDR

LBL -(JMP)- enter expanded address

SHIFT – enter label enter jump to jump enter file instruction

FILE

BLOCK X-FER enter block transfer

Page 35

Chapter 3 Hardware second row of keys RECORD enter new data specify rung RUNG enter 3-digit divide -( enter get -[ G ]-

)- enter up counter -(CTU)-

C

SHIFT – enter C

9 enter 9 specify search enter immediate input -[ I ]- enter timer on-delay -(TON)- enter branch end

SEARCH enter output latch -( L )-

A

SHIFT – enter A

B

SHIFT – enter B

7 enter 7

8 enter 8 third row of keys display specified data DISPLAY

INSERT enter 3-digit multiply -( X )- insert the next specified item enter equal

-[ = ]- enter down counter -(CTD)-

4 F

SHIFT – enter F

6 enter 6 enter limit test enter timer off-delay

D remove the next specified item

-[ L ]- enter output unlatch -( U )-

-(TOF)- enter branch start

REMOVE

SHIFT – enter D

E

SHIFT – enter E enter 4

5 enter 5 fourth row of keys display help directory HELP

SHIFT – move cursor down move cursor down

CLEAR MEMORY clear processor memory enter 3-digit subtract -( - )- enter get byte enter counter reset enter master control reset

-(RTO)- enter examine off

-(MCR)- enter retentive timer on-delay enter a 1

1 enter a 2 2 enter less than -[ < ]-

-(CTR)-

-[ B ]-

SHIFT – move cursor upcursor up move enter a 3 3

3-9

Page 36

Chapter 3 Hardware fifth row of keys SHIFT access function on top half of keys that support two functions

SHIFT – move cursor right move cursor right

CANCEL COMMAND

SHIFT – move cursor leftcursor left move enter 3-digit add enter put

-( + )- enter immediate output -(IOT)- end current function without saving

-(ZCL)- enter output energize

-(PUT)- enter zone control last state enter retentive timer reset -(RTR)- enter examine on

FORCE ON

-( )- enter a 0 0

FORCE OFF specify force off specify force off

5.

Turn the power switch on the front of the industrial terminal to the ON position.

6.

After a short while the following display will appear.

DIAGNOSTICS PASSED MODE SELECTION KEYBOARD MODULE 1770-FDC SERIES B/E

MODE:

INSERT KEYTOP OVERLAY:

10 11

= PLC = PLC-2

1770-KBA 1770-KCB

12

= ALPHANUMERIC

1770-KAA

FOR USE WITH THE FOLLOWING PROCESSORS: PLC MINI-PLC-2, PLC-2 MINI-PLC-2/15 PLC-2/20 (LP1) PLC-2/20 (LP2) PLC-2/30

SELECT DESIRED MODE? 11595

Select your desired processor mode by pressing 11 on the 1770-T3 terminal. 7.

3-10

After initialization has been completed, select the processor mode of operation using the keystrokes below:

Page 37

Chapter 3 Hardware

Run/Program Remote test Remote Program

[SEARCH] 590 [SEARCH] 591 [SEARCH] 592

ATTENTION: Use only Allen-Bradley authorized programming devices to program Allen-Bradley programmable controllers. Using unauthorized programming devices may result in unexpected operation, possibly causing equipment damage and/or injury to personnel.

Important: When power is re-applied following a power failure and if switch 6 is on, the processor returns to the last programmed mode of operation. If you are not familiar with each mode of operation, here is the way we define each term: Run/Program - This is the normal mode of operation where the program controls your outputs. you can edit your program and make on-lien data changes when you are in this operational mode. Remote Test - The program is executed, the inputs are scanned, the outputs are disabled. The selectable timed interrupts are executed. Remote Program - The processor stops scanning and executing its stored program and waits for commands from the programmer. If you have an optional EEPROM memory module, you must be in the remote program mode when duplicating RAM memory contents to the EEPROM memory module. Refer to Memory Module Product Data (publication 1771-936) for operational details on memory transfer. Industrial Terminal Keyboard Function: The detachable keyboard houses PROM memory, a sealed touchpad, and a keytop overlay. There are three keytop overlays: PLC-2 Family - for use with any PLC-2 family processor. PLC - 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 which are greater than 9 press the individual keys. For example: 3-11

Page 38

Chapter 3 Hardware

To display: Press individually:

1011 1011

Some keys have two symbols occupying one key (Figure 3.5). To display the top section of each key use your shift key before the desired symbol. For example: Press 7: Press[SHIFT] A:

To display 7 To display A

Data Monitor Functions - You can display on a CRT and print directly to a data terminal - binary, hexadecimal, and ASCII data monitor functions by performing the keystrokes in table 16.B. Paralleling Cable Purpose: using the 1772-CT parallel cable, you can parallel with 1772-P3, 1771-P4 power supply for start up. EEPROM Memory Module Purpose: Provides you with a 3K non-volatile backup. Hardware: EEPROM Memory Module (cat. 1772-MJ) Function: After you’ve entered the application program into the processor module’s CMOS RAM memory, the program can be copied into the EEPROM.

Chapter Summary

3-12

So far, we’ve briefly described the hardware associated with your Mini-PLC-2/05 processors. The next chapter explains memory and how the processor stores and manipulates data. Read the next chapter carefully. It is a fundamental concept that you must master before continuing.

Page 39

Chapter

4

Memory Organization

Chapter Objectives

In this chapter, you will read about: hardware and its relationship to your program memory and its components This chapter provides detailed concepts of the memory’s organization and its structure. Understanding these concepts aids you in programming your processor.

Introduction

Before we explain memory organization and its structure, read the following definitions: Bit - the smallest unit of information that memory is capable of retaining Byte - a group of 8 consecutive bits (00-0708 or 10-1708) Word - a group of 16 consecutive bits (00-1708)

Hardware and Your Program Figure 4.1 and the following chart represents how the hardware of your processor relates to the input and output image tables. Understanding the two figures help you understand programming.

4-1

Page 40

Chapter 4 Memory Organization

Figure 4.1 Word Address Equals Memory Bits Concept

Example

Hardware Terminology

Hardware Terminology

Input (1) or Output (0)

Output: 0

Rack No. (Always 1)

Rack No.: 1

Module Group No. (0-7)

Module Group No.: 0

Terminal No. (00-07, 10-17)

Terminal No.: 12

XXX/XX

0 1 0/12

Word Address

Word Bit Address Address

Bit Address

Data Table Terminology

Data Table Terminology 10248

Hardware vs

Your Program

I/O terminal bit module group word module slot byte one rack eight words if the terminal has voltage (on state)

a specific bit is on, which is a 1 in memory if the terminal has no voltage (off state)

a specific bit is off, which is a 0 in memory

To calculate the input and output image tables’ areas and how these values compare with the hardware of your processor. Remember: 1 rack = 8 words You can only have one rack in this system. Therefore: 8 words/rack x 16 bits - 128 I/O Conclusion: The combined amount of usable bits in the input image table and/or the output image table is 128 I/O.

4-2