Professional Documents
Culture Documents
Boolean algebra provides a mathematical model for a logical decision; a logical decision is a decision
which can have only one of two possible outcomes, YES or No
2. explain how a Boolean equation represents a logical decision. Use an example if this will help.
Every logical problem has one or more conditions which must be met. The decision will be TRUE if the
conditions are all met, and FALSE if any one condition is not met.
Chapter 6
1. what is the difference between a ladder logic diagram and a circuit diagram?
A ladder logic diagram shows all of the possible conditions that exist in an electrical circuit. It is used for
describing a circuit to the computer in a PLC and can be thought of as a program
2. identify all the parts of the ladder logic diagram in figure 6-8
Each of the horizontal rows on the diagram is called a rung. The two vertical lines represent the positive
and negative connections to the power source.
6. draw a ladder logic diagram that will meet the following conditions:
And; a micrologix PLC training sytem featuring the Allen-Bradley 1761-L16BWA processor
3. what are the computer hardware and system requirements for programming with the Rockwell
RSLogix 500 software?
Pentium III or better processor; 256 MB of ram or more; 100MB available disk space; VGA monitor
Comparison instructions
During controller operations, the processor executes the Ladder Logic instructions individually, rung by
rung, to the end of the program. As it does, it updates status bits according to the new instructions. This
is called a scan and is repeated many times a second. Andoperationg cycle consists of two parts:
program scan and the I/O scan
In an I/O scan, the data associated with external outputs is transferred from the output file to the ouput
terminals. In addition, input terminals are examined and the associated status bits in the input data file
are change according to the new instructions
In a program scan, the updated status of the external input device is applied to the user program. The
processor executes the entire list of instructions in ascending rung order. Status bits are updated
according to logical continuity rules as the program scan moves from instruction through successive
ladder rungs.
The I/O scan and program scan are separate, independent function. Any status changes occurring in
external input devices during the program scan are not accounted for until the next I/O scan. Similarly,
data changes associated with external outputs are not transferred the outputs until the next I/O scan.
The only exception to this process occurs when the immediate output instructions interrupt the
program scan.
Chapter 8
Driver to AB_DF1-1
4. explain the editing and monitoring differences between “online” and “offline” when using the
RSLOGIX software?
Enter addresses before you actually crate data table files for your I/O
Enter symbols before you have assigned addresses for them in the database.
Enter instructions without having to provide addresses until just before file validation occurs
You can jump to any rung in your project by clicking the search menu, and then clicking Goto. You can go
to a rung in the current program file or you can go to to a rung in another program file within the same
project.
RSLogix 500 lets you map any available alphabetic key (A-Z) on your computer keyboard to a ladder logic
programming instruction
7. what is “BRANCHING”?
Add a branch
Move a branch
Expand a branch
Nested branches
Parallel branches
Copy
Delete branch
The UNDO reverses your last action. You can use this to walk through (and UNDO) your previous actions
one at a time. RSLOGIx 500 remembers up to 200 previous actions.
Chapter 9
1. what are the functions of the input and output elements In a controller?
2. what are the two types of input elements and what are their programming keystrokes? How are they
different?
The input device is a switch and the ouput device is a light for this example
3. what type of element is represented by “O:0/4” and what is its programming keystrokes?
5. list the keystrokes in the correct order for the following ladder logic diagrams:
Chapter 10
A relay is an electro-mechanical device that takes a single input and converts it into many outputs.
Relays are used to control other relays and output devices.
An internal relay is a logical relationship within the ladder logic. It is not a physical device, it does not
turn on any outputs in the output module. Instead, an internal relay is used to control other rungs of a
program
The addresses assigned to PLC internal relays – as a BIT data file (B3:0/0 through B3:31/15) for a total of
512 available addresses.
To enter an internal relay coil at the end of the rung, use the following keystrokes:
5. write a program in which a normally closed input, when energized, turns on tow lights. Also a
normally open input, when energized must turn off three lights. All outputs must be controlled by the
relay elements. Provide both the ladder logic diagram and the programming keystrokes.
Chapter 11
1. draw a ladder logic diagram that has three normally open input elements ANDed together to activate
an output.
2. draw a ladder logic diagram which has three normally open inputs ORed together at activate an
output
3. draw a single ladder logic diagram and give the keystroke sequence for the operations described
below:
Input element I:0/0 or input elements I:0/1 and I:0/2 and input elements I:0/3 turn on output
element O:0/2
Input elements I:0/3 and I:0/6 or input elements I:0/3 and I:0/4 and not input elements I:0/5
turn on output element O:0/1
Chapter 12
2. explain the similarities and differences between latching relays and set instructions.
Instruction for latching and unlatching are called OUTPUT LATCH (OTL) and OUTPUT UNLATCH (OUT)
3. why must there be a separate input element to unlatch a latching relay or latching instruction?
4. redraw the ladder logic diagram in fig 12-10. Use the latching/ unlatching instructions and provide
complete keystroke sequence.
5. explain operation.
Chapter 13
1. explain the similarities and differences between on-delay and off-delay tiemers
The on-delay timer waits for its input element to be energized before it starts timing.
The off-delay timer waits for its input element to be de-energized before it starts timing.
A retentive timer automatically restarts its timing cycle every time it is turned off
The preset value indicates the length of time before a timer will change the status of its output
elements
The accumulated value shows the number of time units counted at any given point in the timing
cycle
A reset command keeps the timer as long as the reset is activated.
One timer can never be used to reset itself and another timer.
RTO instruction retains its accumulated value when any of the following occurs:
You change controller operation from the REM RUN or REM TEST mode to the REM Program mode;
A fault occurs
Chapter 14
Counters are devices which activate a circuit after some pre-defined number of events have occurred
Two values important: the preset value PR and the accumulated value