March 13, 2018

PLC Questions and Answers


1) PLCs are _____________ designed for use in the control of a wide variety of manufacturing machines and systems.
a) special-purpose industrial computers 
b) personal computers
c) electromechanical systems
d) All of the above
Ans : a

2-Which of the following statements is not correct?
a)  The PLC rung output [-( )-] is a discrete output instruction or bit in memory.
b)  Each rung of the ladder logic represents a logical statement executed in software - inputs on the right and outputs on the left.   
c)  Input and output instructions in ladder logic do not directly represent the switches and actuators.
d)  PLC input instructions are logical symbols associated with voltage at the input module terminals.
Ans b

3-Which of the following statements is correct?
a)  Ladder logic is a PLC graphical programming technique introduced in the last 10 years.
b)  A ladder logic program is hard to analyze because it is totally different when compared with the equivalent relay logic solution.
c)  The number of ladder logic virtual relays and input and output instructions is limited only by memory size.    
d)  The number of contacts for a mechanical relay is limited to number of coils on the relay.
Ans:c

4-Which of the following statements about a single pole double throw relay is NOT true?
a) It is called an SPDT type of relay.
b) It has one common contact.
c)  It has two positions (NC and NO).
d)  It has a center off position.  
Ans:d

5-Which of the following statements about a single pole double throw relay is true?
a)  Insulators are used in the armature to isolate the electrical switching contacts from the rest of the relay components.
b)  The NC contact and the pole are in contact when the relay is off.
c)  It has just one coil.
d)  All of the above.
Ans:d

6-Which of the following statements about RLL is NOT true?
a)  NO contact symbol has two parallel lines to indicate an open contact.
b)  RLL stands for Relay Ladder Logic.
c)  NC contact symbol has the same two parallel lines with a line across them to indicate closed contacts.
d)  The right power rail is positive or the high side of the source, and the left power rail is the power return or ground. 
Ans:d

7-The ______________ is moved toward the relay electromagnet when the relay is on.
a)  Armature  
b)  Coil
c)  NO contact
d)  NC contact
Ans:a

8-When a relay is NOT energized:
a)  There is an electrical path through the NO contacts
b)  There is an electrical path through the NC contacts  
c)  Neither the NO or the NC contacts have an electrical path
d)  Both the NO and the NC contacts have an electrical path
Ans:b

9-Which of the following RLL applications is not normally performed in early automation systems?
a)  On/off control of field devices
b)  Logical control of discrete devices
c)  On/off control of motor starters
d)  Proportional control of field devices  
Ans:d

10-Current flows into the ___________.
a)  Input terminal of a sinking DC input module
b)  Input terminal of a sinking output field device
c)  Output terminal of a sinking input field device
d)  All of the above 
Ans:d


11-In a current sinking DC input module _____________.
a)  The current flows out of the input field device  
b)  Requires that a AC sources be used with mechanical switches
c)  The current flows out of the input module
d)  Currents can flow in either direction at the input module
Ans:a

12-AC output field devices can interface to _______________.
a)  AC output modules
b)  Relay output modules
c)  Both a and b 
d)  Neither a or b
Ans:c

13-What one item in the output module circuit above should be changed to make it correct.
a)  The battery polarity
b)  Output module should be sourcing
c)  Field device should be sinking
d)  Current flow direction
Ans:d

14-In an open loop control system
(a)    Output is independent of control input
(b)    Output is dependent on control input
(c)    Only system parameters have effect on the control output
(d)    None of the above
Ans:a

15-For open control system which of the following statements is incorrect ?
(a)     Less expensive
(b)     Recalibration is not required for maintaining the required quality of the output
(c)    Construction is simple and maintenance easy
(d)    Errors are caused by disturbances
Ans:b

16-For open control system which of the following statements is incorrect ?
(a)     Less expensive
(b)     Recalibration is not required for maintaining the required quality of the output
(c)    Construction is simple and maintenance easy
(d)    Errors are caused by disturbances
Ans:b

17-A control system in which the control action is somehow dependent on the output is known as
(a)     Closed loop system
(b)     Semiclosed loop system
(c)     Open system
(d)     None of the above
Ans:a

18-In closed loop control system, with positive value of feedback gain the overall gain of the system will
(a)    decrease   
(b)     increase
(c)     be unaffected    
(d)     any of the above
Ans:a

19-Which of the following is an open loop control system ?
(a)     Field controlled D.C. motor
(b)    Ward leonard control
(c)    Metadyne   
(d)     Stroboscope
Ans:a

20-In open loop system
(a)    the control action depends on the size of the system
(b)    the control action depends on system variables
(c)    the control action depends on the input signal
(d)    the control action is independent of the output
Ans:d

