PLC Interview Questions With Answers Part 1
PLC Interview Questions With Answers Part 1
In this session we are gonna discuss about some PLC Interview Questions with Answers and this
part contains 15 questions
In simple words, PLC acts as interface between the input and output devices at the process side
of the industries. It monitors the inputs receive from the input devices and takes necessary output
control functions by executing the programs stored in its memory.
The term Logic is used in Programmable Logic Controllers because all the program inside the
PLC will be of Logic programming (eg: Ladder diagrams).
In industrial applications hard wired relay logics were replaced by Programmable Logic
Controllers due to its reliability, simplicity, low cost, easier programming and many other
functions.
1. Input Interface.
2. Memory Section.
3. Central Processing Unit (CPU).
4. Programmable Language.
5. Programming tool.
6. An output Interface.
4. What are the two basic sections of PLC?
Ans. The two basic sections of PLC are:
CPU
The Input/Output interface system
Processor
Memory system
System power supply
More Flexibility: It is easier to create a new program module or change an existing program in
PLC compared to hard wired circuitry system. These software program modules can be changed
whenever required. Use can modify the programs in the field and if required, security can be
enhanced by hardware interlocks such as key locks and software features such as passwords.
Lower Cost: PLCs were originally designed to replace relay control logic which is not
economical and complex especially for large control circuits. With PLCs the cost savings have
been so significant that the relay control becomes uneconomical except for some power
applications. Generally if the application consists of more than half a dozen control relays, PLCs
are least expensive to install.
Faster Response: PLCs are designed for high speed and for the real time applications.Response
time for PLCs are much smaller compared to relay logic circuits. The programmable controllers
operates in real time i.e, an event taking carrying out at field will result in execution of operation
of output.
Easy to Troubleshoot: PLCs have inbuilt diagnostics and override functions that helps the user to
easily trance the software and hardware errors.
When you use a 0-20 ma signal, the PLC won’t be able to detect a cable break, because it returns
0 ma and the PLC will think there is nothing wrong with the signal.
PLC is electronic systems that operate digitally and are designed for use in
industrial environments, where the system uses programmable memory for
internal storage instructions that implement specific functions such as logic,
sequences, timing, enumeration and arithmetic operations to control machines
DCS:
Majority of process plant has both the PLC & DCS. PLC employs as the
subsystem of DCS.
PLC architecture:
Architecture of PLC
DCS architecture:
DCS Architecture
The PLC is the probable option if the price of each autonomous item being
produced is comparatively small and/or downtime results in loss of
manufacturing, but with little extra expense or harm to the process.
The choice should be DCS if the price of a batch is large, either in the price of
raw material or market value, and downtime outcomes not only in lost
production but possibly hazardous and harmful circumstances.
System speed, PLC vs. DCS
The PLC has been designed to satisfy the requirements of high-speed apps
requiring scanning rates of 10 milliseconds or less, including movement
control, high-speed interlocking, or motor and drive control activities.
Most of the time, the DCS doesn’t have to be that fast. The regulatory control
loops usually scan within the range of 100 to 500 milliseconds. In some
instances, executing control logic any quicker could be harmful–potentially
causing excessive wear on final control components such as valves, leading
to early maintenance and process problems.
PLC vs. DCS:
[table id=4 /]
1. What is SCADA?
SCADA stands for Supervisory Control And Data Acquisition is a
system that refers to a combination of telemetry and data acquisition.
SCADA is a real-time supervision, monitoring and information
handling scheme. Components of SCADA include Master Station,
Remote Station / Remote Terminal Unit and Telecommunications
Media.
2. What are Features of SCADA software ?
SCADA’s popular characteristics include Dynamic Mimic Process,
Trends, Alarm, Hardware Connection, Recipe Management, etc.
3. Who are the leading SCADA manufacturers?
Invensys Wonderware InTouch
Siemens WinCC (Earlier COROS)
Allen Bradley RS View (Earlier Control View)
Intellution iFix (Earlier Fix DMACS)
GE Fanuc Simplicity
4. List various EXE files used in InTouch Software and there role
InTouch : It’s a manager of the application. You can use this to build a fresh request.
Moving between different apps.
View: Windowviewer. This will start Runtime application. From this you can monitor
and control the plant.
WM: WM.XE is the manufacturer of windows. This will launch the InTouch
development package. You can use this to create the application
5. What are the advantages of SCADA over other protocols?
SCADA enables users to generate object-oriented graphs, offering
trending graphs for real-time information analysis.
Trends in real time are dynamic. They are continually updated with
whatever time span in setup during runtime. In order to see previous
data, you can not scroll the real-time trends.
11. What types of Licensing patterns used in SCADA software?
There are two types of licenses are used, it is a hardware lock that
can be placed on the PC’s communication port. Software lock: this is
the licence for the software code. You can typically placed the code
during setup or move the code from the floppy to the hard drive
12. What happens to alarm monitoring if the primary alarms serve fails?
The servers are mirrored and all functions are transparently
transferred to the users or ongoing functions.
13. What happens to monitoring if the primary server fails?
Process monitoring
Operator interface
2.Explain automation ?
A. Automation is a process that can reduce human efforts, we can see the use of
automation in many industrial applications. The machines in a factory can be controlled by
using automation.
22. Explain the difference between the two wire, three wire and four wire transmitter?
A. The power signal transmission is done in a single cable for a two-wire transmitter. The
data signal and power are related to common ground in a three-wire transmitter, while in the
case of four-wire transmitter two wires are used for supply power, and for signals, two wires
are used.
24. What are the required features for a good automation tool?
A. It should support multiple frame work
Environmental conditions
Repeatability
30. What are the output devices that is used in industrial automation?
A. The output devices such as actuator, drives, control valves, solenoid valves, coils,
indicating lamps, etc can be seen in industrial automation.
34. What are the types of pressure sensors that is used for pressure measurement?
A. Manometers, DP transmitter, Bellows, bourdon tubes and diaphragm elements.
37. Name the types of control valves that is used in industries and their functions?
A. The control valves such as gate, ball, diaphragm, butterfly, and plug valves are used for
ON-OFF services. While certain control valves such as the globe and pinch valves are used
for throttling services and the check valves are used to do the throttling services.
39. What are the types of sensors used for industrial automation?
A. There are different types of sensors used in industrial automation and these sensors can
be calssified according to their properties.
43. Explain the infinite position valve and finite position valve?
A. The control valves could be either finite position or infinite position valves, the infinite
position valve can be set in between the fully opened to the fully closed position. The finite
position valve cannot be set like the infinite position valve it could either be completely open
or completely closed
45. Explain the difference between the two wire and three wire RTD system?
A. The two wire RTD’s are used for small distance while the three wire RTD is used for long
distance.
49. If the displacer has fallen down while in line then what could happen?
A. Then the output will be maximum
50. Explain the interface level and how can we calculate it?
A. If a tank is filled with two liquids that have two different specific gravities and this level
measurement is the interface level.
The non-electrical quantity is converted into an electrical form for using electrical methods
and techniques for measurement, manipulation and control. The device which when
actuated, transforms energy from one form to another is called a transducer.
The sensing of any quantity is liable to errors. The two types of errors are Static error and
Dynamic error.
1. Static error: It is a type of error caused while sensing due to reading problems. The
parallax of needle in meter scale is an example of this type of error. One major
advantage of digital readouts is parallax error doesn’t exist.
2. Dynamic error: This error is caused due to the difference in quantity as it really is
and the amount to be measured, caused by the loading of measuring instrument itself.
A typical example is a false voltage reading across a high- resistance potential divider
with a voltmeter whose resistance is not high enough.
What are types of sensors?
Sensors are mainly classified into two as Active sensors and Passive sensors.
Active sensor : These type of sensors self generating and it does not require any
external power supply. Photovoltaic cell, piezoelectric devices thermocouples are
examples of Active sensors.
Passive sensor: These type of sensors requires an external power supply and are
not self generating. A diaphragm used to convert the pressure is an example of
passive sensor.
What is the difference between transducer and sensor?
The following are the differences between transducer and sensor or how is a transducer
differ from a sensor.
A transducer is a device which convert one form of energy into some other useful
form. While a sensor is a device which detects one form of energy and convert that
data to electrical energy. So we can say that the sensors are, a type of transducer.
Sensor produces output based on the strength of the input physical quantity.
In sensors, the sensing element is the sensor itself. In transducers, other than the
sensing element , a circuitry will be there; a signal conditioning element.
A sensor itself cannot give feedback to the system. While transducers can convert
between any form of energy, it can give feedback to the system.
A sensor senses the changes in physical quantity in surrounding whereas
Transducer converts the physical quantity into another form.
Is transducer a detector?
Sensors or detectors are a type of electrical transducers which can sense and
convert energy (heat energy, light energy etc) from one form to another. Thus we can
conclude that all sensors are transducers but all transducers are not sensors in all
cases. Almost input transducers are sensors and output transducers are Actuators or
Effectors.
Is Thermocouple a transducer or a sensor?
Peltier effect is the working principle of Thermocouple. The structure of
thermocouple consists of two metallic ends joined together to form two junctions of
different temperature. Peltier emf is generated due to the temperature difference in two
junctions. A reference temperature is connected to one end for reference and unknown
is connected to other end. Since it senses the temperature it is a sensor and it
converts temperature into emf, hence it is a Transducer. Thermocouple acts as
an active transducer.
These are the comparison between sensors and transducers.
what is PLC?
A programmable logic controller is almost same as a small computer with built-in operating
system (OS). The OS is highly skilled to handle incoming events at the time of their
occurrence. Sensors are connected to the PLC input lines to notify upon events. For
example temperature above or below a certain level, liquid level reached etc. and for any
reaction to the incoming events it has output lines to signal. For example start an engine,
open or close a valve etc. The system is user programmable and it uses a language called
‘Relay Ladder’ or RLL (Relay Ladder Logic) for this purpose.
What is the architecture of PLC?
A PLC is a solid state user programmable control system with the following functions as to
control logic, sequencing, timing, arithmetic data manipulation and counting capabilities.
PLC can be viewed as an industrial computer that has a central processing unit, memory,
input output interface and a programming device.
An integrated PLC contains all of those components in a single unit. Some integrated PLC’s
can be expanded by having additional I/O modules PLCs must contain a CPU module, a
power supply and I/O modules plugged into the same rack.
What is CPU module in PLC? What are the functions of CPU module in PLC?
The CPU module consists of two main parts as the central processing unit and its memory.
The memory includes PROM (Programmable read only memory) containing the PLCs
operating system, driver programs and application programs; and also RAM, where the user
written programs and working data are stored. PLC manufacturers offer different types of
retentive memory to save user programs and data while power is removed, so that the PLC
can resume execution of the user-written control program as soon as power is restored. If
the PLC has one of the following tentative memory options, it doesn’t have to be
reprogrammed each time it is turned on, so a keyboard and monitor not necessary to be
included as a part of every PLC.
In most PLCs, at least, part of the RAM memory’s contents is protected by a long-life
battery, for years of use. Other PLCs have only capacitor –based power back-up. So RAM
memory is saved only for short periods of power outages (measured in hours).Many PLCs
also offer removable memory modules, which are plugged into the CPU module. A copy of
the user-program and data on EEPROM (electrically erasable programmable read-only
memory) chips in the removable memory modules can be possible to the user. An
EEPROM module can be connected into any PLC of the same make, so they are also
useful in copying programs and data from one PLC to the next.
Now a days, PLC have started to include flash memory, which is like EEPROM memory
except that it can be written without the need of special circuitry. Flash memory is used on
some removable memory modules as an alternative of using the older EEPROM memory
chips, but flash memory is also sometimes built into the CPU module, where it automatically
backs up parts of Random access memory even as the PLC runs. And also if the power
fails while a PLC with flash memory is running, the PLC will resume running without having
lost any important working data after power is restored. Modern CPU modules often contain
more than one microprocessor. The main microprocessor chip’s job is to execute the scan
cycle while slave microprocessors handle the communication functions required to
exchange data with increasingly powerful I/O modules remotely located sensors and
actuators, and with other controllers via local area network.
Miscellaneous intelligent I/O modules, each with its own built in microprocessors and
memory. Intelligent I/O modules are designed for special purposes such as counting high-
frequency signals or providing servo control of motors.
Honeywell-TDC 2000
Yokogawa
DCS operates with multiple controllers and it coordinates all job and also it uses
conventional control items which are automatically connected.
What is the structure of DCS?
The main attribute of a DCS is its reliability due to the control system in distributed nodes.
The above diagram shows the structure of DCS. Field level or level zero in the diagram
contains the field devices such as sensors and final control elements as control valve.
Industrialised input and output modules are included in level one and their respective
distributed electronic processors.The supervisory computers which collect information from
the nodes and provide operator control screens are included in level two. Level one and two
are the functions of traditional DCS level. The monitoring process is done in level three.
Level 4 is the production scheduling level.
The application of DCS is in wide range as it is dedicated systems in manufacturing plants
like Chemical plant operation, Water treatment plants, Nuclear power plants etc.DCS
reduces design integration risk.
PLC vs DCS
The comparison between PLC and DCS are as follows:
CPU
The central processing unit is the major part of the PLC and it performs the tasks which
are needed to complete the functions of the PLC. The CPU would have a program that
would tell the PLC how to execute the control instructions. The CPU controls and
processes all the operations within the PLC and because of this, it is called the PLC
brain. The CPU would communicate with other PLCs, programming devices, and I/O
devices. The CPU is a microprocessor-based circuitry, the CPU consist of an arithmetic
logic unit, program memory, process image memory, internal timers, and counters.
Arithmetic logic unit – The major function of an ALU is to do the arithmetic and logic
operations with the data transmitted. The accumulator is a part of the ALU and this
would store both the data to be processed as well as the result of an operation. The
instruction register stores the command from the program memory until it is decoded
and executed. A command would have an operation part and an address part. The
operation part would indicate which logic operation must be carried out. The address
part would define the operands with which a logic operation is to be executed. The
program counter would have the address of the next command to be processed. The
counter unit would regulate and control the entire logic sequence of the operation which
is needed for the execution of the command.
Functions of the CPU
It receives inputs from various sensing device and switches
It executes the user program
It is capable to make various decisions in order to control the operation of the
equipment or the process
It can do many arithmetic and data manipulation functions
It is capable to deliver the output to various load control devices such as relay
coils and solenoids
INPUT MODULE
The input devices are pushbuttons, sensors, potentiometers, pressure switches. The
input module would change the high voltages to low-level voltages which the CPU can
use for processing. The input module is capable to process both the analog input and
the digital input, mostly digital inputs are used in industries. The analog input module
would convert analog signals from analog devices such as temperature sensors,
pressure sensors. The analog signals from these devices would be converted to digital
with the help of an ADC. Analog signal would be varying voltage and it would be in the
range of 0-12V or current in the range of 5-20ma and these values will be converted into
integer values.
The input and output modules would allow the PLC to check and control a process, the
input section is composed of I/O rack and individual I/O modules. The input interface
module would receive a signal from the machine or process device and converts it into
signals which can be used by the controller. The input interface would enable details
regarding the process that is to be communicated to the CPU. In the input section, the
status signals are filtered to remove noise. Many I/O modules can be inserted into the
rack of the PLC, and this section provides a connection to the machine and the process.
The input to PLCs is discreet signals from the input device. The I/O modules can be
located near the I/O devices with the help of remote I/O and by doing this the wiring
connection can be reduced.
Functions of the input module
It can sense when the signal is received from a sensor
It would also convert the signal to the proper voltage for the PLC
It would also isolate the PLC from the fluctuations in the input signals voltage or
current
It would also send a signal to the processor indicating which sensor originated
the signal.
The input module would respond to the input signal in this manner
The voltage transients are reduced or removed by the input filtering and by this
there won’t be any false data
The optical isolation will protect the backplane circuits and module logic circuits
from the damage which could happen from the electrical transients.
Types of I/O circuits
Discreet I/P
This type of circuit can sense the status of limit switches, pushbuttons, and other
discreet sensors. It will also do the noise suppression and by that, it will prevent false
indication of Inputs.
Analog I/O
This type of circuits can sense or drive the analog signals, the analog inputs comes
from devices such as strain gauges, thermocouples, or pressure sensors, and it will
provide a signal voltage or current which is derived from the process variable. The
standard analog I/P signal is 4-20 ma, 0-10v
DC I/P module
AC I/P module
OUTPUT MODULE
The output device is composed of controller coils, solenoid coils, lamps, etc. The output
module would amplify the low-level logical signal which is generated by the CPU and
then it would transmit these modified signals to the final control elements to operate the
output devices. This module would convert the controller signals to external signals
which can be used to control the machine or process. The output interface would allow
the CPU to communicate operating signals to the processing device under its control.
The output module is capable to convert the signals from the CPU into analog or digital
values which can be used to control different output devices.
Memory
Memory is the part of the PLC which stores data, programs, and information. The
process of adding new information into memory is called writing, and the process of
retrieving information from a memory location is called reading. The major types of
memory which are used in the PLC are read-only memory and random access memory.
We can only read Rom location but it can’t be written, the ROM would have programs
and data which should not be edited like the operating programs. The RAM location can
be used to do the reading and writing and by this, we can edit or change the information
which is stored in the RAM.
System buses
This is the internal path through which the digital signals flow within the PLC. Mostly the
system would have four buses, the data bus is to send data between different elements,
the address bus is to send the address of the locations in order to access the stored
data, the control bus is for the internal control, and the system bus is for the
communication between the I/O ports and I/O units.
SOFTWARE
The PLC has two parts the operating system and the user program. The operating
system of the PLC provides proper support from the starting of the project to the
creation of the user program. The major window would have all the functions which are
needed to set up a project, and also to configure the hardware, write, and set up a
program. During the processing of the PLC program, the CPU would scan and execute
the main program cyclically. A program scan cycle consists of sequential operations
which include input scan, program scan, and output scan. In the input and output scan
of the PLC, the CPU updates the process image of the input and output. So after the
completion of each scan cycle, the CPU would return to the next cycle and repeats the
cycle and the required to scan one program is scan cycle time.
Industrial automation helps us to process the plant operation in more optimized conditions
by using various control systems such as Programmable Logic Circuit (PLC), Human-
machine Interface (HMIs), and robotics.
High reliability
Increased productivity
Quality enhancement and
Reduced labor expenses
Block diagram of Industrial Automation
It is mainly used when manufacturing products in batches because we can customize and
make adequate changes throughout the manufacturing process.
Input,
CPU and
Output.
Architecture of PLC
The distribution of control system architecture throughout the plant has resulted in more
efficient methods of improving control stability, process quality, and plant efficiency.
Subsystems of SCADA
The SCADA System is made up of subsystems. They are as follows:
b) A supervisory (computer) system that collects (acquires) process data and sends
commands (controls) to the process.
C) Remote terminal units (RTUs) link to process sensors, transform sensor signals to digital
data, and transmit the digital data to the supervisory system.
The transfer of data between different systems and networks makes them more vulnerable
to attacks and subsequent system failures. Ensuring the availability and integrity of these
systems requires precautions against unauthorized internal and external access to industrial
control systems.
Importance of Cyber Security:
First, we have to know there are many reasons why digital or cyberattacks occur, in some
cases, it is just for the fun to the hackers and in some cases, people use it as a money-
making way.
In any of the above circumstances, the impact of these attacks can be devastating, causing
immense financial and reputational harm to the people or industry. For these reasons, IT
and OT security are more important than ever before, even if most companies are
unprepared or unaware from even the basic security perspective. Unless an effort is made
to safeguard this next phase of IT/OT fusion, many existing frameworks will be vulnerable to
these assaults. IT/OT combo not only lets businesses build future-proof enhancements, but
it also allows them to do it safely.
The easiest and efficient way to prevent phishing attacks is to make sure the workers are
aware of both how normal and harmful an attack can be; remind them to keep extra care
while checking emails and to report any email they find suspicious. Apart from this, make
sure workers are using security features like two-factor authentication for their email
accounts.
OT Networks
Operational technology (OT) is a combination of hardware and software that detects and/or
modifies industrial equipment, resources, processes, and events through direct monitoring
and/or control. The term was coined to describe the technical and functional differences
between standard IT systems and industrial control system environments. Here are some
examples of technologies that work:
Data collectors collect data from various sources such as PLC, OPC servers, files, and
network devices.
Server Software: It processes the data which was collected by the data collector and
serves it to the client applications.
It also provides some other services like alarm management, calculation, and data context
subsystems.
Tools for offline and online model creation, model verification, and data analysis that
ensure model accuracy
Driver program for obtaining historical data from control systems or online process
historian systems.
Operator direction to inform the operator of where the APC is taking the process.
Controlled variable prediction based on future projected motions of managed
variables
APC adjustment at runtime to account for changes in process dynamics without the
need to recompile the model
Not the PID or process controller tuning and related performance, but the APC
controller monitoring and performance analysis software
Asset Management System (AMS)
An Asset Management Solution focused on reducing the downtime of an Automation
System.
Industrial automation has a large number of smart machines like PLCs, HMIs, VFDs, etc,
and these devices are either configured or programmed based on the industry. Smart
machines are usually connected to an Ethernet network. Sometimes, some disruptions will
occur in the industry, and quick recovery from these disruptions is very important to reduce
downtime and product loss. These disruptions occur due to man-made or natural issues
and an Asset Management System can solve these problems.
Capabilities of AMS
The capabilities of AMS software are listed below:
SHARE0
Functions of DCS:
Based on its function, DCS has functions:
DCS functions as a tool to control a loop system where one loop can perform several
control processes.
Serves as a substitute for manual and automatic control devices that are separated into
a unit so that it is easier to maintain and use
Data collection and processing facilities to obtain the right process output
Components of DCS:
In general, the components of DCS consist of 3 basic components, namely: Operator
Station, Control Module, and I/O module.
Operator station:
A station operator is a place where the user monitors or monitors the running process.
The station operator is used as the interface of the system as a whole or commonly also
known as a collection of several HIS (Human Interface Station). The HIS form is an
ordinary computer that can retrieve data from the control station. Station operators can
bring up process variables, control parameters, and alarms that the user uses to
retrieve operating status. Station operators can also be used to display trend data,
messages, and process data.
Control Module:
The control module is the main part of DCS. The control module is the control centre or
as the brain of all process control. The control module performs the computational
process of algorithms and runs logical expressions. In general, the control module is in
the form of a black box located in a cabinet or cabinet and can be found in the control
room. Control modules usually use redundant mode to improve control reliability.
The function of the control module is to take an input variable that will be controlled. The
variable value will be calculated. The results of this calculation will be compared with the
set point. This set point is the value expected of a process. If the calculation results are
different from the set point, the value must be manipulated so that it reaches the set
point. Value manipulation results will be sent to the input module output and to be
delivered to the actuator.
I/O Module:
I / O Module is the interface between the control module and the field instrument. I / O
module functions to handle input and output of a process value, convert signals from
digital to analog and vice versa. The input module gets the value from the transmitter
and provides the process value to FCU for processing, while FCU sends the
manipulated value to the output module to be sent to the actuator. Each instrument
field must have an alias on the I / O module. Each field instrument has a unique name
on the I / O Module.
Components of PLC
by Editorial Staff
Components of PLC
A PLC consists of the required quantities of the following types of
modules or cards, mounted on a common physical support and
electrical interconnection structure known as a rack.
These are used to connect devices between plc and field devices like
flow transmitters, pressure transmitters, control valves, analyzers,
substation feeders for motor control etc.
(4) Communication:
Communications modules are available for a wide range of industry-
standard communication network connections. These allow digital
data transfer between PLCs and to other systems within the facility.
(6) Redundancy:
Many PLCs are capable of being configured for redundant operation in
which one processor backs up another.
SCADA
SCADA PLCs should be specified to be programmed using ladder
diagrams. This language is very common, and duplicates in format
traditional electrical schematics, making it largely understandable by
electricians and technicians without specific PLC training.
(1) They were developed for the factory floor and have demonstrated
high reliability and tolerance for heat, vibration, and electromagnetic
interference.
(2) Their widespread market penetration means that parts are readily
available and programming and technical support services are
available from a large number of control system integrators.