Professional Documents
Culture Documents
Selected Questions - L6789
Selected Questions - L6789
PLC Course
Selected Problems
Prepared By: Dr. Hani Muhsen
Problem 8.1
Study the ladder logic program in Figure 8-37 , and answer the questions that follow:
d. Suppose your accumulated value is 24 and you lose ac line power to the controller. When power is restored to your
controller, what will your accumulated value be?
e. Rung 4 goes true and while it is true, rung 1 goes through five false-to-true transitions of rung conditions. What is
the accumulated value of the counter after this sequence of events?
Problem 8.1
Solution of 8.1
a) Up counter
b) When the accumulated count is equal to or greater than the preset count
d) 024
e) Zero
f) Provided that rung 4 is false, each false-to-true transition of rung I increases the
counter’s accumulated value by I.
Problem 8.2
Study the ladder logic program in Figure 8-38 ,
and answer the questions that follow:
Problem 8.3
Study the ladder logic program in Figure 8-39 , and answer the
questions that follow:
f. Suppose the counter is first reset, and then input I:2/6 is actuated 15
times and input I:3/8 is actuated 5 times. What is the accumulated
count value?
b) 1:2/6
c) 1:3/8
d) 1:4/1
e) When the accumulated count is equal to or greater than the preset count
f) 10
Problem 8.4
Design a PLC program and prepare a typical I/O connection diagram and ladder logic program for the following
counter specifications:
closed.
• Turns on a light anytime the accumulated value of the counter is less than 20.
• Turns on a second light when the accumulated value of the counter is equal to or greater than 20.
Problem 8.6
Design a PLC program and prepare a typical I/O connection diagram and ladder logic program that will
correctly execute the industrial control process in Figure 8-40 . The sequence of operation is as follows:
• The start button is pressed and the conveyor motor starts to move the product forward toward position A
(limit switch LS1 contacts open when the actuating arm returns to its normal position).
• The conveyor moves the product forward to position A and stops (position detected by 8 off to-on output
pulses from the encoder, which are counted by an up-counter).
• A time delay of 10 s occurs, after which the conveyor starts to move the product to limit switch LS2 and
stops (LS2 contacts close when the actuating arm is hit by the product).
Problem 8.6
Problem 9.1
Answer the questions, in sequence, for the MCR program in Figure 9-30 , assuming the program has just been
entered and the PLC is placed in the RUN mode with all switches turned off.
a. Switches S2 and S3 are turned on. Will outputs PL1 and PL2 come on? Why?
b. With switches S2 and S3 still on, switch S1 is turned on. Will output PL1 or PL2 or both come on? Why?
c. With switches S2 and S3 still on, switch S1 is turned off. Will both outputs PL1 and PL2 deenergize? Why?
d. With all other switches off, switch S6 is turned on. Will the timer time? Why?
e. With switch S6 still on, switch S5 is turned on. Will the timer time? Why?
f. With switch S6 still on, switch S5 is turned off. What happens to the timer? If the timer was an RTO type
instead of a TON, what would happen to the accumulated value?
Problem 9.1
b) Both outputs PL1 and PL2 will come on because rung 1, 2, and 3 are now all true.
c) Only output PL1 will de-energize; output PL2 remains energized because it is a retentive output
and as such it remains in its last state (on) when the MCR instruction goes false.
f) It stops timing. The accumulated value would be maintained because it is retentive on an RTO
timer.
Problem 9.2
Answer the questions, in sequence, for the jump-to label program in Figure
9-31 . Assume all switches are turned off after each operation.
b. Switch S2 is turned on first, then switch S5 is turned on. Will output PL4
be energized? Why?
b) No, because the JMP instruction is true; therefore, the rung will not be scanned by the
processor
c) Energized, because it will remain in its last state when the JMP instruction is energized
Problem 9.3
Answer the questions, in sequence, for the jump to-
subroutine and return program in Figure 9-32 . Assume all
switches are turned off after each operation.
a. Switches S1, S3, S4, and S5 are all turned on. Which pilot
light will not be turned on? Why?