The text of a manual · part 3 of 29
1772 Mini PLC-2/05 Processor (Cat. No. 1772-LS, LSP) Programming and Operations Manual, pages 21 to 30
Pages 21 to 30 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 21
Chapter 2 An Introduction to Programmable Controllers
You should also notice another important characteristic of input indicators. They are only associated with terminals used for wiring sensing devices to the input section. The terminal that’s used to provide a ground for the sensing circuits has no indicator. Conditioning Another function of the input is signal conditioning. The electrical power used at the machine is usually not compatible with the signal power used within the programmable controller. Therefore, the input section receives the electrical signal from the machine and converts it to a voltage compatible with the programmable controller’s circuitry. Isolation The input isolates the machine circuitry from the programmable controller’s circuitry. Isolation helps protect the programmable controller’s circuitry from unwanted and dangerous voltage levels that may occur occasionally at the machine or in the plant’s wiring system.
Output The third section is the output, which serves functions similar to those of the input image table: termination indication conditioning isolation Termination The output provides terminals for the field wiring going to the output devices on the machine. Indication The output of most modules provides a visual indication of the selected state of each output device with indicators. The output status indicator is on when the output device is energized. A common term applied to either input status indicators or output status indicators is I/O status indicators. I/O stands for either input or output. In addition, the output section of modules with fuses has blown fuse indicators. When one of the fuses in the group opens, the blown fuse indicator lights. Conditioning The output conditions the programmable controller’s signals for the machine. That is, it converts the low-level dc voltages of the programmable controller to the type of electrical power used by the output devices at the machine.
2-7
Page 22
Chapter 2 An Introduction to Programmable Controllers
Isolation The output isolates the more sensitive electronic circuitry of the programmable controller from unwanted and dangerous voltages that occasionally occur at the machine or the plant’s wiring system. Some situations require additional external protection.
Power Supply The fourth section is the power supply. It provides a low level dc voltage source for the electronic circuitry of the processor. It converts the higher level line voltages to low level logic voltages required by the processor’s electronic circuitry.
Control Sequence
Let’s look at a simple example to see the sequence of events that take place in controlling a machine with a programmable controller (Figure 2.1). Suppose you are making a part. The motor driven conveyor carries a unit to the work area. The limit switch detects wen the part arrives at the work area. When that happens, we want the conveyor to stop so you can work on the part. Figure 2.1 A Simplified Example of a Machine with a Programmable Controller Controller Input
Limit Switch
Conveyor
Output
Conveyor Motor
Unit 11594
Notice how the limit switch and motor are wired to the programmable controller. The limit switch, wired to terminal 02, is normally-closed. The arriving part will open the switch. Therefore, the program statement controlling the conveyor motor must read: “If there is voltage at input terminal 02 (limit switch), then energize output terminal 02 (conveyer motor).” The conveyor motor is wired to output terminal 02. 2-8
Page 23
Chapter 2 An Introduction to Programmable Controllers
Important: Figure 2.1 is for demonstration purposes only. We do not show the associated wiring, a motor starter, or an emergency stop button. Since the limit switch is wired normally-closed, the conveyor motor will run until the arriving part opens the switch. At that time, the condition for energizing the motor is not longer met. Therefore, the motor is de-energized. When the condition is met, we say it is true. When the condition is not met, we say it is false. There may be more than one condition which must be met before an action is executed. When all the conditions are met, the action is executed and we say the statement is true. When one or more of the conditions are false, the action is not executed and we say the statement is false.
Scan Sequence
On power up, the processor begins the scan sequence (Figure 2.2) with the I/O scan. During the I/O scan, data from input modules is transferred to the input image table. Data from output image table is transferred to the output modules.
2-9
Page 24
Chapter 2 An Introduction to Programmable Controllers
Figure 2.2 Scan Sequence
Output Image Table
Output Terminals
Copy output image table status into output terminal circuits. I/O Scan
Input Image Table
Input Terminals
Copy input terminal status into input image table.
Program Statement
Program Scan
Execute each program rung in sequence, writing into bits in the data table, including the output image table.
11597
2-10
Page 25
Chapter 2 An Introduction to Programmable Controllers
Next, the processor scans the program. It does this statement by statement. Each statement is scanned in this way: 1.
For each condition, the processor checks, or “reads,” the image table to see if the condition has been met.
2.
If the set of conditions has been met, the CPU writes a one into the bit location in the output image table corresponding to the output terminal to be energized. On the other hand, if the set of conditions has not been met, the processor writes a zero into the bit location, indicating that the output terminal should not be energized.
Here is a simple explanation of the program. If input 02 is on, then turn on output 02. If input 02 is off, then turn off output 02. The program could be written this way: If (condition)
Then (action)
Input bit 02 is on
Turn output bit 02 on
In this example, the processor reads a 1 at input bit location 02 and knows that the condition has been met. The processor then carries out the action instruction by writing a 1 into output bit location 02. If there were more statements in the program, the processor would continue in this same manner scanning each statement and executing each instruction until it reached the end of the program. Statement by statement, the processor would write a 0 or a 1 into an output bit as directed by the program. Then, the processor would read specific image table bits to see if the proper set of conditions were met. After reading and executing all program statements, the processor scans the output image table and energizes or de-energizes output terminals. The processor then goes to the input modules to update the input image table. Now the entire process is repeated. In fact, it’s repeated over and over again, many times a minute. Each time, the processor sets or resets output bits. Next, the processor senses the status of the input terminals. Finally, the processor scans the program and orders each output terminal on or off according to the state of its corresponding bit in the output image table. When forcing is attempted, the processor’s I/O scan slows down to do the forcing (see chapter 19). When forcing is terminated, the processor automatically switches back to the faster I/O scan mode. When this example begins, the processor is energizing output terminal 02 because output bit 02 is on. When the part is conveyed to the work station, it turns the limit switch off. When the limit switch is off, there is no voltage at input terminal 02. The processor scans the input image table, senses no voltage, and responds by writing a zero into bit 02 in the input image table. 2-11
Page 26
Chapter 2 An Introduction to Programmable Controllers
The processor scans the program. Our program states that if (conditions) input bit 02 is on, turn on output 02. If input bit 02 is off then output bit 02 is off. Since the alter condition is not true, the processor turns off output bit 02. When the processor next scans the output image table, it sees the zero in output bit 02 and responds by de-energizing output terminal 02. The action causes the conveyor to stop.
Chapter Summary
2-12
We reviewed fundamentals common to A-B processors. The next chapter summarizes hardware features of the Mini-PLC-2/05 processors.
Page 27
Chapter
3
Hardware
Chapter Objectives
This chapter is a summary of the Mini-PLC-2/05 Processor Assembly and Installation Manual, publication 1772-6.6.6. In this chapter, you will read about: major features general features hardware features optional features
Major Features
A complete processor system consists of the following major components: Mini-PLC-2/05 processor I/O chassis power supply I/O modules (up to 16 modules) industrial terminal (cat. no. 1770-T3)
General Features
The processor has the following features: 3K CMOS RAM memory 488 timers up to 2944 word capacity data table (23 blocks) ladder diagram and functional block instruction set four function arithmetic capabilities remote mode selection on-line programming block transfer capability 70 message storage (with the 1770-T3 terminal only) 198 message storage with the PLC-2 Family Report Generation Module (catalog number 1770-RG) data highway compatibility selectable timed interrupts expanded math capability
3-1
Page 28
Chapter 3 Hardware
Hardware Features
Mini-PLC-2/05 Processor (cat. no. 1772-LS) The Mini-PLC-2/05 Processor (cat. no. 1772-LS) comes equipped with the following hardware features (Figure 3.1): Figure 3.1 Mini-PLC-2/05 Processor (cat. no. 1772-LS)
P RUN R O C FAULT MEMORY STORE
ON ON
A-B INTFC
MINI PLC-2/05 W/O Power Supply 10663-I
3-2
Page 29
Chapter 3 Hardware
Processor Status Indicator PROC RUN/FAULT: This red/green LED keeps you informed of the processor’s operating conditions. Table 3.A Status Indication Status Indicator
If the color is
Then the Indication represents
PROC RUN/FAULT
Green
The processor module is in the run mode and will begin operation. The EEPROM memory module (if present) is being programmed. There is a fault. Recycle power to reset the processor module. Either program mode of operation, run time error, memory error or a program error.
Blinking Green Red Off P/S ACTIVE
Green Off
AC and DC is all right. There has been a power supply fault, overcurrent condition, improper input voltage or the module has been turned off.
MEMORY STORE (Switch) Purpose: Enables you to backup or copy the program into the optional EEPROM Memory Module. Hardware: An optional EEPROM Memory Module (cat. no. 1772-MJ) can be installed in the module. INTFC (Interface socket) Purpose: 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). Function: Provides interface to the above devices. 3-3
Page 30
Chapter 3 Hardware
Mini-PLC-2/05 Processor (cat. no. 1772-LSP) The Mini-PLC-2/05 Processor (cat. no. 1772-LSP) contains all the hardware features of the LS processor and in addition contains the following (Figure 3.2): Figure 3.2 Mini-PLC-2/05 Processor with Power Supply (cat. no. 1772-LSP)
P RUN R P/S O C FAULT ACTIVE ON MEMORY STORE ON
P/S PARALLEL
A-B INTFC
POWER ON
OFF I.0A 125V SLOW BLOW 120V AC L1 N GND
MINI PLC-2/05 W Power Supply 10717-I
Processor Status Indicator P/S ACTIVE: This green LED keeps you informed of the power supply section’s operating conditions (table 3.A). P/S PARALLEL (socket) Purpose: Enables paralleling connections between these two sockets on two power supply modules. POWER (switch) Purpose: This is on/off toggle switch lets you provide power to your processor. If the switch is:
3-4
Then you are:
On
Supplying power to your processor module.
Off
Not supplying power to your processor module.