21-Which Software is used for S7-1200 Programming?
(a)    TAI Portal
(b)    Simatic Manager
(c)    Stater
(d)    TIA Portal
Ans:d

22-Full Form of PLC
(a)    Programming Logic Control
(b)    Program Logical Console
(c)    Programable Logic Controller
(d)    Programable Logic Control
Ans:c
23-One of the following has tendency to oscillate.
(a)    Open loop system
(b)    Closed loop system
(c)    Both (a) and (b)
(d)    Neither (a) nor (b)
Ans:b

24-A good control system has all the following features except
(a)     good stability   
(b)     slow response
(c)    good accuracy
(d)    sufficient power handling capacity
Ans:b

25-The initial response when the output is not equal to input is called
(a)     Transient response
(b)     Error response
(c)     Dynamic response
(d)     Either of the above
Ans:a

26-A control system working under unknown random actions is called   
(a)     computer control system
(b)     digital data system
(c)    stochastic control system
(d)    adaptive control system
Ans:c

27-Any externally introduced signal affecting the controlled output is called a
(a)     feedback   
(b)     stimulus
(c)     signal   
(d)     gain control
Ans:b

28-A closed loop system is distinguished from open loop system by which of the following ?
(a)     Servomechanism
(b)     Feedback   
(c)    Output pattern
(d)    Input pattern
Ans:b

29-Which of the following should be done to make an unstable system stable ?
(a)     The gain of the system should be decreased
(b)     The gain of the system should be increased
(c)    The number of poles to the loop transfer function should be increased
(d)    The number of zeros to the loop transfer function should be increased
Ans:b

30-Which one of the following increases the steady state accuracy.
(a)      Integrator   
(b)      Differentiator
(c)      Phase lead compensator
(d)      Phase lag compensator
Ans:a

31-A.C. servomotor resembles   
(a)    two phase induction motor
(b)    Three phase induction motor
(c)    direct current series motor
(d)    universal motor
Ans:a

32-As a result of introduction of negative feedback which of the following will not decrease ?
(a)     Band width      
(b)     Overall gain
(c)     Distortion   
(d)     Instability
Ans:a

33-Regenerative feedback implies feedback with
(a)     oscillations       
(b)     step input
(c)      negative sign    
(d)     positive sign
Ans:d

34-The output of a feedback control system must be a function of
(a)    reference and output
(b)    reference and input
(e)    input and feedback signal
(d)    output and feedback signal
Ans:a

35-A control system with excessive noise, is likely to suffer from
(a)    saturation in amplifying stages
(b)    loss of gain
(c)    vibrations   
(d)     oscillations
Ans:a

36- Zero initial condition for a system means
(a)    input reference signal is zero
(b)    zero stored energy
(c)    ne initial movement of moving parts
(d)    system is at rest and no energy is stored in any of its components
Ans:d

37-The band width, in a feedback amplifier.
(a)    remains unaffected
(b)    decreases by the same amount as the gain increase
(c)     increases by the sane amount as the gain decrease
(d)     decreases by the same amount as the gain decrease
Ans:c

38-The transient response, with feedback system,
(a) rises slowly      
(b) rises quickly
(c) decays slowly   
(d) decays quickly
Ans:d

39-Due to which of the following reasons excessive band width in control systems should be avoided ?
(a)    It leads to slow speed of response
(b)    It leads to low relative stability
(c)    Noise is proportional to band width
(d)    None of the above
Ans:c

40-In an automatic control system which of the following elements is not used ?
(a)     Error detector
(b)     Final control element
(c)     Sensor   
(d)     Oscillator
Ans:d

41-In a control system the output of the controller is given to
(a)     final control element
(b)     amplifier
(c)     comparator       
(d)     sensor
(e)    none of the above
Ans:a

42-A controller, essentially, is a
(a)     sensor   
(b)     clipper
(c)     comparator       
(d)     amplifier
Ans:c

43-The capacitance, in force-current analogy, is analogous to
(a)    momentum      
(b)    velocity
(c)    displacement   
(d)    mass
Ans:d

44-The temperature, under thermal and electrical system analogy, is considered analogous to
(a)     voltage   
(b)     current
(c)     capacitance       
(d)     charge
(e)    none of the above
Ans:a

45-In electrical-pneumatic system analogy the current is considered analogous to
(a)     velocity   
(b)     pressure
(c)     air flow   
(d)     air flow rate
Ans:d

46-In liquid level and electrical system analogy, voltage is considered analogous to
(a)     head   
(b)     liquid flow
(c)    liquid flow rate
(d)    none of the above
Ans:a

47-Which one of the following is the reference input minus the primary feedback.
(a)    Manipulated variable
(b)    Zero sequence
(c)    Actuating signal
(d)    Primary feedback
Ans:c

