Upload
marina890416
View
221
Download
0
Embed Size (px)
Citation preview
7/28/2019 Handling Instructor Rel C
1/174
7/28/2019 Handling Instructor Rel C
2/174
Order no.:
Description: Mechatronics Teachware Handling Station MPS 2000
Designation: Instructors Edition
Status:
Author: Wolfgang Eckart, ADIRO Automatisierungstechnik GmbH
Graphics: Wolfgang Eckart, Festo Didactic GmbH & Co
Layout: Festo Didactic GmbH & Co
Festo Didactic GmbH & Co., D-73770 Denkendorf, 2002
Internet:www.festo.com/didactic
e-mail: [email protected]
All rights reserved, including translation rights. No part of this publication may be reproduced or
transmitted in any form or by any means, electronic, mechanical, photocopying, or otherwise, without
the prior written permission of Festo Didactic.
7/28/2019 Handling Instructor Rel C
3/174
Festo Didactic GmbH & Co. MPS 1
Table of Contents.....................................................................................................1Introduction.............................................................................................................3
What is Mechatronics...........................................................................................3
Project overview...................................................................................................6Commissioning.........................................................................................................9
1.1 Analysis Components identification.......................................................91.2 Analysis Cable connections..................................................................111.3 Analysis Input and Output adresses......................................................131.4 Analysis Input and Output adresses expanded......................................171.5 Commissioning Adjustment of the Station............................................211.6 Commissioning Adjustment of the Station expanded............................231.7 Commissioning Download Project and Test..........................................28
Programming.........................................................................................................33
2.1 Programming - Hardwareconfiguration....................................................332.2 Programming Basics in Digital Technology AND.................................462.3 Programming Basics in Digital Technology OR....................................612.4 Programming Basics in Digital Technology RS-Flip-Flop......................662.5 Programming Basics in Digital Technology AND NOT..........................712.6 Programming Basics in Digital Technology IDENTITY..........................742.7 Programming Condition Call of a Program.............................................762.8 Programming Condition Call of a Program expanded.............................792.9 Programming On-Delay-Timer function.................................................88
Table of Contents
7/28/2019 Handling Instructor Rel C
4/174
Table of Contents
2 Festo Didactic GmbH & Co. MPS
2.10 Programming Off-Delay-Timer function.............................................932.11 Programming Counter Down function................................................952.12 Programming Programming of a Flashlight........................................972.13 Programming Programming of a Auto/Manu sequence......................992.14 Programming Move to Starting Position..........................................1012.15 Programming Expanded movement to Starting Position..................1042.16 Project Basics of I/O communication.............................................1092.17 Project Test the I/O communication..............................................1132.18 Project Material-flow through the FMS...........................................119
Trouble Shooting..................................................................................................135
3.1 Program Trouble Shooting..................................................................1353.2 Process Trouble Shooting..................................................................164
7/28/2019 Handling Instructor Rel C
5/174
Festo Didactic GmbH & Co. MPS 3
Mechatronics is a comprehensive combination of Technologies and is mostlymentioned as a new way of thinking and learning and not as a stand-alone
technology.
The technological part of Mechatronics could be called Automation Technology.
elecTRONicMECHAnic
informatIC
MECHATRONIC
Structure of Mechatronics
The structure of Mechatronical training is devided into three levels:
Basics singletechnologies
Partly integratedsystems
Totally integratedsystem
single technology:Mechanic,ElectricPneumatic,PLC
combination of:Mechanic,ElectricPneumatic,PLC
FMS-process:material- andsignal flow
What is Mechatronics
Introduction
7/28/2019 Handling Instructor Rel C
6/174
Introduction
4 Festo Didactic GmbH & Co. MPS
The Basic Training in the single technologies is another part of training. In thefollowing you will see some examples of the different levels:
for totally integrated training
in the Production Automation field of MECHATRONICS
Totally Integrated System
a combination of single technologies ...
... to a various amount ofSTATIONS
Partly Integrated Systems
electronics pneumatics hydraulics PLC
sensorics robotics CAD/CNC mechanics
Basic Technologies
7/28/2019 Handling Instructor Rel C
7/174
Introduction
Festo Didactic GmbH & Co. MPS 5
Basically in Automation and Mechatronics training, the contents should cover thefollowing learning steps, or functions within a company:
Commissioning: Analyse a system, Installation&Commissioning
Programming: Programming single Station, Communication with other Stations
Trouble Shooting: Programming Errors, Trouble Shooting in the Process
which are covered within the following projects.
Furtheron this Teachware is based on the idea of a Flexible Manufacturing System FMS, this means, this station should be and is connected to other stations, called
Previous and Following Station within this Teachware.
7/28/2019 Handling Instructor Rel C
8/174
Introduction
6 Festo Didactic GmbH & Co. MPS
The following table give you an overview about all projects within thisdocumentation in the structure of:
Commissioning: Analysis(Analyse a system) and
Commissioning(Installation&Commissioning)
Programming: Programming(Programming single Station and
Project(Communication with other Stations)
Trouble Shooting: Program(Programming Errors) and
Process*(Trouble Shooting in the Process)
The table also mention the time which is necessary to work out the respective
project. This time is based on experience with participants coming with no
knowledge about the MPS-Stations and less knowledge about programming a
Simatic PLC with STEP 7.
* Regarding the Process-Trouble Shooting, there is no big difference in time between
the single troubles-based on experience we can say, that each trouble needs around
1,5 hour including the preparation and test of the error by the instructor and if the
participants follow the three steps carefully and doing the documentation, which is
very important.
This structure allows you to put your specific workshop together according to your
needs and your learning targets.
Project overview
7/28/2019 Handling Instructor Rel C
9/174
Introduction
Festo Didactic GmbH & Co. MPS 7
Project overview Commissioning and Programming
Learning Step Designation Project Description Proj.. Page Time [h]
Commissioning Analysis Components identification:description of the function of some components used within the stations
1.1 9 1h 30min
Commissioning Analysis Cable connections in the system:define and identificate all cable connections in the FMS-system
1.2 11 30min
Commissioning Analysis In-and Output adresses of the PLC:find out the hardwareadresses of in- and outputs in the technical docum.
1.3 13 30min
Commissioning Analysis In-and Output adresses of the PLC expanded:find out the hardwareadresses of in- and outputs in the technical docum.
1.4 17 1h 30min
Commissioning Commissioning Adjustment of the Station:check the adjustment all sensors and mechanical components
1.5 21 1h
Commissioning CommissioningAdjustment of the Station expanded:check the adjustment all sensors and mechanical components 1.6 23 3h
Commissioning Commissioning Download Project and Test:download all project-programs and test the function of the FMS-system
1.7 28 1h
Programming Programming Hardwareconfiguration of the PLC:define the existing Siemens S7-300 PLC-hardware with the software STEP 7
2.1 33 1h
Programming Programming Basics in digital technologyAND:programming of the basic function AND
2.2 46 1h 30min
Programming Programming Basics in digital technologyOR:programming of the basic function OR
2.3 61 1h
Programming Programming Basics in digital technologyRS-Flip-Flop:programming of the basic function RS-Flip-Flop
2.4 66 1h 30min
Programming Programming Basics in digital technologyAND NOT:programming of the basic function AND NOT
2.5 71 30min
Programming Programming Basics in digital technologyIDENTITY:programming of the basic function IDENTITY
2.6 74 30min
Programming Programming Condition Call of a Program:activate a program in OB1 by a condition of the Control Panel
2.7 76 1h
Programming Programming Condition Call of a Program expanded:activate a program in OB1 by a condition of the Control Panel
2.8 79 1h
Programming Programming ON-Delay-Timer:programming of a ON-delay timer function using the Control Panel
2.9 88 2h
Programming Programming OFF-Delay-Timer:programming of a OFF-delay timer function using the Control Panel
2.10 93 1h
Programming Programming Counter down:programming of a Counter down function using the Control Panel
2.11 95 1h 30min
Programming Programming Programming of one flashlight:programming a flashlight with 500 ms on/off as long as a button is pressed
2.12 97 30min
Programming Programming Programming of a Auto/Manu-sequence:program starts with Start-button/continues by Start or Auto/Manu-switch
2.13 99 2h
Programming Programming Move to Starting Position:
edit a program to move to the starting (home) position automatically
2.14 101 1h 30min
Programming Programming Move to Starting Position expanded:advanced movement to the starting (home) position automatically
2.15 104 3h
Programming Project Theory Basics of I/O-communication:example of different in-/output communications using different controllers
2.16 109 1h
Programming Project Test the I/O-communication:edit a program to test the I/O-communication at the stations
2.17 113 1h 30min
Programming Project Material flow through the FMS:one alu workpiece move through the whole FMS
2.18 119 3h
7/28/2019 Handling Instructor Rel C
10/174
Introduction
8 Festo Didactic GmbH & Co. MPS
Project overview Trouble Shooting
Learning Step Designation Project Description Proj.. Page Time [h]
Trouble Shooting Program Error in Project 2.2 3.1 136 30min
Trouble Shooting Program Error in Project 2.3 3.1 138 30min
Trouble Shooting Program Error in Project 2.4 3.1 140 30min
Trouble Shooting Program Error in Project 2.5 3.1 142 30min
Trouble Shooting Program Error in Project 2.6 3.1 144 45min
Trouble Shooting Program Error in Project 2.7 3.1 146 30min
Trouble Shooting Program Error in Project 2.8 3.1 148 45min
Trouble Shooting Program Error in Project 2.9 3.1 150 45minTrouble Shooting Program Error in Project 2.10 3.1 152 30min
Trouble Shooting Program Error in Project 2.11 3.1 154 45min
Trouble Shooting Program Error in Project 2.12 3.1 156 30min
Trouble Shooting Program Error in Project 2.13 3.1 158 1h
Trouble Shooting Program Error in additional Project 3.1 160 30min
Trouble Shooting Process Maintenance Trouble Shooting14 Process-Errorstime for each approx. 3.2 162 1h 30min
7/28/2019 Handling Instructor Rel C
11/174
Festo Didactic GmbH & Co. MPS 9
Please list up all the sensors and actuators shown in the picture below (1 3).Name the elements with identification in the wiring diagram/pneumatic plan and
describe shortly their function generally (not the function within the system).
Information
Please use the technical manual-data sheets, pneumatic plan and wiring diagrams.
Please refer to the examples (Ex.1 Ex.3) mentioned below in the table of the
execution work-sheet. Please follow the numbers (1 3) shown in the pictures below
(Ex.1 is not shown in the graphics).
Instructor: Show one example to the participants how to find an in- and output inthe wiring diagrams and how to find the data sheet using the order number printed
on the element itself. Show the participants at the station itself which components
they have to identify. There are 4 different wiring diagrams for each station: the
station itself (Station), the Control Panel (Panel), the PLC-board (PLC-board) and
the Emergency-Stop (if available optional). Please use one of the Examples -
Ex.2 or Ex. 3.
Planning
Please plan your project within the whole team carefully. Use the technical manual
and the real station to do this project. Please describe the function of the element in
general, not within the signal- and materialflow of the station. To find the data-sheet
of the elements, please see the list of components first and check the order no.
printed on the element itself.
The time to finish this project should be around 1,5 hours.
1.1 Analysis Components
identification
Commissioning
7/28/2019 Handling Instructor Rel C
12/174
Commissioning
10 Festo Didactic GmbH & Co. MPS
Execution/Documentation
Please complete the list regarding the elements shown and numbered in the
pictures above.
No. Name Ident. Description Page #
Ex.1 Start-button S1 Push button with light on the Control
Panel, normally open contact,
connected to a PLC-input
no data sheet
Panel: inputs
Ex.2 Proximity
switch,
inductive
2B2 Inductive switch, normally open
contact, activated by a magnet ring in
the piston rod of the flat cylinder with
non-rotating piston rod, send the
information piston rod of the cylinder
is in up position to the PLC-input
SME-8-S-LED-24
Station: inputs
Station: pneumatic
PLC-board: inputs
Ex.3 Pneumatic
gripper
3A1 Double acting parallel gripper,
actuated by 2 parallel acting cylinders
inside, with magent ring for end-
position detection, gripper power 27 N
open and close
HGP-10-A
Station: outputs
Station: pneumatic
PLC-board: outputs
No. Name Ident. Description Page #
1 Retro
reflective
sensor
3B1 Retro reflective optical sensor, send out
an infra-red signal and measure the
reflection of the light.
SOEG-L-Q30-PA-S-2L
Station: inputs
PLC-board: inputs
2 Pneumatic flatcylinder non-
rotating
2A1 Flat cylinder with non-rotating pistonrod, double acting, non-rotating by the
form of the piston rod, with magnet ring
for end-position detection
DGO-12-225-P-AStation: outputs
Station: pneumatic
PLC-board: outputs
3 Light barrier
sender
IP_N_FO Infrared sender to the previous station,
maximum range 6000 mm
SOEG-S-Q30-S-L
Station: inputs
PLC-board: inputs
7/28/2019 Handling Instructor Rel C
13/174
Commissioning
Festo Didactic GmbH & Co. MPS 11
Please analyze the cable connections in your station and complete the drawing onthe next page (Execution and Documentation).
Information
Please fill out allc in the graphic and draw the connections. Use the real station to
check the connections. The standard station don t have the Emergency Stop board,
which is optional. Therefor all the following projects are defined without this board.
Instructor: Please explain the structure of the PLC to the participants . Which
adress have which module and which module have which function in controlling
the process. Leave the cables all connected to help the participants. Show themalso how to use the technical manual to find out the adress of the module. Please
show the participants which steps and connections are necessary if the stations
are coming with the Emergency Stop board and how to connect the Emergency
switch buttons!!!
Planning
Please follow the explanations of the instructor first and then plan your activities
step-by-step. Use the real station to find out all connections and identifications. Use
also the technical documentation.
The time to finish this project should be around 0,5 hours.
1.2 Analysis Cable connections
7/28/2019 Handling Instructor Rel C
14/174
Commissioning
12 Festo Didactic GmbH & Co. MPS
Execution/Documentation
7/28/2019 Handling Instructor Rel C
15/174
Commissioning
Festo Didactic GmbH & Co. MPS 13
Please complete the below mentioned list of input- and outputadresses of the PLC.Please define your own symbol adress using max. 8 characters.
Information
To find out the adresses, please refer to the technical manual-wiring diagram for the
station and the Control Panel. The inputs can also be checked directly at the PLC-
LEDs, the outputs not without a program. To move pneumatic actuators, please
switch off the air-pressure and move them manually by hand. Please be very careful,
move the actuators back before switching on the air-pressure again. Some
pneumatic and the electrical actuators can not be moved in this way-the pneumatic
components can be activated by the manual detection button on the valve (seepicture)
Instructor:show the participants how to find out an input and an output using the
wiring diagrams. Show them why some actuators can not be moved by hand even
without air- and power supply (DC-motors and 5/3-way valves) using the
pneumatic plan to explain.
Example: press 1 = vacuum is on, press 2 = vacuum is off
1.3 Analysis Input and Output
adresses
7/28/2019 Handling Instructor Rel C
16/174
Commissioning
14 Festo Didactic GmbH & Co. MPS
Planning
Please plan your activities within your team. Check first, which actuator could be
moved by hand and which not-use the technical documentation-pneumatic plan.
Check the inputs in the wiring diagram and at the PLC.
The time to finish this project should be around 0,5 hour.
7/28/2019 Handling Instructor Rel C
17/174
Commissioning
Festo Didactic GmbH & Co. MPS 15
Execution/Documentation
Please complete the list of the inputs and outputs of your station.
I/O Station
Adress Symbol Ident. Description
I0.0 Part_av Part_AV Workpiece is available
I0.1 Han_prev 1B1 Handling at previous station
I0.2 Han_foll 1B2 Handling at following station
I0.3 Han_sort 1B3 Handling at sorting position
I0.4 Lift_dow 2B1 Lifting cylinder with gripper is down
I0.5 Lift _up 2B2 Lifting cylinder with gripper is up
I0.6 Sen_mat 3B1 Material detection signal = 0 = black
I0.7 Follow IP_FL Light barrier to the following station
Q0.0 Handprev 1Y1 Solenoid of handling cyl.to previous station
Q0.1 Handfoll 1Y2 Solenoid of handling cyl.to following station
Q0.2 Lifting 2Y1 Solenoid of the lifting cylinder with gripper
Q0.3 Gripper 3Y1 Solenoid of the gripper = 1 = open
Q0.7 Previous IP_N_FO Light barrier to the previous station
I/ O Control Panel
Adress Symbol Ident. Description
I1.0 START S1 Start button
I1.1 STOP S2 Stop button
I1.2 AUTOMAN S3 Switch automatic and manual cycle
I1.3 RESET S4 Reset buttonI1.5 EMERGEN S1 Emergency stop switch-reset with Quit-button
Q1.0 L_START H1 Light inside the Start button
Q1.1 L_RESET H2 Light inside the Reset button
Q1.2 L_SPEC1 H3 Light no. 1 special function
Q1.3 L_SPEC2 H4 Light no. 2 special function
7/28/2019 Handling Instructor Rel C
18/174
Commissioning
16 Festo Didactic GmbH & Co. MPS
I/O Communication
Adress Symbol Ident. Description
I1.4 CI1_Prev Input comm. from Q1.6 Previous Station
I1.6 CI1_Foll Input comm. from Q1.4 Following Station
I1.7 CI2_Foll Input comm. from Q1.5 Following Station
Q1.4 CQ1_Prev Output comm. to I1.6 Previous Station
Q1.5 CQ2_Prev Output comm. to I1.7 Previous Station
Q1.6 CQ1_Foll Output comm. to I1.4 Following Station
7/28/2019 Handling Instructor Rel C
19/174
Commissioning
Festo Didactic GmbH & Co. MPS 17
Please complete the below mentioned list of input- and outputadresses of the PLC.Please define your own symbol adress using max. 8 characters.
Information
To find out the adresses please use the technical manual-wiring diagram for the
station and the Control Panel. The inputs can also be checked directly at the PLC-
LEDs, the outputs not without a program. To move pneumatic actuators, please
switch off the air-pressure and move them manually by hand. Please be very careful,
move the actuators back before switching on the air-pressure again. Some
pneumatic and the electrical actuators can not be moved in this way-the pneumatic
components can be activated by the manual detection button on the valve (seepicture)
Instructor:show the participants how to find out an input and an output using the
wiring diagrams. Show them why some actuators can not be moved by hand even
without air- and power supply (DC-motors and 5/3-way valves) using the
pneumatic plan to explain. Show them also how to find out the communication in-
and outputs.
Example: press 1 = vacuum is on, press 2 = vacuum is off
1.4 AnalysisInput and Output
adresses
expanded
7/28/2019 Handling Instructor Rel C
20/174
Commissioning
18 Festo Didactic GmbH & Co. MPS
Planning
Please plan your activities within your team. Check first, which actuator could be
moved by hand and which not-use the technical documentation-pneumatic plan.
Check the inputs in the wiring diagram and at the PLC.
The time to finish this project should be around 1,5 hour.
7/28/2019 Handling Instructor Rel C
21/174
Commissioning
Festo Didactic GmbH & Co. MPS 19
Execution/Documentation
Please complete the list of the inputs and outputs of your station.
I/O Station
Adress Symbol Ident. Description
I0.0 Part_av Part_AV Workpiece is available
I0.1 Han_prev 1B1 Handling at previous station
I0.2 Han_foll 1B2 Handling at following station
I0.3 Han_sort 1B3 Handling at sorting position
I0.4 Lift_dow 2B1 Lifting cylinder with gripper is down
I0.5 Lift _up 2B2 Lifting cylinder with gripper is up
I0.6 Sen_mat 3B1 Material detection signal = 0 = black
I0.7 Follow IP_FL Light barrier to the following station
Q0.0 Handprev 1Y1 Solenoid of handling cyl.to previous station
Q0.1 Handfoll 1Y2 Solenoid of handling cyl.to following station
Q0.2 Lifting 2Y1 Solenoid of the lifting cylinder with gripper
Q0.3 Gripper 3Y1 Solenoid of the gripper = 1 = open
Q0.7 Previous IP_N_FO Light barrier to the previous station
I/ O Control Panel
Adress Symbol Ident. Description
I1.0 START S1 Start button
I1.1 STOP S2 Stop button
I1.2 AUTOMAN S3 Switch automatic and manual cycle
I1.3 RESET S4 Reset buttonI1.5 EMERGEN S1 Emergency stop switch-reset with Quit-button
Q1.0 L_START H1 Light inside the Start button
Q1.1 L_RESET H2 Light inside the Reset button
Q1.2 L_SPEC1 H3 Light no. 1 special function
Q1.3 L_SPEC2 H4 Light no. 2 special function
7/28/2019 Handling Instructor Rel C
22/174
Commissioning
20 Festo Didactic GmbH & Co. MPS
I/O Communication
Adress Symbol Ident. Description
I1.4 CI1_Prev Input comm. from Q1.6 Previous Station
I1.6 CI1_Foll Input comm. from Q1.4 Following Station
I1.7 CI2_Foll Input comm. from Q1.5 Following Station
Q1.4 CQ1_Prev Output comm. to I1.6 Previous Station
Q1.5 CQ2_Prev Output comm. to I1.7 Previous Station
Q1.6 CQ1_Foll Output comm. to I1.4 Following Station
7/28/2019 Handling Instructor Rel C
23/174
Commissioning
Festo Didactic GmbH & Co. MPS 21
Please check the adjustment of all sensors and of the mechanical components ofyour station to prepare the test of the whole process.
Information
To find out the function and location of the sensors, please use the technical
manual. The inputs can also be checked directly at the PLC-LEDs. To move
pneumatic actuators, please switch off the air-pressure and move them manually by
hand. Please be very careful, move the actuators back before switching on the air-
pressure again. Some pneumatic and the electrical actuators can not be moved in
this way-the pneumatic components can be activated by the manual detection
button on the valve (see picture)
Instructor:show the participants how to find out an input and an output using the
wiring diagrams. Show them why some actuators can not be moved by hand even
without air- and power supply (DC-motors and 5/3-way valves) using the
pneumatic plan to explain. Show them an example how to adjust a sensor to
define the back or front position of a cylinder. Provide the necessary tools.
Deadjust the following sensors and mechanical components (bold)
I/O Station
Adress Symbol Ident. Description
I0.0 Part_av Part_AV Workpiece is available
I0.1 Han_prev 1B1 Handling at previous station
I0.2 Han_foll 1B2 Handling at following station
I0.3 Han_sort 1B3 Handling at sorting position
I0.4 Lift_dow 2B1 Lifting cylinder with gripper is down
I0.5 Lift _up 2B2 Lifting cylinder with gripper is up
I0.6 Sen_mat 3B1 Material detection signal = 0 = black
I0.7 Follow IP_FL Light barrier to the following station
Q0.0 Handprev 1Y1 Solenoid of handling cyl.to previous station
Q0.1 Handfoll 1Y2 Solenoid of handling cyl.to following station
Q0.2 Lifting 2Y1 Solenoid of the lifting cylinder with gripper
Q0.3 Gripper 3Y1 Solenoid of the gripper = 1 = open
Q0.7 Previous IP_N_FO Light barrier to the previous station
Deadjust the workpiece mounting so that the gripper is not able to pick up the
workpiece centred and close the one-way-flow control valve of the lifting cylinder
to move up.
1.5 Commissioning Adjustment of the
Station
7/28/2019 Handling Instructor Rel C
24/174
Commissioning
22 Festo Didactic GmbH & Co. MPS
Planning
Please plan your activities within your team. Check first, which actuator could be
moved by hand and which not-use the technical documentation-pneumatic plan.
Check the inputs in the wiring diagram and at the PLC. Check the adjustment of the
sensors first, then the mechanical elements.
The time to finish this project should be around 1,0 hour.
Execution/Documentation
Write down the single steps and all useful informations. Write down your single
steps you did to proceed. Use the table to proceed.
I/O Station
Adress Symbol Ident. Description Check
I0.0 Part_av Part_AV Workpiece is available
I0.1 Han_prev 1B1 Handling at previous station
I0.2 Han_foll 1B2 Handling at following station
I0.3 Han_sort 1B3 Handling at sorting position
I0.4 Lift_dow 2B1 Lifting cylinder with gripper is down
I0.5 Lift _up 2B2 Lifting cylinder with gripper is up
I0.6 Sen_mat 3B1 Material detection signal = 0 = black
I0.7 Follow IP_FL Light barrier to the following station
Q0.0 Handprev 1Y1 Solenoid of handling cyl.to prev.station
Q0.1 Handfoll 1Y2 Solenoid of handling cyl.to foll.station
Q0.2 Lifting 2Y1 Solenoid of the lifting cyl.with gripper
Q0.3 Gripper 3Y1 Solenoid of the gripper = 1 = open
Q0.7 Previous IP_N_FO Light barrier to the previous station
7/28/2019 Handling Instructor Rel C
25/174
Commissioning
Festo Didactic GmbH & Co. MPS 23
Please check the adjustment of all sensors, the mechanical components and thepneumatical components of your station to prepare the test of the whole process.
Check also the cable connectionsand the power- and air-supply.
Information
To find out the function and location of the sensors and pneumatical components
please use the technical documentation. The inputs can also be checked directly at
the PLC-LEDs. To move pneumatic actuators, please switch off the air-pressure and
move them manually by hand. Please be very careful, move the actuators back
before switching on the air-pressure again. Some pneumatic and the electrical
actuators can not be moved in this way-the pneumatic components can be activatedby the manual detection button on the valve (see picture)
Instructor:show the participants how to find out an input and an output using the
wiring diagrams. Show them why some actuators can not be moved by hand even
without air- and power supply (DC-motors and 5/3-way valves) using the
pneumatic plan to explain. Show them an example how to adjust a sensor to
define the back or front position of a cylinder and how to adjust the speed of a
pneumatical actuator. Provide the necessary tools.
Deadjust the following sensors and mechanical components (bold)
1.6 Commissioning Adjustment of the
Station expanded
7/28/2019 Handling Instructor Rel C
26/174
Commissioning
24 Festo Didactic GmbH & Co. MPS
I/O Station
Adress Symbol Ident. Description
I0.0 Part_av Part_AV Workpiece is available
I0.1 Han_prev 1B1 Handling at previous station
I0.2 Han_foll 1B2 Handling at following station
I0.3 Han_sort 1B3 Handling at sorting position
I0.4 Lift_dow 2B1 Lifting cylinder with gripper is down
I0.5 Lift _up 2B2 Lifting cylinder with gripper is up
I0.6 Sen_mat 3B1 Material detection signal = 0 = black
I0.7 Follow IP_FL Light barrier to the following station
Q0.0 Handprev 1Y1 Solenoid of handling cyl.to previous station
Q0.1 Handfoll 1Y2 Solenoid of handling cyl.to following station
Q0.2 Lifting 2Y1 Solenoid of the lifting cylinder with gripper
Q0.3 Gripper 3Y1 Solenoid of the gripper = 1 = open
Q0.7 Previous IP_N_FO Light barrier to the previous station
Adress Symbol Ident. Description
I1.4 CI1_Prev Input comm. from Q1.6 Previous Station
I1.6 CI1_Foll Input comm. from Q1.4 Following Station
I1.7 CI2_Foll Input comm. from Q1.5 Following Station
Q1.4 CQ1_Prev Output comm. to I1.6 Previous Station
Q1.5 CQ2_Prev Output comm. to I1.7 Previous Station
Q1.6 CQ1_Foll Output comm. to I1.4 Following Station
Q0.2Deadjust the workpiece mounting so that the gripper is not able to pick upthe workpiece centred and close the one-way-flow control valve of the lifting
cylinder to move up. Disconnect the 4 mm cluster plug cables of the
communication to the previous and the following station.
Disconnect the power- and air supply and disconnect the station from the other
following station. Disconnect the cable connections between the station and the
PLC-board and remove the whole board from the trolley. Remove also the control
panel from the trolley.
7/28/2019 Handling Instructor Rel C
27/174
Commissioning
Festo Didactic GmbH & Co. MPS 25
Work out together with the participants the general steps of Installation.Theconditions for this example shall be:
the PLC-board is removed
no power supply connection, no air-pressure supply
the Control Panel is removed
1. check the adjustment of mechanical components
2. check the adjustment of mechanical actuators holder
3. check the PLC-modules
4. assemble removed components (like PLC-board and Control Panel)5. cable connections (PLC-board, Control Panel, communication)
6. connect all power supplies
7. check the adjustment of sensor holders
8. check the adjustment of sensors in the holders
9. check the adjustment of sensitivity of sensor
10. tubing connections
11. connect all air-pressure supplies (careful! turn pressure down before)
12. check the adjustment of the speed of pneumatic actuators
13. connect the stations together
14. check the mechanical position of hand over to the next station
15. communication connection
Planning
Please plan your activities within your team. Check first, which actuator could be
moved by hand and which not-use the technical documentation-pneumatic plan.
Check the inputs in the wiring diagram and at the PLC. Check the adjustment of the
sensors first, then the mechanical and pneumatical elements and.
The time to finish this project should be around 3,0 hour.
7/28/2019 Handling Instructor Rel C
28/174
Commissioning
26 Festo Didactic GmbH & Co. MPS
Execution/Documentation
Write down the single steps and all useful informations. Write down your single
steps you did to proceed. Use the tables to proceed.
I/O Station
Adress Symbol Ident. Description Check
I0.0 Part_av Part_AV Workpiece is available
I0.1 Han_prev 1B1 Handling at previous station
I0.2 Han_foll 1B2 Handling at following station
I0.3 Han_sort 1B3 Handling at sorting position
I0.4 Lift_dow 2B1 Lifting cylinder with gripper is down
I0.5 Lift _up 2B2 Lifting cylinder with gripper is up
I0.6 Sen_mat 3B1 Material detection signal = 0 = black
I0.7 Follow IP_FL Light barrier to the following station
Q0.0 Handprev 1Y1 Solenoid of handling cyl.to prev.station
Q0.1 Handfoll 1Y2 Solenoid of handling cyl.to foll.station
Q0.2 Lifting 2Y1 Solenoid of the lifting cyl.with gripperQ0.3 Gripper 3Y1 Solenoid of the gripper = 1 = open
Q0.7 Previous IP_N_FO Light barrier to the previous station
I/O Communication
Adress Symbol Ident. Description Check
I1.4 CI1_Prev Input comm. from Q1.6 Previous Station
I1.6 CI1_Foll Input comm. from Q1.4 Following Station
I1.7 CI2_Foll Input comm. from Q1.5 Following Station
Q1.4 CQ1_Prev Output comm. to I1.6 Previous Station
Q1.5 CQ2_Prev Output comm. to I1.7 Previous Station
Q1.6 CQ1_Foll Output comm. to I1.4 Following Station
7/28/2019 Handling Instructor Rel C
29/174
Commissioning
Festo Didactic GmbH & Co. MPS 27
Step No.: Description Check
1 check the adjustment of mechanical components
2 check the adjustment of mechanical actuators holder
3 check the PLC-modules
4 assemble removed components (PLC-board/Control Panel)
5 cable connections (PLC-board, Control Panel, communication)
6 connect all power supplies
7 check the adjustment of sensor holders
8 check the adjustment of sensors in the holders
9 check the adjustment of sensitivity of sensor
10 tubing connections
11 connect all air-pressure supplies (careful! turn pressure down)
12 check the adjustment of the speed of pneumatic actuators
13 connect the stations together
14 check the mechanical position of hand over to the next station
15 communication connection
7/28/2019 Handling Instructor Rel C
30/174
Commissioning
28 Festo Didactic GmbH & Co. MPS
Please download the full project into the PLC and test the full process.
Information
Please make sure that the PC is connected to the PLC with the communication cable,
the power supply of the station is on, air-pressure of around 5 bar is available at
each station, the emergency switch is deactivated (if available) and the CPU-switch
is in STOP position. Make sure that the PLC memory is empty (delete).
Instructor: Show how to delete the contents of a CPU using the switch of the CPU.
Let all the participants try it several times. Explain them where to find the project
and what the project name is. Explain them step-by-step how to download aproject to the PLC. Develop the process sequence on the white board first this
means, what is the process and how to start it. Which are the Control Panel
functions. Tell the participants, in which subdirectory they are able to find the
programs in the following screen shots, the project is located in:
C:\SIEMENS\STEP7\MPSVERSC
Basically all screen shots and PLC-projects are based on the software
STEP 7 Version 5.1 other versions may be a little bit different, but the used
functions and screen shots within the following projects are mostly the same!!!!
Planning
Please follow the description of the in instructor carefully step-by-step. Use the
NOTICE field to write down the single steps to proceed.
The time to finish this project should be around 1,0 hours.
1.7 Commissioning Download Project
and Test
7/28/2019 Handling Instructor Rel C
31/174
Commissioning
Festo Didactic GmbH & Co. MPS 29
Execution/Documentation
Follow the single steps of the instructor. Write down the single steps and all useful
informations into the field NOTICE.
Write down your single steps you did to proceed:
1. Press Emergency switch reset all outputs and memories (if available, if not
press Stop-button once)
2. Check the air-pressure= 5 bar
3. Check cable connection plug should be locked
4. Release Emergency switch
5. Station in home position and workpiece in the feederReset light is on
6. Press Start-button light Start is on and process start
5. Station is not in home position Reset light is off
6. Press Reset-buttonmovement of actuators to home position
7. Station in home position and workpiece in the feederReset light is on
8. Press Start-button light Start is on and process start
The process can be interrupted by pressing Emergency switch (if available) or Stop-button at each time restart with step 4 with Emergency switch or step 5 without.
How to open and download the project of the full FMS-project is shown on the
following:
7/28/2019 Handling Instructor Rel C
32/174
Commissioning
30 Festo Didactic GmbH & Co. MPS
FileOpenBrowse (select subdirectory here C:\Siemens\Step7)
MPSVERSCOK(left mouse button)
7/28/2019 Handling Instructor Rel C
33/174
Commissioning
Festo Didactic GmbH & Co. MPS 31
(click on the right project example project 1VE_KFAfor the Distribution Station
refer to the list below for other stations)PLCDownload (follow the instructions
on the screen to download the project after download is finish, switch the CPU-
switch to RUN and test the program)
1VE_KFA Distribution Station
2PR_KFA Testing Station
3BE_KFA Processing Station
4PA_KFA Handling (PickAlfa)
5PU_KFA Buffer Station
6MO_KFA Assembly Station
7SO_KFA Sorting Station
8HY_KFA Hydraulic Station
7/28/2019 Handling Instructor Rel C
34/174
Commissioning
32 Festo Didactic GmbH & Co. MPS
7/28/2019 Handling Instructor Rel C
35/174
Festo Didactic GmbH & Co. MPS 33
Please define the PLC-hardware used within your station with the STEP 7 software.After the configuration, please download it into the PLC.
Information
Please make sure that the PC is connected to the PLC with the communication cable,
the power supply of the station is on, the emergency switch is deactivated and the
CPU-switch is in STOP position. Make sure that the PLC memory is empty (delete).
Use the screen shots (execution) to proceed.
Open a new project and name itP2_01. It s not necessary to add the station name
into the hardwareconfiguration name, because the configuration is the same for all
stations.
Instructor: Show how to delete the contents of a CPU using the switch of the CPU.
Let all the participants try it several times. Explain them where to find the name of
the PLC-modules (on the top of the module, for example SM 323) and the order-
number (6ES7..) and explain why this order-number is so important for the
hardwareconfiguration. Explain also what a Clock Memory is and what Retentive
Memories are and why it s better to switch them to 0.
Planning
Please follow the description (screen shots) carefully step by step. Please makesure, that every member of your team did the hardwareconfiguration at least once.
The time to finish this project should be around 1,0 hours.
2.1 Programming -Hardwareconfigura
tion
Programming
7/28/2019 Handling Instructor Rel C
36/174
Programming
34 Festo Didactic GmbH & Co. MPS
Execution
Screen shots of the hardwareconfiguration, the bold words are commands to click
on, the ( ) are only comments (ENTER) means click left mouse button once or press
ENTER, (double click) means double click the left mouse button:
FileNew (type Name: P2_01)OK
7/28/2019 Handling Instructor Rel C
37/174
Programming
Festo Didactic GmbH & Co. MPS 35
InsertStationSIMATIC 300 Station
7/28/2019 Handling Instructor Rel C
38/174
Programming
36 Festo Didactic GmbH & Co. MPS
+ P2_01 SIMATIC 300(1)Hardware(double click)
7/28/2019 Handling Instructor Rel C
39/174
Programming
Festo Didactic GmbH & Co. MPS 37
+ SIMATIC 300+ RACK-300Rail (double click)
7/28/2019 Handling Instructor Rel C
40/174
Programming
38 Festo Didactic GmbH & Co. MPS
- RACK 300+ CPU-300+ CPU 314+ 6ES7 314-1AE04-0AB0(depends on
the CPU you use check the order no. on the front left below corner of the CPU)
V1.2(depends on the CPU you use open the flap of the CPU and you will find the
right version number on the left below corner) (double click)
7/28/2019 Handling Instructor Rel C
41/174
Programming
Festo Didactic GmbH & Co. MPS 39
CPU 314(at the Slot 2 double click)Cycle/Clock MemoryClock Memory
100(Memory Byte free definition)
7/28/2019 Handling Instructor Rel C
42/174
Programming
40 Festo Didactic GmbH & Co. MPS
Retentive Memory0(Number of Memory Bytes Starting with MB0)0(Number
of S7 Timers Starting with T0)0Number of S7 Counters Starting with C0)OK
7/28/2019 Handling Instructor Rel C
43/174
Programming
Festo Didactic GmbH & Co. MPS 41
- CPU-300+ SM-300+ DI/ DO-300SM 323 DI16/DO16x24V/0,5A
(depends on the input/ output module you use refer to the left below corner of the
module to find the right number) (double click)
7/28/2019 Handling Instructor Rel C
44/174
Programming
42 Festo Didactic GmbH & Co. MPS
- SIMATIC 300 StationSave and Compile
7/28/2019 Handling Instructor Rel C
45/174
Programming
Festo Didactic GmbH & Co. MPS 43
PLCDownload(follow the instructions on the screen to download the
hardwareconfiguration)
7/28/2019 Handling Instructor Rel C
46/174
Programming
44 Festo Didactic GmbH & Co. MPS
(after download without an error message switch the CPU to RUN - no red light SF - -
switch the CPU to STOP again)StationExit
7/28/2019 Handling Instructor Rel C
47/174
Programming
Festo Didactic GmbH & Co. MPS 45
Controll
If there will be no error message after saving and compiling your
hardwareconfiguration and no error message while or after downloading, the
hardwareconfiguration have been done properly.
Change the switch on the CPU to RUN-position-if there is no read light SF the
configuration was successful and then change the swithc to STOP again.
Documentation
Please add your own comments to the screen shots.
7/28/2019 Handling Instructor Rel C
48/174
Programming
46 Festo Didactic GmbH & Co. MPS
Please edit the PLC-program concerning the following description:as long as a Start-button AND a Reset-button are pressed, the piston rod of the
cylinder move. The cylinder is actuated by a 5/2-way single solenoid valve. Please
find out in the pneumatic plan which cylinder/actuator you gonna use.
Information
Use FC5 to edit the program. Open a new project and name itP2_02(see screen
shots in the part Planning. We didn t close the project P2_01, because we have to
copy the Hardwareconfiguration from this project to the new one. Use the
hardwareadresses (see list in Project 1.3) to edit the program. The programming
language in FC1 should be FBD (Function Block Diagram), in OB1 STL (StatementList). FC1 starts unconditional (UC).
Instructor: Please explain the programming structure of a PLC (S5 or S7) with OB1,
FC, FB, SFB, SFC. Explain also the two ways to call a program (Function) from OB1
(UC and CC) Work out the Truth table, Wiring diagram, Logic plan and Stepping
diagram together with the participants. Explain that the basics on the following
pages are principal-functions (because the output is the Start-light H1). Explain
also the two different possibilities to structure a project seen on the next page.
Show the participants how to copy a hardwareconfiguration from another project.
Explain to the participants, that the meaning of "cylinder move" is depending onthe hardware and onto the connection to the responding valve. "cylinder move"
means, from the front to the back position if the piston rod starting condition is the
front position and to the front position if the piston rod starting condition is the
back position!!!!
2.2 Programming Basics in Digital
Technology AND
7/28/2019 Handling Instructor Rel C
49/174
Programming
Festo Didactic GmbH & Co. MPS 47
There are two possibilities to structure a project Struc01 shows a structure,
where four Programs are parallel to the Station SIMATIC 300(1) this structure is
used for education, because there are mostly more than only one different exercise
(Programs) for one station.
Struc02 shows a typical industrial structure, because there is mostly only one
Program for one station or application.
The first projects within this teachware are based on Struc01, later we will change it
to the Struc02 to see and learn both different possibilities.
7/28/2019 Handling Instructor Rel C
50/174
Programming
48 Festo Didactic GmbH & Co. MPS
7/28/2019 Handling Instructor Rel C
51/174
Programming
Festo Didactic GmbH & Co. MPS 49
In the following please find some important informations regarding pneumaticactuators and their triggering. This informations are basically.
Instructor: In the following exercises, pneumatic working elements are used.
Therefore, a short introduction in these technological features are necessary.
Double-acting cylinders with the ability to work at forward- and backward
movement are pneumatic working elements, which are often used. These cylinders
are mostly triggered by 5/2-way valves. Explain the following three graphics.
5 = number of connections (1, 3, 4, 2 and 5)
2 = 2 switching positions (2 rectangles)
The connections have the following functions:
1(P) = air connection (supply)
2(B) = output B for backward stroke
3(S) = connection exhaust air of forward stroke
4(A) = output A for forward stroke
5(S) = connection exhaust air of backward stroke
In the following drawing you can find letters in brackets behind the standardized
designation of the connections (1, 3, 4, 2 and 5). These letters are former
designations, one can still find them on old elements.
3(R)5(S)1(P)
14
y1
4(A) 2(B)
y2 y33(R)5(S)1(P)
14 12
4(A) 2(B)
Single solenoid Double solenoid
Activation of single/double solenoid valve:
7/28/2019 Handling Instructor Rel C
52/174
Programming
50 Festo Didactic GmbH & Co. MPS
3(R)5(S)1(P)
14
y1
power(24VDC)
connected to Y1
4(A) 2(B)
3(R)5(S)1(P)
14
y1
4(A) 2(B)
Activation of a single solenoid valve:
shortpowersignal
(24VDC)connected to y2
y2 y2y3 y33(R) 3(R)5(S) 5(S)1(P) 1(P)
14 1412 12
4(A) 4(A)2(B) 2(B)shortpowersignal
(24VDC)connected to y3
Activation of a double solenoid valve:
7/28/2019 Handling Instructor Rel C
53/174
Programming
Festo Didactic GmbH & Co. MPS 51
Planning
Please plan your project step by step first within the group. Use the list of inputs and
outputs of the Project 1.3. Work out the informations of truth table, wiring diagram,
logic plan and stepping diagram first together with the Instructor. Before
programming, don t forget to delete the contents of the PLC using the CPU-switch.
The time to finish this project should be around 1,5 hour including theory.
FileNew (type name P2_02)OK
7/28/2019 Handling Instructor Rel C
54/174
Programming
52 Festo Didactic GmbH & Co. MPS
SIMATIC 300(1)(click on station of the project P2_01 with the right mouse button)
Copy
7/28/2019 Handling Instructor Rel C
55/174
Programming
Festo Didactic GmbH & Co. MPS 53
P2_02(right mouse button on the project P2_02)Paste
7/28/2019 Handling Instructor Rel C
56/174
Programming
54 Festo Didactic GmbH & Co. MPS
X(close the project P2_01)
7/28/2019 Handling Instructor Rel C
57/174
Programming
Festo Didactic GmbH & Co. MPS 55
P2_02InsertProgramS7 Program
7/28/2019 Handling Instructor Rel C
58/174
Programming
56 Festo Didactic GmbH & Co. MPS
+ S7 Program (2)BlocksInsertS7 BlockFunction
7/28/2019 Handling Instructor Rel C
59/174
Programming
Festo Didactic GmbH & Co. MPS 57
FBD(change programming language of FC1 to FBD = Function Block Diagram)OK
7/28/2019 Handling Instructor Rel C
60/174
Programming
58 Festo Didactic GmbH & Co. MPS
Execution/Documentation
Edit the Organisation Block 1 first by double click on OB1.
Program OB1:
(After editing)EditSave (no error message)EditExit
This procedure is always the same after editing a program it s not mentioned
anymore!!!
7/28/2019 Handling Instructor Rel C
61/174
Programming
Festo Didactic GmbH & Co. MPS 59
Edit the the application within the Function 1 by double click on FC1.Program FC1:
7/28/2019 Handling Instructor Rel C
62/174
Programming
60 Festo Didactic GmbH & Co. MPS
Controll
After editing the project download it to the CPU. Test the function according the
project description.
BlockPLCDownload(follow the instructions on the screen)
This procedure to download a project is always the same after editing a program
it s not mentioned anymore!!!
7/28/2019 Handling Instructor Rel C
63/174
Programming
Festo Didactic GmbH & Co. MPS 61
Please edit the PLC-program concerning the following description:as long as a Start-button OR a Auto/Manu-switch is activated, the piston rod of the
cylinder move. The cylinder is actuated by a 5/2-way single solenoid valve.
Information
Use FC5 to edit the program. Open a new project and name itP2_03. Please copy the
hardwareconfiguration from P2_01 or P2_02. Please use the symbol adresses shown
in the list of inputs and outputs of Project 1.3 to edit the program. The programming
language for FC1 should be FBD, for OB1 STL. The FC5 shall starts unconditional. The
following screen shows the project structure and the symbol editor.
Instructor: Work out the basics of an OR, shown on the next page together with the
participants. Show them how to use the symbol editor.
2.3 Programming Basics in Digital
Technology OR
7/28/2019 Handling Instructor Rel C
64/174
Programming
62 Festo Didactic GmbH & Co. MPS
(after insertation of the SIMATIC 300(1) station, copy of the Hardwareconfiguration,
insertation of a S7 Program(2) please open the Symbol Editor) + P2_03
S7 Program(2)Symbols(double click) (edit the symbols, the adresses and the
comments and save the file) Symbol TableSaveX(close the window of the
Symbol Editor)
7/28/2019 Handling Instructor Rel C
65/174
Programming
Festo Didactic GmbH & Co. MPS 63
7/28/2019 Handling Instructor Rel C
66/174
Programming
64 Festo Didactic GmbH & Co. MPS
Planning
Please plan your project step by step first within the group. Use the list of inputs and
outputs of the Project 1.3. Work out the informations of truth table, wiring diagram,
logic plan and stepping diagram first together with the Instructor. Before
programming, don t forget to delete the contents of the PLC using the CPU-switch
again. Insert the application function FC5 to the Blocks, like described within the
Project 2.2 and edit the OB1 and the FC5. After editing, please download the Blocks
to the CPU and test the program.
The time to finish this project should be around 1,0 hour including theory.
Execution/Documentation
Program OB1:
7/28/2019 Handling Instructor Rel C
67/174
Programming
Festo Didactic GmbH & Co. MPS 65
Program FC5:
If you click the right mouse button on an input or output and click on Insert Symbol.,
you will get a list of all defined inputs and outputs within the Symbol Editor.
Controll
Edit the project and download it. Test the function according the project description.
7/28/2019 Handling Instructor Rel C
68/174
Programming
66 Festo Didactic GmbH & Co. MPS
Please edit the PLC-program concerning the following description:if a Start-button is pressed shortly, the piston rod of the cylinder with single
solenoid shall move as long as a Reset button is pressed shortly. If the Start- and the
Reset button are pressed at the same time, the piston rod shall not move out.
Information
Use FC1 to edit the program. Open a new project and name itP2_04. Please copy the
hardwareconfiguration and the OB1 from the project before. Please use symbol
adresses. How to edit the symbol editor was shown in the project P2_03. The
programming language should be FBD.
Instructor: Work out the basics, shown on the next page together with the
participants. Explain the differences of reset- and set dominant. Show how to copy
an OB1 into a new project. Show them how to use the hardwarecatalog (Program
elements) to edit in FBD (see screen next pages). Show the participants how to
watch the function online on the computer.
2.4 Programming Basics in Digital
Technology RS-
Flip-Flop
7/28/2019 Handling Instructor Rel C
69/174
Programming
Festo Didactic GmbH & Co. MPS 67
7/28/2019 Handling Instructor Rel C
70/174
Programming
68 Festo Didactic GmbH & Co. MPS
Planning
Please plan your project step by step first within the group. Use the list of inputs and
outputs of the Project 1.3. Work out the informations of truth table, wiring diagram,
logic plan and stepping diagram first together with the Instructors. Before
programming, don t forget to delete the contents of the PLC using the CPU-switch.
The time to finish this project should be around 1,5 hour including theory.
Execution/Documentation
Program OB1
7/28/2019 Handling Instructor Rel C
71/174
Programming
Festo Didactic GmbH & Co. MPS 69
Program FC1
7/28/2019 Handling Instructor Rel C
72/174
Programming
70 Festo Didactic GmbH & Co. MPS
Controll
Edit the project and download it. See the function of the project online on your
computer (see screen). Test the function according the project description.
(click on the glasses to switch to online-mode, after finish, please switch the online-
mode off and close the window withEdit Exit)
7/28/2019 Handling Instructor Rel C
73/174
Programming
Festo Didactic GmbH & Co. MPS 71
Please edit the PLC-program concerning the following description:as long as a Start-button is pressed AND a Auto/Manu-switch is NOT activated, the
piston rod of the cylinder with single solenoid shall move.
Information
Use FC10 to edit the program. Open a new project and name itP2_05. Please copy
the hardwareconfiguration from the project before. Please use symbol adresses. The
programming language for FC10 should be FBD, for OB1 STL. The FC10 shall start
unconditional. Work out the Truth Table together with the instructor first.
Instructor: Please work out the Truth table together with the participants. Showhow to negate an input in the program with FBD. Explain that within the program
they shall use the cylinder with single solenoid valve not the light H1.
Planning
Please plan your project step by step first within the group.
The time to finish this project should be around 0,5 hour.
2.5 Programming Basics in Digital
Technology AND
NOT
7/28/2019 Handling Instructor Rel C
74/174
Programming
72 Festo Didactic GmbH & Co. MPS
Execution/Documentation
Program OB1
7/28/2019 Handling Instructor Rel C
75/174
Programming
Festo Didactic GmbH & Co. MPS 73
Program FC10
Controll
Edit the project and download it. Test the function according the project description.
Watch FC10 with the online-function (description see Project 2.4).
7/28/2019 Handling Instructor Rel C
76/174
Programming
74 Festo Didactic GmbH & Co. MPS
Please edit the PLC-program concerning the following Truth table. Reduce the logicas much as possible. Use the Start-button (S) and the Reset-button (R) and the
cylinder with single solenoid valve (H1).
Information
Use FC1 to edit the program. Open a new project and name itP2_06.Please open
the Project 2.4 (P2_04) again and copy all parts you need. Please use symbol
adresses. The programming language for FC1 and for OB1 should be STL. The FC1
shall start unconditional.
Instructor: Please tell the participants, that only one logic module is needed for
this project.
Planning
Please plan your project step by step first within the group.
The time to finish this project should be around 0,5 hour.
2.6 Programming Basics in Digital
Technology
IDENTITY
7/28/2019 Handling Instructor Rel C
77/174
Programming
Festo Didactic GmbH & Co. MPS 75
Execution/Documentation
Program FC1, OB1 is the same than in the Project 2.4
Controll
Edit the project and download it. Test the function according the project description.
Watch FC1 with the online-function (description see Project 2.4).
7/28/2019 Handling Instructor Rel C
78/174
Programming
76 Festo Didactic GmbH & Co. MPS
After a short actuation of a Start-button, the piston rod of the cylinder with singlesolenoid shall move as long as a Reset- or a Stop-button is pressed shortly. The
program shall be activated by the Auto/Manu switch, the program FC8 is not running
if the Auto/Manu switch is off.
Information
Use the project before as a base and copy all parts from this project you need. Use
FC8 to edit the program. Open a new project and name itP2_07. Please use symbol
adresses. The programming language for FC8 is FBD, for OB1 STL.
Instructor: Explain how to rename a function (right mouse buttonRename).
Planning
Please plan your project step by step first within the team. Discuss the differences to
call a function (FC) with and without a condition. The command for conditional call is
CC. Before the action of CC, you have to edit a condition-which condition is this?
The time to finish this project should be around 1,0 hour.
2.7 Programming Condition Call of a
Program
7/28/2019 Handling Instructor Rel C
79/174
Programming
Festo Didactic GmbH & Co. MPS 77
Execution/Documentation
Program OB1
7/28/2019 Handling Instructor Rel C
80/174
Programming
78 Festo Didactic GmbH & Co. MPS
Program FC8
Controll
Edit the project and download it. Test the function according the project description.
Watch the function of the FC with the online-function.
This controll step will be the same for all the following projects, so it s not
mentioned in each project anymore.
7/28/2019 Handling Instructor Rel C
81/174
Programming
Festo Didactic GmbH & Co. MPS 79
Expand the Project 2.7 (P2_07)after a short actuation of a Start-button, the piston rod of the cylinder with solenoid
valve shall move as long as a Reset- or a Stop-button is pressed shortly. The
program shall be activated by the Auto/Manu switch, this means, the program is not
running if the switch is off with the additional function the piston rod move to the
starting condition if the Auto/Manu switch is off.
Information
Use the Project 2.7 (P2_07) as a base and save it with a new name P2_08withEdit
Save as. See the following screen shots "Save an open project with a new name".
Use FC1 to edit the program. Please use symbol adresses. The programminglanguage for FC1 should be FBD, for OB1 STL.
We also use another structure of the project. Please see the screen shot "New
structure of the project" andfollow the structure for all following projects.
Also please switch the CPU to the RUN-P-mode. Within this mode you can delete,
download and warmstart the CPU from the computer. Please follow the instructor
step by step how to do it.
Instructor: Explain the differences between this and the project-structure before.
Refer to the explanations in Project 2.2. Explain the difference between the RUN-
and the RUN-P-mode at the CPU-switch. Show the participants how to delete the
CPU, download and restart it step by step.
2.8 Programming Condition Call of a
Program expanded
7/28/2019 Handling Instructor Rel C
82/174
Programming
80 Festo Didactic GmbH & Co. MPS
Save an open project with a new name:
FileSave As P2_08(type in the new name)OK
7/28/2019 Handling Instructor Rel C
83/174
Programming
Festo Didactic GmbH & Co. MPS 81
Copy the contents of the S7 Program(2):
S7 Program(2)(right mouse button)Copy
7/28/2019 Handling Instructor Rel C
84/174
Programming
82 Festo Didactic GmbH & Co. MPS
CPU 314(right mouse button)Paste
7/28/2019 Handling Instructor Rel C
85/174
Programming
Festo Didactic GmbH & Co. MPS 83
Delete the S7 Program(2)
S7 Program(2)(right mouse button)Delete(follow the instructions on the
screen)
7/28/2019 Handling Instructor Rel C
86/174
Programming
84 Festo Didactic GmbH & Co. MPS
Rename FC8 to FC1
+ CPU 314+ S7 Program(2)BlocksFC8(right mouse button)Rename
(rename FC8 to FC1)OK
7/28/2019 Handling Instructor Rel C
87/174
Programming
Festo Didactic GmbH & Co. MPS 85
New structure of the project:
7/28/2019 Handling Instructor Rel C
88/174
Programming
86 Festo Didactic GmbH & Co. MPS
Planning
Please plan your project step by step first within the team. Before programming,
don t forget to delete the contents of the PLC from the computer. Edit the project
(programs) on a sheet of paper first.
The time to finish this project should be around 1,0 hour.
Execution/Documentation
Program OB1
7/28/2019 Handling Instructor Rel C
89/174
Programming
Festo Didactic GmbH & Co. MPS 87
Program FC1
7/28/2019 Handling Instructor Rel C
90/174
Programming
88 Festo Didactic GmbH & Co. MPS
If a Start-button is pressed and hold, the Start-light (H1) shall be on after 5,0seconds and stay on until the button is pressed. The timer is only running while the
Start-button is pressed. If the Start-button will be released before 5 seconds, the
timer start new.
Information
Use FC1 to edit the program. Save the actual Project as a new project namedP2_09.
Please use symbol adresses. The programming language for FC1 should be FBD, for
OB1 STL. Use the Hardwarecatalog (Program elements) to edit the program in FBD
(see screens "Open the Hardwarecatalog") and use the help-function to get further
informations (see the screen shots "Help function for an On-Delay-Timer").Use Timer 1 for this project.
Instructor: Discuss about the different timer-functions and show how to open and
use the help-function in the Hardwarecatalog (Program element).
2.9 Programming On-Delay-Timer
function
7/28/2019 Handling Instructor Rel C
91/174
Programming
Festo Didactic GmbH & Co. MPS 89
Open the Hardwarecatalog:(if the Hardwarecatalog is not open (window in the right corner Program
elements), please open it in the FC1)
ViewCatalog (the window Program elements opens)
7/28/2019 Handling Instructor Rel C
92/174
Programming
90 Festo Didactic GmbH & Co. MPS
Help function for an On-Delay-Timer
+ TimersS_ODT (click on the ? and you see a description of the function)
7/28/2019 Handling Instructor Rel C
93/174
Programming
Festo Didactic GmbH & Co. MPS 91
Planning
Please plan your project step by step first within the team. Check out the function of
all timers with the help function and choose the right timer for your project. May be
it s helpful, to print the help-functions of the timers for further projects. Edit on a
sheet of paper first.
The time to finish this project should be around 2,0 hour including theory and print
out of the different timers.
Execution/Documentation
Program OB1
7/28/2019 Handling Instructor Rel C
94/174
Programming
92 Festo Didactic GmbH & Co. MPS
Program FC1
7/28/2019 Handling Instructor Rel C
95/174
Programming
Festo Didactic GmbH & Co. MPS 93
If a Start-button is pressed, the Start-light (H1) shall be on as long as the Start-button is pressed. If you release the Start-button, the light will be on for another
3 seconds.
Information
Use FC1 to edit the programs. Please use symbol adresses. The programming
language for FC1 should be FBD, for OB1 STL. Use Timer 2 for this project.
Planning
Please plan your project step by step first within the team. Check out the function ofall timers and choose the right timer for your project. Edit on a sheet of paper first.
The time to finish this project should be around 1,0 hour.
2.10 Programming Off-Delay-Timer
function
7/28/2019 Handling Instructor Rel C
96/174
Programming
94 Festo Didactic GmbH & Co. MPS
Execution/Documentation
Program FC1, the program OB1 is the same than for the project before
7/28/2019 Handling Instructor Rel C
97/174
Programming
Festo Didactic GmbH & Co. MPS 95
If a Start-button is pressed, the piston rod of the cylinder move until reaching thesensor for the front/back position depending on the hardware and then move back
to starting condition automatically. After starting 5 times, the Start-light must be on
and the piston rod can not move again. Set the counter by pressing the Reset-button
once.
Information
Use FC1 to edit the programs. Please use symbol adresses. The programming
language for FC1 should be FBD, for OB1 STL. Use Counter 1 for this project.
Instructor: Explain the differences to count up or count down from the output pointof view. Explain the function of the edge memory. Explain why it s better to use it
for this project some contacts shetter or bounce the counting would not be
correct.
Planning
Please plan your project step by step first within the team. Check out the function of
all counters as shown for the timers in the Project 2.9 and choose the right counter
for your project. Edit on a sheet of paper first.
The time to finish this project should be around 1,5 hour including theory and print
out of the different counters.
2.11 Programming Counter Down
function
7/28/2019 Handling Instructor Rel C
98/174
Programming
96 Festo Didactic GmbH & Co. MPS
Execution/Documentation
Program FC1, the program OB1 is the same than for the project before
The logic module P (M10.0) is an edge memory this means, even you hold Start-
button down, only a short pulse will come through to the input. Some contact
shatter or bounce even you press them only once.
7/28/2019 Handling Instructor Rel C
99/174
Programming
Festo Didactic GmbH & Co. MPS 97
As long as a Start-button is pressed, a Start-light (H1) flash with 500 ms on and500 ms off. The program of FC1 should be done with only one Network.
Information
Use FC1 to edit the programs. Please use symbol adresses. The programming
language for FC1 should be FBD, for OB1 STL. There is a Memorybyte (Clock
Memory) defined within the hardwareconfiguration which automatically flash with
different frequences or different time periods. Please see the following time periods
for the 8 Bits of the Memorybyte 100 (100 is free defined within the
Hardwareconfiguration). A time period is the time the Memory is on and the time the
Memory is off:
M100.0 = 0,1 sec.
M100.1 = 0,2 sec.
M100.2 = 0,4 sec.
M100.3 = 0,5 sec.
M100.4 = 0,8 sec.
M100.5 = 1,0 sec.
M100.6 = 1,6 sec.
M100.7 = 2,0 sec
Instructor: Show the Clock Memory and the help-function within thehardwareconfiguration and explain that the adress of the MB 100 is free defined
could be changed.
Planning
Please plan your project step by step first within the team. Check out the
hardwareconfiguration in Project 2.1 again how to define and activate the Clock
Memory .
The time to finish this project should be around 0,5 hour.
2.12 Programming Programming of a
Flashlight
7/28/2019 Handling Instructor Rel C
100/174
Programming
98 Festo Didactic GmbH & Co. MPS
Execution/Documentation
Program FC1, the program OB1 is the same than for the project before
7/28/2019 Handling Instructor Rel C
101/174
Programming
Festo Didactic GmbH & Co. MPS 99
The starting condition for this project is to press the Start-button shortly. After theStart-button was pressed shortly, the Start-light is on for 1 second. After the Start-
light is off, the Reset-light is on for 3 seconds cycle end. To newstart the cycle,
either press Start-button again (Manu-cycle), or switch the Auto/Manu-switch to on.
Information
Use FC1 to edit the program. Please use symbol adresses. The programming
language for FC1 should be FBD, for OB1 STL. The first start of the cycle must be by
pressing Start-button, not with Auto/Manu-switch.
Instructor: Explain very clearly that the first cycle, after the CPU is switched fromSTOP to RUN, must be activated only by the Start-button.
Planning
Please plan your project step by step first within the team.
The time to finish this project should be around 2,0 hour.
2.13 Programming Programming of a
Auto/Manu
sequence
7/28/2019 Handling Instructor Rel C
102/174
Programming
100 Festo Didactic GmbH & Co. MPS
Execution/Documentation
Program FC1, the program OB1 is the same than for the project before
7/28/2019 Handling Instructor Rel C
103/174
Programming
Festo Didactic GmbH & Co. MPS 101
Move your station automatically to the starting position (home position), thismeans, this is the position where a material flow starts. Press the Reset-button
shortly to start the sequence. Station is not in starting position, the Reset-light shall
flash with 500 ms, Station is in starting position, the Reset-light is on.
Information
Please edit the program FC1 in FBD which starts without any condition. Edit with
symbols. Use the list of inputs and outputs. The OB1 is in STL. After reaching the
starting position, only one output is allowed to be on, the Reset-light.
Instructor: work out the starting condition together with the teams station bystation. Think also about, that a workpiece could be inside the station but can not
be detected by a sensor take out by hand. Let the participants define the action
themselves according the conditions. Make sure, that they follow the steps like
mentioned within the planning.
Planning
Please plan your project step by step first within the team. Define the input
conditions of the starting position first and then define the action of the actuators.
The time to finish this project should be around 1,5 hour.
Conditions:
C1 Visual control no workpieces are on the chutes (slides)
C2 No workpiece is available (not I0.0)
C3 No workpiece inside the gripper (not I0.6)
C4 Lifting cylinder is up (I0.5)
C5 Handling at the following station (I0.2)
Actions:
the actions have to be done if the corresponding condition is not fulfilled.
A1 Remove the workpiece by hand from the chutes (slides)
A2 Remove the workpiece from the workpiece mounting by hand
A3 Move the handling to the following station
2.14 Programming Move to Starting
Position
7/28/2019 Handling Instructor Rel C
104/174
Programming
102 Festo Didactic GmbH & Co. MPS
Execution/Documentation
Program FC1, the program OB1 is the same than for the project before
7/28/2019 Handling Instructor Rel C
105/174
Programming
Festo Didactic GmbH & Co. MPS 103
7/28/2019 Handling Instructor Rel C
106/174
Programming
104 Festo Didactic GmbH & Co. MPS
Expand the Project before, that the Reset-button have to be pressed shortly in anycase to make sure, the visual check is done already. Follow the steps:
1. Reset-button not pressed shortly Reset-light flash with 500 ms
2. Reset-button was pressed shortly and Station is in home position
Reset-light is on
2. Reset-button was pressed shortly and Station is not in home position
Reset-light flash with 200 ms as long as the actuator (actuators) move to
home position,
after reaching the home position, the Reset-light is on.
3. Press Start-button shortly Reset-light is off, Start-light is on
The whole process (Homing and Start) can be interrupted by pressing the Stop-
button shortly or push the Emergency switch (if Emergency Stop kit is available) and
the process start at the first (1.) step again.
The Start process can not be activated while the homing process is active and the
homing process can not be activated while the Start process is active (as long the
Reset-light flash or is on the Start-button have no function, as long the Start-light is
on, the Reset-button have no function).
Information
Please edit the program FC1 in FBD which starts without any condition. Edit with
symbols. Use the list of inputs and outputs from Project 1.3 to find necessary
informations. The OB1 is in STL.
Instructor: Please explain very clearly what you want to have if home-position is
running it s not able to Start, if Start-condition is running it s not able to run the
home-position sequence.
Planning
Please plan your project step by step first within the whole team for one station first.
Use your program from Project 2.14 as a base for this program. The time to finish
this project should be around 3,0 hour.
2.15 Programming Expanded
movement to
Starting Position
7/28/2019 Handling Instructor Rel C
107/174
Programming
Festo Didactic GmbH & Co. MPS 105
Execution/Documentation
Program FC1, the program OB1 is the same than for the project before
7/28/2019 Handling Instructor Rel C
108/174
7/28/2019 Handling Instructor Rel C
109/174
Programming
Festo Didactic GmbH & Co. MPS 107
7/28/2019 Handling Instructor Rel C
110/174
Programming
108 Festo Didactic GmbH & Co. MPS
7/28/2019 Handling Instructor Rel C
111/174
Programming
Festo Didactic GmbH & Co. MPS 109
Please complete the following graphics according the description.
Information
Work out the basics of input/ output communication together with the instructor
first.
Instructor: Please explain the basics of I/O-communication.
Planning
Please plan your project step by step first within the team. The time to finish thisproject should be around 1,0 hour.
Execution/Documentation
Please define a 1 Bit bidirectional communication network:
24 VDC 0 V Input Output
PNP24 VDCInput:0-12 VDC=0-Sig.
12-30 VDC=1-Sig.Output:1-Sig.=24 VDC
PLC
24 VDC 0 V Input Output
PNP24 VDCInput:0-12 VDC=0-Sig.
12-30 VDC=1-Sig.Output:1-Sig.=24 VDC
PLC
2.16 Project Basics of I/O
communication
7/28/2019 Handling Instructor Rel C
112/174
Programming
110 Festo Didactic GmbH & Co. MPS
Please define a 1 Bit unidirectional communication network from PLC to Robot-Controller:
24 VDC 0 V Input Output
PNP24 VDCInput:0-12 VDC=0-Sig.
12-30 VDC=1-Sig.Output:1-Sig.=24 VDC
PLC
12 VDC 0 V Input Output
PNP12 VDCInput:0- 6 VDC=0-Sig.6-12 VDC=1-Sig.max.volt.30 VDCOutput:
1-Sig.=12 VDC
Robot-Controller
7/28/2019 Handling Instructor Rel C
113/174
Programming
Festo Didactic GmbH & Co. MPS 111
Please define a 1 Bit bidirectional communication network:
24 VDC 0 V Input Output
PNP24 VDCInput:0-12 VDC=0-Sig.
12-30 VDC=1-Sig.Output:1-Sig.=24 VDC
PLC
12 VDC 0 V Input Output
PNP12 VDCInput:0- 6 VDC=0-Sig.6-12 VDC=1-Sig.max.volt.30 VDCOutput:1-Sig.=12 VDC
Robot-Controller
K1k11
7/28/2019 Handling Instructor Rel C
114/174
Programming
112 Festo Didactic GmbH & Co. MPS
Please define a 1 Bit bidirectional communication network:
24 VDC 0 V Input Output
PNP24 VDCInput:0-12 VDC=0-Sig.
12-30 VDC=1-Sig.Output:1-Sig.=24 VDC
PLC
12 VDC 0 V Input Output
NPN12 VDCInput:0- 6 VDC=1-Sig.6-12 VDC=0-Sig.Output:1-Sig.=0 VDC
Robot-Controller
K1k11 K2
k21
7/28/2019 Handling Instructor Rel C
115/174
Programming
Festo Didactic GmbH & Co. MPS 113
Please test the input/ output-communication with a program. Complete the drawingshown in the Execution step first.
Information
Please use only one program FC1 in FBD which starts without any condition to solve
this problem. Edit with symbols. Use the list of inputs and outputs from project 1.3
to find necessary informations. The OB1 is in STL. Don t use an actuator or an input
twice. Fill out allc in the drawing. Actually the input/output communication is not
needed for the full process, because there is a light barrier connected to each
station to indicate following or previous station is in place and the material
detection is on each station where it s necessary to check the material. But thebinary communication like input/output communication is very important basic
knowledge to understand the next level of communication Fieldbus Technology!
Instructor: Please explain how to find the informations to finish the drawing.
Explain that only one program should be used without any changes to test all
inputs and outputs at the same time.
Planning
Please plan your project step by step first within your team and communicate with
the team of the following station and the previous station if available also tocomplete your drawing. Finish the drawing first and then work out which button,
lights or actuators you will use for this project and write it into the drawing.
The time to finish this project should be around 1,5 hour.
2.17 Project Test the I/O
communication
7/28/2019 Handling Instructor Rel C
116/174
Programming
114 Festo Didactic GmbH & Co. MPS
Execution/Documentation
7/28/2019 Handling Instructor Rel C
117/174
Programming
Festo Didactic GmbH & Co. MPS 115
Program FC1, OB1 is the same than in the project before
7/28/2019 Handling Instructor Rel C
118/174
Programming
116 Festo Didactic GmbH & Co. MPS
7/28/2019 Handling Instructor Rel C
119/174
Programming
Festo Didactic GmbH & Co. MPS 117
7/28/2019 Handling Instructor Rel C
120/174
Programming
118 Festo Didactic GmbH & Co. MPS
Controll
Edit the project and download it. Test the function according the project description
and the your planning. Watch FC1 with the online-function.
7/28/2019 Handling Instructor Rel C
121/174
Programming
Festo Didactic GmbH & Co. MPS 119
One aluminium workpiece shall come from a previous station and inserted into theHandling Station, checked that the workpiece is not black and moved to the
following station.
After mechanical connection of the previous station and the following station, the
CPU have to be set to RUN and the light barrier signal will be sent to the previous
station.
Before starting, the station have to be in home position (use Project 2.15). The
homing position process can only be started, if the following station is in place (light
barrier signal).
After pressed the Start-button shortly at each station, the cycle starts. but only if the
following station have been started already and is ready to take a workpiece.
Information
Please edit the program FC1 in FBD which starts without any condition. Edit with
symbols. Use the list of inputs and outputs from Project 1.3 to find necessary
informations. The OB1 is in STL.
Instructor: Please explain very clearly what you want to have if home-position is
running it s not able to Start, if Start-condition is running it s not able to run the
home-position sequence. Discuss within the whole team, how to start the cycle
step by step which means, which station have to be started first, second a.s.o.
Please do the planning together with the participants. Go ahead step by step andshow always the condition and the action at the station directly. Explain to the
participants, why a connected station is creating a 0-signal at the light barrier.
Discuss the communication handshake together with all teams. Make sure, this
project is not longer than 3,0 hours.
Planning
Please plan your project step by step first within the whole team for one station first.
Use your program from Project 2.15 as a base for this project. Plan your
communication with the other team carefully. Please make sure, that the
communication input 1 (following station started and ready) is on as long as the
workpiece is inserted into the following station. Discuss with the team of the
following station also, that they have to wait for the communication output 1
(communication input 1 at the following station) to start their process.
The time to finish this project should be around 3,0 hour.
2.18 Project Material-flow
through the FMS
7/28/2019 Handling Instructor Rel C
122/174
Programming
120 Festo Didactic GmbH & Co. MPS
Execution/Documentation
Program FC1, the OB1 is the same than at the project before:
7/28/2019 Handling Instructor Rel C
123/174
Programming
Festo Didactic GmbH & Co. MPS 121
7/28/2019 Handling Instructor Rel C
124/174
Programming
122 Festo Didactic GmbH & Co. MPS
7/28/2019 Handling Instructor Rel C
125/174
Programming
Festo Didactic GmbH & Co. MPS 123
7/28/2019 Handling Instructor Rel C
126/174
Programming
124 Festo Didactic GmbH & Co. MPS
7/28/2019 Handling Instructor