EI8651-Logic and Distributed Control System PDF
EI8651-Logic and Distributed Control System PDF
DEPARTMENT OF
ELECTRONICS AND INSTRUMENTATION ENGINEERING
QUESTION BANK
VI SEMESTER
EI8651 – Logic and Distributed Control System
Regulation – 2017
Academic Year 2019 – 20
Prepared by
Dr. Andy Srinivasan, Professor / EIE
Mr. P. Tamilmani, Assistant Professor (Selection Grade) / EIE
SRM VALLIAMMAI ENGINEERING COLLEGE
(An Autonomous Institution)
SRM Nagar, Kattankulathur – 603 203.
QUESTION BANK
PART - B
1. Write short notes on the following relay-type instructions BTL 3 Apply
(i) Examine If Closed (XIC) instruction (4)
(ii) Examine If Open (XIO) instruction (4)
(iii) Output Energize (OTE) instruction (5)
2. Explain Branch instructions with examples in ladder logic (13) BTL 4 Analyze
programming.
3. Write a ladder program that uses an on-delay timer with timing (13) BTL 5 Evaluate
diagram. The operation of the program can be summarized as follows:
1. The timer is activated by input switch A.
2. The preset time for this timer is 10 s, at which time output D
will be energized.
3. When input switch is A is closed, the timer becomes true and
the timer begins counting and counts until the accumulated
time equals the preset value; the output D is then energized.
4. If the switch is opened before the timer is timed out, the
accumulated time is automatically reset to 0.
5. This timing operation is that of an on-delay timer because
output D is switched on 10 s after the switch has been actuated
from the off to the on position.
4. Describe Retentive on-delay timer program with timing chart. (13) BTL1 Remember
5. Write a ladder program using Up Counter to turn the red pilot light on (13) BTL 5 Evaluate
and the green pilot light off after an accumulated count of 7.
The operation of the program can be summarized as follows:
1. Operating pushbutton PB1 provides the off-to-on transition
pulses that are counted by the counter.
2. The preset value of the counter is set for 7.
3. Each false-to-true transition of rung 1 increases the counter’s
accumulated value by 1.
4. After 7 pulses, or counts, when the preset counter value equals
the accumulated counter value, output DN is energized.
5. As a result, rung 2 becomes true and energizes output O:2/0 to
switch the red pilot light on.
6. At the same time, rung 3 becomes false and deenergizes output
O:2/1 to switch the green pilot light off.
7. The counter is reset by closing pushbutton PB2, which makes
rung 4 true and resets the accumulated count to zero.
8. Counting can resume when rung 4 goes false again.
6. Write a Ladder program using up/down-counter is to keep count of the (13) BTL 5 Evaluate
cars that enter and leave a parking garage.
The operation of the program can be summarized as follows:
1. As a car enters, the enter switch triggers the upcounter output
instruction and increments the accumulated count by 1.
2. As a car leaves, the exit switch triggers the downcounter output
instruction and decrements the accumulated count by 1.
3. Because both the up- and down-counters have the same
address, C5:1, the accumulated value will be the same in both
instructions as well as the preset.
4. Whenever the accumulated value of 150 equals the preset
value of 150, the counter output is energized by the done bit to
light up the Lot Full sign.
5. A reset button has been provided to reset the accumulated
count.
7. Write a ladder program for timer-counter program that produces a (13) BTL 5 Evaluate
time-of-day clock measuring time in hours and minutes.
The operation of the program can be summarized as follows:
1. An RTO timer instruction (T4:0) is programmed first with a
preset value of 60 seconds.
2. The T4:0 timer times for a 60-s period, after which its done bit
is set.
3. This, in turn, causes the up-counter (C5:0) of rung 01 to
increment 1 count.
4. On the next processor scan, the timer is reset and begins timing
again.
5. The C5:0 counter is preset to 60 counts, and each time the
timer completes its time-delay period, its count is incremented.
6. When the C5:0 counter reaches its preset value of 60, its done
bit is set.
7. This, in turn, causes the up-counter (C5:1) of rung 002, which
is preset for 24 counts, to increment 1 count.
8. Whenever the C5:1 counter reaches its preset value of 24, its
done bit is set to reset itself.
9. The time of day is generated by examining the current, or
accumulated, count or time for each counter and the timer.
10. Counter C5:1 indicates the hour of the day in 24-h military
format, while the current minutes are represented by the
accumulated count value of counter C5:0.
11. The timer displays the seconds of a minute as its current, or
accumulated, time value.
8. Write a ladder program using Master Control Reset (MCR) fenced (13) BTL 5 Evaluate
zone
with the zone false.
The operation of the program can be summarized as follows:
1. When the MCR in the start fence is false, all rungs within the
zone are treated as false. The scan ignores the inputs and de-
energizes all nonretentive outputs (that is, the output energize
instruction, the on-delay timer, and the off-delay timer).
2. All retentive devices, such as latches, retentive timers, and
counters, remain in their last state.
3. Input A of the start rung is false so output A and T4:1 will be
false and output B will remain in its last state.
4. The input conditions in each rung will have no effect on the
output conditions.
9. Write a ladder program for a materials conveyor system with a (13) BTL 5 Evaluate
flashing pilot light as a subroutine.
The operation of the program can be summarized as follows:
1. If the weight on the conveyor exceeds a preset value, the
solenoid is de-energized and pilot light PL1will begin flashing.
2. When the weight sensor switch closes, the JSR is activated and
directs the processor scan to jump to the subroutine U:3.
3. The subroutine program is scanned and pilot light PL1 begins
flashing.
4. When the weight sensor switch opens, the processor will no
longer scan the subroutine area and pilot light PL1 will return
to its normal on state.
10. Write a ladder program for illustrates how the move (MOV) (13) BTL 5 Evaluate
instruction can be used to create variable preset counter values.
The operation of the program can be summarized as follows:
1. Limit switch LSI is programmed to the input of up-counter
C5:1 and counts the number of parts coming off a conveyor
line onto a storage rack.
2. Three different types of products are run on this line.
3. The storage rack has room for only 300 boxes of product A or
175 boxes of product B or 50 boxes of product C.
4. Three momentary switches are used to select the desired preset
counter value depending on the product line ( A, B, or C )
being manufactured.
5. A reset button is provided to reset the accumulated count to 0.
6. A pilot lamp is switched on to indicate when the storage rack is
full.
7. The program has been constructed so that normally only one of
the three switches will be closed at any one time. If more than
one of the preset counter switches is closed, the last value is
selected.
11. Write a ladder program for set-point control. In this application, a PLC (13) BTL 5 Evaluate
is to provide for simple off/on control of the electric heating elements
of an oven.
The operation of the program can be summarized as follows:
1. Oven is to maintain an average set-point temperature of 600°F
with a variation of about 1 percent between the off and on
cycles.
2. The electric heaters are turned on when the temperature of the
oven is 597°F or less and will stay on until the temperature
rises to 603°F or more.
3. The electric heaters stay off until the temperature drops to
597°F, at which time the cycle repeats itself.
4. Whenever the less than or equal (LEQ) instruction is true, a
low-temperature condition exists and the program switches on
the heater.
5. Whenever the greater than or equal (GEQ) instruction is true, a
high-temperature condition exists and the program switches off
the heater.
6. For the program as shown the temperature is 595°F so the LEQ
instruction and B3:0/1 will both be true and the heater output
will be switched on and sealed-in through the heater examine-
on instruction.
7. Once the temperature increases to 598°F the LEQ instruction
goes false but the heater output remains on until the
temperature rises to 603°F.
8. At the 603°F point the GEQ instruction and B3:0/2 will both
be true and the heater will be switched off.
12. Write a ladder program for oven temperature control. (13) BTL 5 Evaluate
The operation of the program can be summarized as follows:
1. The PLC calculates the upper and lower deadband, or off/on
limits, about the set-point.
2. Upper and lower temperature limits are set automatically at 61
percent regardless of the set-point value.
3. Set-point temperature is adjusted by means of the thumbwheel
switch.
4. The analog thermocouple interface module is used to monitor
the current temperature of the oven.
5. In this example, the set-point temperature is 400°F.
6. Therefore, the electric heaters will be turned on when the
temperature of the oven drops to less than 396°F and stay on
until the temperature rises above 404°F.
7. If the set-point is changed to 100°F, the deadband remains at
61 percent, with the lower limit being 99°F and the upper limit
being 101°F.
8. The number stored in word N7:1 represents the upper
temperature limit, and the number stored in word N7:2
represents the lower limit.
13. Write a ladder program to convert Celsius temperature to Fahrenheit. (13) BTL 5 Evaluate
The operation of the program can be summarized as follows:
1. The thumbwheel switch connected to the input module
indicates Celsius temperature.
2. The program is designed to convert the recorded Celsius
temperature in the data table to Fahrenheit values for display.
3. The following conversion formula forms the basis for the
program:
14. Draw the ladder diagram for the following function table. Inputs – II, (13) BTL 5 Evaluate
12 Outputs – QI, Q2, Q3, Q4
II I2 Q1 Q2 Q3 Q4
0 0 1 1 1 1
0 1 0 0 0 0
1 0 0 0 0 0
1 1 1 1 1 1
PART C
1. Write a ladder program using ON-delay timer for automatic sequential (15) BTL 5 Evaluate
control systems. Series of motors can be started automatically with
only one start/stop control station.
The operation of the circuit can be summarized as follows:
1. According to the relay ladder schematic, lube-oil pump motor
starter coil M1 is energized when the start pushbutton PB2 is
momentarily actuated.
2. As a result, M1-1 control contact closes to seal in M1, and the
lube-oil pump motor starts.
3. When the lube-oil pump builds up suffi cient oil pressure, the
lube-oil pressure switch PS1 closes.
4. This in turn energizes coil M2 to start the main drive motor
and energizes coil TD to begin the timedelay period.
5. After the preset time-delay period of 15 s, TD-1contact closes
to energize coil M3 and start the feed motor.
6. The ladder logic program shows how an equivalent circuit
could be programmed using a PLC.
2. A conveyor is supposed to have exactly 45 parts on it. Three (15) BTL6 Create
indicating lights used to indicate the conveyor count status: less than
45, yellow; exactly 45, green: and more than 45, red. The count of
parts on the conveyor is set at 45 each morning by an actual count of
parts. There are two sensors on the conveyor. One is actuated by parts
entering the conveyor, and the other is actuated by parts leaving.
Develop a PLC program using compare functions.
3. Develop the ladder logic diagram for the following application. (15) BTL6 Create
4. What instruction would you select for each of the following discrete (13) BTL 5 Evaluate
input field devices to accomplish the desired task? (State the reason
for your answer.)
1. Turn on a light when a conveyor motor is running in reverse.
The input field device is a set of contacts on the conveyor start
relay that close when the motor is running forward and open
when it is running in reverse.
2. When a pushbutton is pressed, it operates a solenoid. The input
field device is a normally open pushbutton.
3. Stop a motor from running when a pushbutton is pressed. The
input field device is a normally closed pushbutton.
4. When a limit switch is closed, it triggers an instruction ON.
The input field device is a limit switch that stores a 1 in a data
table bit when closed.
UNIT III - PLC PROGRAMMING (OTHER LANGUAGES)
Functional block programming - Sequential function chart – Instruction list – Structured text
programming – PLC controlled sequential Process Examples.
PART – A
BT
Q.No Questions Competence
Level
1. Name the four basic elements of an FBD. BTL 1 Remember
2. What is an Add-On instruction in FBD? BTL 1 Remember
3. Define structured text programming. BTL 1 Remember
4. What do you mean by Branching and Convergence in Sequential Function BTL 1 Remember
Charts?
5. List some structured text operators. BTL 1 Remember
6. What do you mean by instruction list? BTL 1 Remember
7. Distinguish between structured text programming and Ladder programming. BTL 2 Understand
8. Examine the use of the assume data available indicator. BTL 2 Understand
9. How is a function block feedback loop created? BTL 2 Understand
10. Predict the use of Sequential function chart. BTL 2 Understand
11. What do the solid and dashed interconnecting lines between FBD function BTL 3 Apply
blocks indicate?
12. Draw the logic gates symbol for AND gate and NAND gate in function block BTL 3 Apply
diagram.
13. How does the program scan function for an FBD program? BTL 4 Analyze
14. Compare the graphical representation of a function block diagram to that of a BTL 4 Analyze
logic ladder diagram.
15. What does the dot on an input or output pin of a function block indicate? BTL 3 Apply
16. Compare the functions of input and output reference tags in FBD. BTL 4 Analyze
17. Assess how an FBD program is initiated? BTL 5 Evaluate
18. Assess data latching as it applies to function block inputs. BTL 5 Evaluate
19. Which pins of a function block are inputs and which are outputs? BTL 6 Create
20. How are the input and output parameter options for a function block set? BTL 6 Create
PART - B
1. With neat sketch describe the typical Function Block Diagram (13) BTL1 Remember
Instruction and types of elements and boxes used in FBD
programming.
3. Illustrate the use of the basic logic bit instructions in FBD program for (13) BTL5 Evaluate
the conveyor belt application.
In this application there are two sets of start and stop pushbuttons,
one at the beginning of the conveyor and one at the end of the belt.
These pushbuttons (PB-1 through PB-4) are wired to input points.
The two start buttons use NO contacts, and they are labeled PB-1
and PB-2. The two stop buttons use NC contacts, and they are
labeled PB-2 and PB-4.
The control program allows the operator to start and stop the
conveyor belt from either end.
There is a position detection switch (ZS-1) at the end of the
conveyor to sense when a production part reaches the end of the
conveyor.
This input signal is used by the PLC control program to
automatically stop the conveyor when a part reaches the end of the
conveyor.
4. (i) Write a FBD program to turn on a process pump, 2 seconds after the (7) BTL5 Evaluate
outlet valve on the pump has been opened by PLC output Q124.3.
In this application, assume that the pump starter relay is connected
to PLC output address Q124.4 and assume that internal bit B3/4 is
used to stop the pump.
(ii) Write a FBD program to count the number of parts rejected during (6)
a production operation and activate an alarm beacon if the number
of rejected parts reaches 20 parts, during any production run.
Assume that the part rejection signal is connected to input I124.1, a
production line running signal is given by internal bit B3/2, a
counter reset pushbutton is connected to input I124.3 and the alarm
beacon is connected to output Q124.4.
5. (i) Write a FBD program to start a pump that will fill a process tank (7) BTL5 Evaluate
with fluid until a high level is reached in the tank. Assume that a
normally opened fill tank pushbutton is wired to a discrete input
module at I124.4 and a normally closed tank high-level switch is
connected to input point I124.5 on a Siemens CPU314IFM. Also
assume that the pump start relay is connected to output Q124.0 on
the same Siemens PLC.
(ii) Write a FBD program to control an electric motor. Assume that a (6)
NO start pushbutton is wired to an input point I124.0 and a NC stop
pushbutton is wired to input I124.5 of a Siemens CPU314IFM.
Also assume that output Q124.1 of the Siemens PLC will control a
motor start relay, and there is an auxiliary motor start contact (NO)
connected to the PLC input I124.1.
6. (i) Write a FBD program to control the temperature of the fluid in a (7) BTL5 Evaluate
process tank close to 400°C. Assume that the heater contactor is
connected to PLC output Q124.1, a temperature low switch set is
connected to PLC input I124.0, and a temperature high switch is
connected to PLC input I124.1 on a Siemens CPU314IFM. The
temperature low switch is closed if the fluid temperature is below
395°C and opens at a temperature of 395°C or higher. The
temperature high switch is closed if the fluid temperature is below
405°C and opens at 405°C or higher temperatures.
(ii) Write a FBD program to activate a pump starter relay connected to (6)
output point Q124.0, if the inlet control valve FV-1 on a process
tank is opened (input bit I124.0 = 1) and the process tank is at a
high level (input bit I124.2 = 1).
(ii) A valve that is to be operated to lift a load when a pump is running (7)
and either the lift switch operated or a switch operated indicating
that the load has not already been lifted and is at the bottom of its
lift channel.
9. Write a SFC Program for Semiautomatic Metal Punch Control. (13) BTL5 Evaluate
The punch starts in the raised position or top position. When the
operator depresses the start pushbutton (PB), the punch is lowered and
it pierces the metal part at the lowest or bottom position. The cycle is
completed when the control system raises the punch back to the top
position and the operator removes the punched metal part and inserts a
new piece of metal for the next operation.
1. The first process step is the punch at rest in the raised position.
2. The second step is the punch at rest waiting for a fault to be
acknowledged.
3. The third step is the punch descending.
4. The final step is the punch ascending.
10. Write an IL program to turn off a conveyor belt on a production line (13) BTL5 Evaluate
after 150 parts have been produced. Assume the following:
1. Output bit Q124.3 = 0, turns off the conveyor belt;
2. Input bit I124.7 changes from 0 to 1 and then back to 0 each
time a new part is produced;
3. A normally open (NO) pushbutton connected to input I124.2 is
used to set the production count to 150,
4. A NO pushbutton connected to input I124.3 is used to reset the
counter to zero and stop the conveyor belt.
11. (i) Write an IL program to open a fill valve on a process tank to allow (10) BTL5 Evaluate
an ingredient to be added to the tank for 30 seconds. Assume that
the fill valve is wired to PLC output point Q124.4 and a
momentary normally open (NO) pushbutton connected to PLC
input point I124.6 is used by an operator to open the fill valve. Use
timer T3 and input bit I124.2 to reset the timer in the program.
(ii) Write an IL program to add the integer in word MW60 to the (3)
integer data in word MW62 and then divide the result by 10. Store
the result in word MW64.
12. (i) Write an IL program to turn off a conveyor belt on a production (10) BTL5 Evaluate
line after 10 parts have been produced. Assume the following:
1. Output bit Q124.5 = 0, turns off the conveyor belt;
2. Input I124.6 changes from 0 to 1 and then back to 0 each
time a production part is rejected;
13. (i) List the basic statement types for ST program. (6) BTL3 Apply
(ii) Explain conditional statements and iteration statements in (7)
Structured
Text programming.
14. (i) Write a structured text program for the following: a tank is filled by (6) BTL5 Evaluate
opening valve 1, as long as level switch 1 is not triggered and the
drain valve is closed.
PART C
1. Write a FBD program to turn off a conveyor belt on a production line (15) BTL5 Evaluate
after 50 parts have been produced. Assume the following for the
control program:
1. Output bit Q124.5 = 0, turns off the conveyor belt;
2. Input I124.1 is set to 1 each time a production part is rejected;
3. Input I124.2 is set to 1 each time a new part is produced;
4. A normally open (NO) pushbutton connected to input I124.6 is
used to set the production count to 50, and
5. A NO pushbutton connected to input I124.7 is used to reset the
counter to zero and to stop the conveyor belt.
2. Write an IL program that delays the starting of a process pump for 10 (15) BTL 5 Evaluate
seconds to allow a valve in the discharge line of the pump to fully
open. Assume that the Pump starter relay is wired to PLC output point
Q124.2 and a normally open switch connected to input point I124.0 is
used by an operator to start the pump.
3. Examine how convergence is represented by an SFC with neat (15) BTL3 Apply
diagram.
4. (i) Write a FBD program to subtract the integer data in word MW20 (8) BTL 5 Evaluate
from the integer data in word MW18 and store the result in word
MW22 if the input bit I:124.0 is true. Then divide the result by 2 and
store the final result in word MW24.
PART - B
1. Discuss in detail about the framework for networked control (13) BTL 2 Understand
system.
2. Explain in with neat diagram of Alice networked control system (13) BTL 4 Analyze
3. Write the design procedure for plant wide design control. (13) BTL 5 Evaluate
4. Discuss in detail about the cloud based automation with typical (13) BTL 2 Understand
application.
5. Write detailed in about Process Control Information Architecture. (13) BTL 5 Evaluate
6. Write short notes on layer and types of cloud. (13) BTL 5 Evaluate
7. Discuss about the cloud computing example and uses. (13) BTL 2 Understand
8. Discuss about the recent research trend in IOT. (13) BTL 2 Understand
9. Describe in detail with OPC, system integration in a (13) BTL 1 Remember
heterogeneous computing environment.
10. With neat diagram, explain OPC Client/Server Relationship. (13) BTL 6 Create
11. How OPC Server object provides a way to access or (13) BTL 4 Analyze
communicate to a set of data sources.
12. Illustrate the applications of PLC with case studies. (13) BTL 3 Apply
13. Explain the basic need of SCADA with case studies. (13) BTL 6 Create
14. Describe about the safety PLC in detail. (13) BTL 1 Remember
PART C
1. Design a HDA process flowsheet with complex heat integration. (15) BTL 6 Create
2. Discuss the future trend in DCS with case studies. (15) BTL 5 Evaluate
3. Explain the basic architecture of the IoT network. (15) BTL 6 Create
4. Write a new approach to the design of plant wide control (15) BTL 6 Create
systems.