Professional Documents
Culture Documents
Sol-Assignment No 6 PDF
Sol-Assignment No 6 PDF
Sol-Assignment No 6 PDF
Solution Assignment - 6
Q1. Build a ladder logic program to control the switching ON and OFF of lights in a particular order.
The three lights are pink light, yellow light and green light. When the start push button is pressed,
pink light should glow instantly and it should remain ON for 5 seconds only. After 5 seconds, the
yellow light should glow and continue to glow till the 10th second only, that is, from the 5th till the
10th second. At the 11th second, the green light should glow and continue to be light. It should dim
only when the Stop push button is pressed.
Hint: Don’t you think the switching ON & OFF of the lights can be implemented using the comparator
blocks.
Answer:
Q2. Which instruction will be used to find the square root of a number stored in location N7:3. The
destination location is N7:12. Draw the block for the same.
Answer:
Answer:
Up counter Down counter
When the counter is triggered the current When the counter is triggered the current
value increases value decreases
When current value becomes equal to preset When the current value becomes less
the output is turned on than or equal to 0 the output is turned on
Answer:
Can be used in case of power failures Power failure resets the accumulator value
Used where the user wants the PLC to Used where the previous values are of no use
remember the last retained value
Example : stop watch Example : traffic signal
Answer:
MOVE COPY
Transfers the data from one place to another Copies the data from one place to another
Will remove the data from the source Will not remove the data from source
destination destination
Usually used to move the data Usually used to create multiple copies of the
same data