48-The phase lag produced by transportation relays
(a)     is independent of frequency
(b)     is inversely proportional to frequency
(c)     increases linearly with frequency
(d)     decreases linearly with frequency
Ans:c

49-Which one of the following is not a final control element.
(a)     Control valve   
(b)     Potentiometer
(c)     Electro-pneumatic converter
(d)    Servomotor
Ans:b

50-Which of the following is the definition of proportional band of a controller ?
(a)     The range of air output as measured variable varies from maximum to minimum
(b)     The range of measured variables from set value
(c)    The range of measured variables through which the air output changes from maximum to minimum
(d)    Any of the above
(e)    None of the above
Ans:c

51-In pneumatic control systems the control valve used as final control element converts   
(a)    pressure signal to electric signal
(b)    pressure signal to position change
(c)    electric signal to pressure signal
(d)    position change to pressure signal
(e)    none of the above
Ans:b

52-The effect of error damping is to
(a)    provide larger settling lime
(b)    delay the response
(c)    reduce steady state error
(d)    any of the above
(e)    none of the above
Ans:c

53-A differentiator is usually not a part of a control system because it   
(a)    reduces damping
(b)    reduces the gain margin
(c)    increases input noise
(d)    increases error
Ans:c

54-Which of the following is the output of a thermocouple ?
(a)     Alternating current
(b)     Direct current
(c)     A.C. voltage
(d)     D.C. voltage
(e)     None of the above
Ans:d

55-Eddy current drive can be a retrofit for ________.
a) constant speed system requirement
b) variable speed system requirement   
c) dual speed system requirement only
d) none of the above
Ans:b

56-The basic functions of electronic ballast excludes one of the following:
a) to ignite the lamp
b) to stabilize the gas discharge
c) to reduce lumen output of the lamp  
d) to supply power to the lamp
Ans:c

57-Electronic soft starters are used for motors to:
a) achieve variable speed
b) provide smooth start and stop  
c) improve the loading
d) none of the above
Ans:b

58-A salient pole synchronous motor is running at no load. Its field current is switched off.
The motor will
a.   come to stop.
b.   continue to run at synchronous speed.
c.   continue to run at a speed slightly more than the synchronous speed.
d.   continue to run at a speed slightly less than the synchronous speed.
Ans:b

59-The d.c. series motor should always be started with load because
a.   at no load, it will rotate at dangerously high speed.
b.   it will fail to start.
c.   it will not develop high starting torque.
d.   all are true.
Ans:a

60-When a synchronous motor is running at synchronous speed, the damper winding produces
a.   damping torque.
b.   eddy current torque.
c.   torque aiding the developed torque.
d.   no torque.
Ans:d

61- In a transformer the voltage regulation will be zero when it operates at
a.   unity p.f.
b.   leading p.f. 
c.   lagging p.f.
d.   zero p.f. leading.
Ans:b

62-The size of a conductor used in power cables depends on the
a.   operating voltage.
b.  power factor. 
c.  current to be carried.
d.   type of insulation used.
Ans:c

Face counting Using MATlab:-


   This face counter using MATLAB program helps count the number of persons present in a meeting hall or classroom at a time. The program logic can also be used in other applications, such as automatic temperature control which depends on the number of persons in a room. Video camera plays a very important role in this project.
If you try to count a large number of people in a hall, you may take time to count them and probably also make a mistake. With the help of this program, you can get the number of people instantly and more accurately using a camera and image processing.

Face counting using MATlab

Automatic OMR Sheet Scaning Using MAT lab:-

Optical Marking Recognition using MATLAB Software is for marking tests or extract data from documents such as survey. This software

Automatic OMR Sheet Scaning Project using MATlab

February 22, 2018

Wincc Advanced panels


SIMATIC PCs with WinCC Runtime Advanced:




-SIMATIC Rack PC: Rack PC 547B, IPC547C, IPC547D, Rack PC IPC647C, IPC647D, Rack PC IPC847C, IPC847D

 -SIMATIC Box PC: IPC227D, Box PC 427B, IPC427C, IPC427D, Box PC 627B, IPC627C, Box PC 827B, IPC827C

-SIMATIC Panel PC: IPC277D, Panel PC 477B, IPC477C, IPC477D, Panel PC 577B, IPC577C, Panel PC 677B, IPC677C, IPC677D

 -SIMATIC modular Embedded Controller: EC31

- Industrial Flat Panel (Multi-Touch)

- Standard PC with WinCC Runtime Advanced

- SINUMERIK PC: PCU 50.3, PCU 50.5

Wincc HMI Models

Siemens HMI Panel Overview

Human Machine Interface (HMI) panels from Siemens are integral to industrial automation systems, allowing operators to monitor and control processes. Siemens offers various families of HMI panels designed to suit different performance levels and applications—ranging from entry-level Basic Panels to advanced Comfort Panels.

