Festo Basic PLC
Festo Basic PLC
OBJECTIVE
Topic Outline
PNEUMATIC ACTUATORS
LINEAR CYLINDERS
Single-acting Cylinder
Double-acting Cylinder
ROTARY CYLINDERS
Rod
Bearing
Spring
Vent
Connection
Piston
Seal
Seals
Wiper
Piston
Base end
Connections
Rod
Bearing
Rod end
When the piston approaches its final position, the damping piston shuts
off the direct air-outlet. Excess pressure sets up an air-cushion in the
remaining cylinder volume and kinetic energy is converted into
pressure. At this stage, air may only leave the cylinder through a
controlled cross section of stream discharge.
Seals
Non-return valve
Cushioning adjustment
PNEUMATIC VALVES
FUNCTIONS :
regulate pressure
Process Automation
-Programmable
Logic Controllers
Definition
What is a PLC?
A programmable logic controller (PLC) is a specialized computer to
perform logic functions for machine control.
PLCs are used to implement logic functions such as not allowing a
drill press to start unless the operator has one hand on each of the
two start switches.
Such control functions used to be implemented using relays. PLCs
revolutionized this by allowing the control logic to be implemented
using software.
Highly reliable
Highly versatile (universal applicability)
Simple troubleshooting
Simple installation
Quick modification of the program (highly flexible)
Capable of task not possible with relays before as indicated by the ff:
calculation
information exchange
text and graphic display
data processing
networking
Low space requirement
Low power consumption
High processing speed
No moving parts, hence no wearing parts
Selecting a PLC
Number of I/Os
System Components
Program
Input Module
Sensorics
Output Module
Actorics
PLC SYSTEM
INPUTS
PROCESSOR
OUTPUTS
input
process
output
ccu
INPUTS
Acknowledging
Limit switches
Sensors
Pushbuttons
Relays
Transmitters
Signal Generators
PROCESSORS
Central Control Unit CCU
the most important component of the PLC
it directs the operation of the system
it contains the arithmetic logic unit
it processes input signals to produce the
necessary output signal
it has memory to store programs and data
to be processed
it allows communication with external
peripherals
it is interfaced with sensors and actuators
using the input and output modules
respectively
OUTPUTS
Construction of a PLC
FEC34 PLC in
Distribution
Station
Communication
Output
Input
Power
supply
Input
Modular
Processor
Fixed I/O
Compact PLC
FEC- FC620
32/16 digital I/Os
+ 3/1 analog I/Os
FEC- FC640
32/16 digital I/Os
+ Ethernet
FEC- FC660
32/16 digital I/Os
+ 3/1 analog I/Os
+ Ethernet
PROGRAMMING SOFTWARE
FST4, FST IPC 3.21
MULTIPROG
SMS PLC
IPC-CPU
AS-i Master
Serial Interface
AS-Interface - Hardware
IPC-CPU
AS-Interface
Power Supply
IPC-AS-interface Master
AS-interface
I/O Module
AS-i cable
Festo IPC
- the allrounder
Sample setup
Input
PB
Processor
0
1
2
3
4
5
6
7
+
IF PB
THEN SET Y1
IF N PB
THEN RESET Y1
Output
0
1
2
LAMP
3
4
5
6
7
-
Ladder Diagram
1. Instruction
2. Instruction
3. Instruction
4. Instruction
Program
Last Instruction
Ladder Diagram
Neutral
Rail
Power
Rail
S1
RUNG 1
CR1
S2
RUNG 2
S2
S3
CR2
Sample setup
Input
PB
Processor
0
1
2
3
4
5
6
7
+
IF PB
THEN SET Y1
IF N PB
THEN RESET Y1
Output
0
1
2
LAMP
3
4
5
6
7
-
Sample setup
Input
PB
Processor
0
1
2
3
4
5
6
7
+
IF PB
THEN SET Y1
IF N PB
THEN RESET Y1
Output
0
1
2
LAMP
3
4
5
6
7
-
Ladder Diagram
Executive Part
Conditional Part
Language Elements
- inputs
normally closed
normally open
- outputs
Coil Operations
O0.0
O0.0
S
O0.0
Absolute
O0.0
O0.1
O0.4
O0.7
O1.0
O1.3
I0.0
I0.1
I0.2
I0.3
I0.5
I0.7
I1.1
Symbolic
CYLLIFT
CYLFEED
ALRMON
CLMPCYL
MTRMN
MTRCOOL
PBSTRT
PBSTP
PBRST
CLMPSEN
CYLUP
CYLDN
SENWKPC
Comments
Lifting cylinder
Feeding cylinder
Alarm for level of coolant
Cylinder for clamping workpiece
Main Motor
Motor for Coolant
Pushbutton Start Function
Pushbutton Stop Function
Pushbutton Reset Function
Sensor for Clamping cylinder Clamp on
Lifter up
Lifter down
Sensor for workpiece
Allocation List
Symbolic operands
Absolute operands
I0.0
Normally Close Contact:Not Logic
Opens when a signal is present at I0.0
I0.0
I0.1
O0.1
Logic Operations
AND OPERATION
realized by series connection of two NO contacts
S1
S2
Truth Table
S1
S2
0
0
0
1
1
0
1
1
Lamp
Lamp
0
0
0
1
Logic Operations
OR OPERATION
realized by parallel connection of two NO contacts
S1
S2
Lamp
Truth Table
S1
S2
0
0
0
1
1
0
1
1
Lamp
0
1
1
1
AND - This is the logical operator AND. It allows logical ANDing of a number of input conditions. The condition is fulfilled
when all AND-ed input conditions are true.
OR - This is the logical operator OR. This operator allows you to
create a logical expression with several input conditions. The
condition is fulfilled when at least one of the conditions is true.
NOP - NOP means No operation. You can use this statement
when you want to carry out an executive part without an input
condition.
N - This is a negation. It allows you to invert an input condition.
SET - activates a one-bit operand. You can use this for setting
outputs, flags, timers, counters and programs to logical one.
RESET - is the opposite of SET. It deactivates one-bit operands,
used, for example, for setting an output to logical zero.
LOAD - A LOAD statement reads a register or a multibit
operand, i.e. its value is written to a multibit accumulator.
Normally this statement is followed by the keyword TO,
indicating the destination of the operation.
TO - A TO statement assigns a value to a word operand. TO
specifies the destination of the operation.
JMP TO - A JMP TO statement causes the program to branch to
a specific program step.
Automotive industry
Mechanical industry
Packaging industry
Woodworking industry
Printing and paper industry
Drinks industry
Ceramics and bricks industries
Plastics industry
Electronics industry
Sensor Classifications
S e n s o r C la s s ific a t io n
A c c o r d in g t o
P r in c ip le o f O p e r a t io n
S e n s o r C la s s ific a t io n
A c c o r d in g t o
W ir in g
S e n s o r C la s s ific a t io n
A c c o r d in g t o
O u t p u t S ig n a l P o la r it y
C o n ta c t S e n s o rs
2 - W ir e S e n s o r s
P N P S e n s o rs
3 - W ir e S e n s o r s
N P N S e n s o rs
E le c t r ic a l L im it S w it c h
P re s s u re S e n s o rs
C o n t a c t le s s S e n s o r s
M a g n e t ic
I n d u c t iv e
C a p a c it iv e
O p t ic a l
U lt r a s o n ic
4 - W ir e S e n s o r s
Sensors
Devices which convert physical variables into form of electrical signals
to gather data, monitor or control a process.
TYPES:
Contact Sensors mechanical in nature, subject to mechanical wear
and with predictable failure rate. Contact sensors include limit switches,
roller switches, and pressure sensors.
Contactless Sensors Proximity sensors (reed switch, inductive,
capacitive, and optical sensors).
Switching Distance
object
BN
Note:
For metallic
materials only
BK
BU
Cu
Al
Ms
Cr Ni
Steel
0
20
40
60
Sensing Distance
80
100
Applications
Inductive
proximity
sensor
This is accomplished by
means of a small, powerful
proximity switch with a long
switching distance.
Sorting of pallets
BN
BK
BU
20
40
60
80
100
Detection of boxes
BN
BK
BU
Sorting of cans
Detecting IC orientation
A through-beam sensor in
a machining centre
controls a drill for breaks.
Before every machining
cycle, the drill is moved to
a test position. If the drill
point is present, it breaks
the light beam and an OK
signal is given to continue
operation
Filling control
Sensor Function
Description of the object to be detected
Installation conditions
Environmental conditions
Application area
FLAGS
F1.0
F1.1
O0.0
I0.0
I1.0
F1.0
a. Conditional Part
b. Executive Part
Representations
Chronological Order
Cylinder 1.0 extends and lifts the box
Cylinder 2.0 extends and pushes the box
Cylinder 1.0 retracts, then
Cylinder 2.0 retracts
Tabular Form
Work Step Motion of Cylinder 1.0
1
out
2
3
in
4
Representations
Vector Diagram
Extension represented by
Retraction represented by
Abbreviated Notation
Extension represented by : +
Retraction represented by : -
1.0
2.0
1.0
2.0
1.0 +
2.0 +
1.0 2.0 -
Representations
1.0
2.0
5=1
SIGNAL EDGES
RISING EDGE
TRAILING EDGE
0
time
Representations
Condition
Status of
0
1
Start of timer
Timer
Timer preset
Start of timer
1
Status of
Condition
Status of
0
1
Start of timer
Timer
Timer preset
Rising edge
Status of
Condition
Status of
0
1
Timer preset
Timer
0
Start of timer on rising edge
Representations
Spindle Drive
INDUCTIVE
SENSOR
CARRIAGE
SHAFT
REED
SWITCH
GEAR
MOTOR
Vacuum Generator
P
P
R
U
Relays
Relays
O
U
TPU
T2
PLC
O
U
TPU
T1
K2
K1
K1
K2
M
O
TO
R-BLU
E
W
IR
E
M
O
TO
R-R
EDW
IR
E
0V
REGISTERS
Interrogating a register
( conditional part )
TO
V0
R1
=
V20
R10
R4
Incrementing
( executive part )
Decrementing
( executive part )
INC
R50
DEC
MULTI-TASKING
MULTI-TASKING
MAIN
P0
P1
AUTOMATIC
P2
MANUAL
P3
RESET
P4
EMERGENCY STOP
MULTI-TASKING
PB1
P1
S
P2
PB2
P1
R
P2
P0 = main program