Industrial Automation
Industrial Automation
Industrial Automation
Industrial Automation
(Automao de Processos Industriais)
Introduction to PLCs
http://users.isr.ist.utl.pt/~jag/aulas/api1213/api1213.html
Slides 2010/2011 Prof. Paulo Jorge Oliveira
Rev. 2011-2013 Prof. Jos Gaspar
Page 1
Industrial Automation
Syllabus:
Chap. 1 Introduction to Automation [1 week]
...
Chap. 2 Introduction to PLCs [2 weeks]
Internal architecture and functional structure.
Input / output interfaces. Interconnection of PLCs .
Components of Programmable Logic Controllers (PLCs).
...
Chap. 3 PLCs Programming Languages [2 weeks]
Page 2
http://www.plcs.net/chapters/history2.htm
Tutorial:
http://www.koldwater.com
http://www.htservices.com/Tutorials/plctutorial1.htm
http://www.sea.siemens.com/step/templates/lesson.mason?plcs:1:1:1
Simulators:
http://thelearningpit.com/plc/psim/psim.html
http://www.keyence.com/plc/kvl.htm
http://www.autoware.com/english/demo.htm
SW used in lab, Schneider/SoCollaborative Unity Pro, has simulator
Bibliography :
Standards:
http://www.plcopen.org/
Page 3
Specifications
Technical solution choice
Execution of tech. drawings
Documentation
Software development
Execution
Installation
Software installation
Tests
Conclusion
Start of operation
Start of exploitation
Page 4
An Automation Example
Solution based on PLCs
Example:
Automation of the Main Entrance Door, in PLCs Theory, [Omron]
Page 5
Example:
Automation of the Main Entrance Door, in PLCs Theory, [Omron]
Functional Specifications
An automatic system that could command the opening and close of a door is the main purpose
of these specifications.
The command operation will be automatic and manual. There must be a selector with two
positions in a front panel of command to select the mode of operation.
The manual mode resorts to the use of two push buttons to open and close the door. Once the
OPEN push button is pressed, the door will be opened until the operation is completed, as
detected by a limit switch. Upon pushing the CLOSE button the door will be commanded to
close, until the end of the operation is detected by other limit switch.
The automatic mode of operation resorts to the use of two sensors, that detect the proximity of
the users. When a person is detected the automatic opening of the door starts. The door
remains open for a period from 5 to 20 seconds, following the null detection of the user. After
that period the door starts to close. If during this last phase the presence of another user is
detected the close operation is aborted and a new cycle of opening starts.
Page 6
Example:
Automation of the Main Entrance Door, in PLCs Theory, [Omron]
Technological Specifications
The proximity sensor that detects the users must be of a model that can be installed over the
door (one in the interior and other in the exterior), and must be based on the reflection of
infrared radiations, with output by transistor. The sensor sensitivity must be tuned such that its
output becomes active if an user is at 2 meters of distance or less.
The motor that activates the open and close of the door must be electrical , three-phase, ..., etc.
Operating Specifications
A key must be required to be used in the model of the automatic-manual selector. A counter of
the number of operations should be incorporated in the solution, to identify when maintenance
is required. The maintenance must be at each 10000 operations, ... etc
Page 7
Example:
Automation of the Main Entrance Door, in PLCs Theory, [Omron]
Hardware list
Input (sensors):
- Selector manual / automatic
- Push button open door
- Push button close door
- Proximity sensors
- Limit switch fully open
- Limit switch fully closed
Output (actuators):
- Motor actuation to open door
- Motor actuation to close door
Combining all
- Connect input and output hardware
- Implement functional and operational specifications, according to the
technological specifications
Page 8
Automation Problems
PLC based solutions
Process
Sensors
Actuators
Programmable
Logic Controller
To use PLCS the connection to input devices (for detection and sensing) and
to output devices (for command and control) is required.
A software program to implement the proposed solution has to be
implemented in the PLC.
Page 9
Architecture of PLCs
Page 10
Architecture of PLCs
... and internally, how is it implemented?
Program
Memory
Input/output
address
data
control
Architecture of PLCs
rack
Types of PLCs
mini
micro
Page 12
Architecture of PLCs
PLC
Page 13
Page 14
Page 15
Page 16
PLC CPU
and Memory
Page 17
Page 18
Page 19
2
1
4
5
1, 2, 3
4, 5
3, 4
Page 20
The inputs must be active for at least one scan cycle to have impact (no
uncertainty) in the internal PLC state and indirectly in the outputs.
Exception: interrupts...
Page 22
Q: Worst time interval for an input to have impact on an output (with probability one)?
A:
2 * Scan Period
Q: Smallest time interval (with probability greater than zero) that the change in one
input can impact in one output?
A:
Page 23
Horizontal scanning
Vertical
scanning
Scanning rungs...
Page 24
OMRON console
Page 26
Page 27
Electronic circuit
Connections to the PLC terminals
Page 28
Page 29
Page 30
Relay
External
terminals
Attention to:
Galvanic isolation
Economy
Consumption
Transistor
External
terminals
Switching speed
Noise immunity
Opto-coupler
External
terminals
Page 31
External
terminals
Relay
To
the
CPU
To the
CPU
Transistor
To the
CPU
External
terminals
Page 32