🔹 Basic Panels – First Generation

These panels are compact and cost-effective, ideal for simple virtualisation tasks in small-scale applications.

Model

Screen Type

Screen Size

Key Features

KP300 Basic

Keypad

3"

Compact display with navigation keys

KTP400 Basic

Touch

4"

Entry-level touch interface

KTP600 Basic

Touch

6"

Mid-sized HMI with simple configuration

KTP1000 Basic

Touch

10"

Larger screen for expanded visualization

TP1500 Basic

Touch

15"

High-resolution interface for wider scope

🔹 Basic Panels – Second Generation

The second generation introduced performance improvements, modern touch functionality, and broader Ethernet capabilities for enhanced integration.

Model

Screen Size

Improvements Over 1st Gen

KTP400 Basic

4"

Faster processor, improved visuals

KTP700 Basic

7"

Enhanced memory and communication protocols

KTP900 Basic

9"

Multi-language support, larger viewing area

KTP1200 Basic

12"

Wider screen, scalable for larger control tasks

🖥️ Comfort Panels – WinCC Comfort

Comfort Panels are designed for demanding applications requiring advanced virtualisation, diagnostics, and complex control logic.

Panel Type

Model(s)

Notable Features

Mobile Panels

Mobile Panel 177, 277

Portable operation, ideal for flexible control

70 Series

OP 73, OP 77A, OP 77B

Budget-friendly models for small projects

170 Series

TP 177A, TP 177B, OP 177B

Improved screen clarity and input options

270 Series

TP 277, OP 277

Color TFT screens and multimedia integration

Multi Panels

MP 177, MP 277, MP 377

High-end performance, advanced graphics

⚙️ Summary

Panel Family

Target Application

Display Type

Screen Size Range

Basic Panels

Entry-level automation

Touch/Keypad

3" to 15"

Comfort Panels

Advanced industrial control

Touch/Mobile

4" to 19" (varies)

 

 


Truth-Tables, Boolean Equations

What Is a Truth Table?

A Truth Table lists all possible input combinations for a logic circuit and the corresponding output for each combination. It's used to visualise and analyze logic gates and expressions.

Example: 2-input AND Gate

A

B

Output (A AND B)

0

0

0

0

1

0

1

0

0

1

1

1

Boolean Equations

Boolean Equations represent logic operations mathematically, using symbols like:

+ → OR

· → AND

¬ or ' → NOT

Common Logic Functions

Operation

Symbol

Equation Example

Output Rule

AND

·

A · B

Output is 1 only if both are 1

OR

+

A + B

Output is 1 if either is 1

NOT

¬ or '

¬A or A'

Output is 1 if A is 0

XOR

A B

Output is 1 if inputs differ

Example: Boolean Equation to Truth Table

Let’s take a logic expression: Y = A · B + ¬C

A

B

C

¬C

A·B

Y (A·B + ¬C)

0

0

0

1

0

1

0

0

1

0

0

0

0

1

0

1

0

1

0

1

1

0

0

0

1

0

0

1

0

1

1

0

1

0

0

0

1

1

0

1

1

1

1

1

1

0

1

1

 

Scan cycle of PLC

Understanding PLC Program Execution and Scan Time

In an automated system, a Programmable Logic Controller (PLC) continuously executes its logic program in a repetitive cycle, known as the scan cycle, as long as the system remains powered.

How a PLC Executes a Program

  1. Input Status Update The PLC reads signals from physical input devices (sensors, switches) and stores them in a dedicated memory area called the I/O Image Table. This acts as a snapshot of all input states.

  2. Logic Evaluation The PLC executes the program from the first rung to the last, using the I/O Image Table rather than real-time input values. This ensures consistent logic evaluation during the scan.

  3. Output Update Once all logic instructions are processed, the PLC updates the output states—activating actuators, relays, etc.—based on the computed results.


https://plcscadaacademy.blogspot.com/

 What Is Scan Time?

Scan time is the total time taken to complete one full input-process-output cycle.

  • For modern PLCs and small programs, scan time may be just a few milliseconds.

  • Older PLCs or complex programs may take 50–100 ms or more, potentially causing sluggish responses in fast-changing processes.

If scan time is excessive, the system may fail to detect quick events, leading to inaccurate control or missed inputs.

 Role of Special-Purpose I/O Modules

To overcome scan time limitations, certain tasks are handled by dedicated I/O modules:

  • High-Speed Counters: Capture fast pulses from devices like shaft encoders.

  • Precision Timers: Measure short durations more accurately than standard scan-based logic.

  • Isolated I/O Units: Operate independently from the scan cycle to ensure reliable real-time performance.

These modules collect data at hardware speed, unaffected by PLC scan delays. The PLC simply reads their accumulated values for decision-making.