PLC in Automation
PLC in Automation
Industrial Automation
● Automation generally means dedication of the work to
machine.
● Industrial Automation generally comes under the Engineering
field of Mechatronics.
MECHATRONICS
AUTOMATION ( Industrial )
– Run Mode
– Program Mode
– Monitor Mode
Run Mode Position
● Testing input status. First, a PLC check each of the inputs status ON
or OFF.
LADDER
Function Block Diagram
Language (FBD)
FBD
Statement List Programming
(STL)
● The Statement List Programming was originally developed in
Europe
● This method uses a Structured
Approach.
● In this method the scan time is reduced as it doesn't even
scans the inactive parts of the programs.
STL
Programming a PLC using
Ladder Language
Conventional
Schematic diagram Vs Ladder Diagram
● Power
Terminals
● Inputs
– Switches
– Relays
Elements of Ladder Diagram
● The bus-bar denotes the starting of rung i.e power line (+),
● The I0.0 denotes the switch (NO) connected with one end on the (+)
and other end (-) thus making the circuit closed.
● This I0 denotes the word and 0.0 denotes the '0' bit.
Cascading of Multiple inputs for
a Single Output
● First arrange the inputs with energising output in there
ascending
values.
● Neglect the De-energising (Zero)
outputs.
● Now draw the ladder for these Output
Sequence.
● Group the similar first order inputs, and reduce it to
equivalents
groups.
● Then repeat the same step for remaining group, Finally
combine all the input groups to the output.
Main Types of Instructions
● Input Instructions (I0.0......I0.7)
● Output Instructions (Q0.0...Q0.7)
● Internal Relay Instructions (M0.0...M0.7)
● Timer Instructions (T0.....T255)
● Counter Instructions (C0....C255)
● Advanced Instructions
● One Shot (Positive Transition)
● MATH (Math )
● PLS (Pulse)
● INT (Interrupt)
Input Instructions
● Input instructions are broadly of two types,
● Normally Open Contact. (NO)
● Normally Closed Contact. (NC)
0 False True
1 True False
Output Instructions
● The Output (=) instruction writes the new value for the
output bit in the process image register ( i.e. On or
off)
● Output(=)
● Set(S)
● Down
Counters,
Q 0.0
One Shot / Positive Transition
Instructions
● It is similar to a contact but the only difference is that it will
be closed only during the Rising / Falling Edge of the
Signal.
● The contacts which closes during the Rising Edge of the
signal is called Positive Transition (or
DIFU).
● The contacts which closes during the Falling Edge of the
signal is called Negative Transition (or DIFD).
Example of one Shot / Positive
Transition Instruction in PLC
Examples of Simple
PLC- Automations & Programs
Example of Water level Tank
I0.0 I0.1
M0.0
Q 0.0
M0.0
Q 0.0
Automation for Garage Door
Ladder Diagram
Automation of product packaging
Automation of product packaging
Ladder Diagram
Automation for
Parking Station
Reaction chamber
Charge/Discharge
Hard Ware Connection Details of
SIEMENS S7-200 PLC
How to make hardware connection
between PC to PLC?
● Connect the “MMI cable” Male pin to the PLC control box
and Female end to the MMI unit.
How to Open the Siemens Step-7 Micro
Win Software?
● Click PROGRAM
STATUS icon on the
Standard tool bar to
visualize the program
status in the window,
or