Vous êtes sur la page 1sur 174

Handling Station MPS 2000 Instructors Edition

Festo Didactic GmbH & Co. MPS

Order no.: Description: Designation: Status: Author: Graphics: Layout: Wolfgang Eckart, ADIRO Automatisierungstechnik GmbH Wolfgang Eckart, Festo Didactic GmbH & Co Festo Didactic GmbH & Co Mechatronics Teachware Handling Station MPS 2000 Instructors Edition

Festo Didactic GmbH & Co., D-73770 Denkendorf, 2002 Internet: www.festo.com/didactic e-mail: did@festo.com 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.

Table of Contents

Table of Contents ..................................................................................................... 1 Introduction ............................................................................................................. 3 What is Mechatronics ........................................................................................... 3 Project overview................................................................................................... 6 Commissioning......................................................................................................... 9 1.1 1.2 1.3 1.4 1.5 1.6 1.7 Analysis Components identification ....................................................... 9 Analysis Cable connections .................................................................. 11 Analysis Input and Output adresses...................................................... 13 Analysis Input and Output adresses expanded...................................... 17 Commissioning Adjustment of the Station ............................................ 21 Commissioning Adjustment of the Station expanded ............................ 23 Commissioning Download Project and Test.......................................... 28

Programming ......................................................................................................... 33 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 Programming - Hardwareconfiguration .................................................... 33 Programming Basics in Digital Technology AND ................................. 46 Programming Basics in Digital Technology OR.................................... 61 Programming Basics in Digital Technology RS-Flip-Flop...................... 66 Programming Basics in Digital Technology AND NOT.......................... 71 Programming Basics in Digital Technology IDENTITY .......................... 74 Programming Condition Call of a Program............................................. 76 Programming Condition Call of a Program expanded............................. 79 Programming On-Delay-Timer function ................................................. 88

Festo Didactic GmbH & Co. MPS

Table of Contents

2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 2.18

Programming Off-Delay-Timer function ............................................. 93 Programming Counter Down function................................................ 95 Programming Programming of a Flashlight ........................................ 97 Programming Programming of a Auto/Manu sequence ...................... 99 Programming Move to Starting Position .......................................... 101 Programming Expanded movement to Starting Position .................. 104 Project Basics of I/O communication ............................................. 109 Project Test the I/O communication .............................................. 113 Project Material-flow through the FMS ........................................... 119

Trouble Shooting.................................................................................................. 135 3.1 3.2 Program Trouble Shooting .................................................................. 135 Process Trouble Shooting .................................................................. 164

Festo Didactic GmbH & Co. MPS

Introduction

What is Mechatronics

Mechatronics is a comprehensive combination of Technologies and is mostly mentioned 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.

MECHAnic

elecTRONic

MECHATRONIC

informatIC
Structure of Mechatronics The structure of Mechatronical training is devided into three levels:

FMS-process: material- and signal flow

Totally integrated system Partly integrated systems Basics single technologies

combination of: Mechanic,Electric Pneumatic,PLC single technology: Mechanic,Electric Pneumatic,PLC

Festo Didactic GmbH & Co. MPS

Introduction

The Basic Training in the single technologies is another part of training. In the following 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 of STATIONS

Partly Integrated Systems

electronics

pneumatics

hydraulics

PLC

sensorics

robotics

CAD/CNC

mechanics

Basic Technologies

Festo Didactic GmbH & Co. MPS

Introduction

Basically in Automation and Mechatronics training, the contents should cover the following learning steps, or functions within a company: Commissioning: Programming: Analyse a system, Installation&Commissioning 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.

Festo Didactic GmbH & Co. MPS

Introduction

Project overview

The following table give you an overview about all projects within this documentation in the structure of: Commissioning: Programming: Analysis (Analyse a system) and Commissioning (Installation&Commissioning) 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.
*

Festo Didactic GmbH & Co. MPS

Introduction

Project overview Commissioning and Programming


Learning Step Commissioning Commissioning Commissioning Commissioning Commissioning Commissioning Commissioning Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Designation Analysis Analysis Analysis Analysis Commissioning Commissioning Commissioning Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Programming Project Project Project Project Description Components identification: description of the function of some components used within the stations Cable connections in the system: define and identificate all cable connections in the FMS-system In-and Output adresses of the PLC: find out the hardwareadresses of in- and outputs in the technical docum. In-and Output adresses of the PLC expanded: find out the hardwareadresses of in- and outputs in the technical docum. Adjustment of the Station: check the adjustment all sensors and mechanical components Adjustment of the Station expanded: check the adjustment all sensors and mechanical components Download Project and Test: download all project-programs and test the function of the FMS-system Hardwareconfiguration of the PLC: define the existing Siemens S7-300 PLC-hardware with the software STEP 7 Basics in digital technologyAND: programming of the basic function AND Basics in digital technologyOR: programming of the basic function OR Basics in digital technologyRS-Flip-Flop: programming of the basic function RS-Flip-Flop Basics in digital technologyAND NOT: programming of the basic function AND NOT Basics in digital technologyIDENTITY: programming of the basic function IDENTITY Condition Call of a Program: activate a program in OB1 by a condition of the Control Panel Condition Call of a Program expanded: activate a program in OB1 by a condition of the Control Panel ON-Delay-Timer: programming of a ON-delay timer function using the Control Panel OFF-Delay-Timer: programming of a OFF-delay timer function using the Control Panel Counter down: programming of a Counter down function using the Control Panel Programming of one flashlight: programming a flashlight with 500 ms on/off as long as a button is pressed Programming of a Auto/Manu-sequence: program starts with Start-button/continues by Start or Auto/Manu-switch Move to Starting Position: edit a program to move to the starting (home) position automatically Move to Starting Position expanded: advanced movement to the starting (home) position automatically Theory Basics of I/O-communication: example of different in-/output communications using different controllers Test the I/O-communication: edit a program to test the I/O-communication at the stations Material flow through the FMS: one alu workpiece move through the whole FMS Proj.. 1.1 1.2 1.3 1.4 1.5 1.6 1.7 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 2.18 Page 9 11 13 17 21 23 28 33 46 61 66 71 74 76 79 88 93 95 97 99 101 104 109 113 119 Time [h] 1h 30min 30min 30min 1h 30min 1h 3h 1h 1h 1h 30min 1h 1h 30min 30min 30min 1h 1h 2h 1h 1h 30min 30min 2h 1h 30min 3h 1h 1h 30min 3h

Festo Didactic GmbH & Co. MPS

Introduction

Project overview Trouble Shooting


Learning Step Trouble Shooting Trouble Shooting Trouble Shooting Trouble Shooting Trouble Shooting Trouble Shooting Trouble Shooting Trouble Shooting Trouble Shooting Trouble Shooting Trouble Shooting Trouble Shooting Trouble Shooting Trouble Shooting Designation Program Program Program Program Program Program Program Program Program Program Program Program Program Process Project Description Error in Project 2.2 Error in Project 2.3 Error in Project 2.4 Error in Project 2.5 Error in Project 2.6 Error in Project 2.7 Error in Project 2.8 Error in Project 2.9 Error in Project 2.10 Error in Project 2.11 Error in Project 2.12 Error in Project 2.13 Error in additional Project Maintenance Trouble Shooting14 Process-Errorstime for each approx. Proj.. 3.1 3.1 3.1 3.1 3.1 3.1 3.1 3.1 3.1 3.1 3.1 3.1 3.1 3.2 Page 136 138 140 142 144 146 148 150 152 154 156 158 160 162 Time [h] 30min 30min 30min 30min 45min 30min 45min 45min 30min 45min 30min 1h 30min 1h 30min

Festo Didactic GmbH & Co. MPS

Commissioning

1.1

Analysis Components identification

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 in the 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.

Festo Didactic GmbH & Co. MPS

Commissioning

Execution/Documentation Please complete the list regarding the elements shown and numbered in the pictures above. No.
Ex.1

Name
Start-button

Ident.
S1

Description
Push button with light on the Control Panel, normally open contact, connected to a PLC-input

Page #
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 endposition detection, gripper power 27 N open and close

HGP-10-A Station: outputs Station: pneumatic PLC-board: outputs

No.
1

Name
Retro reflective sensor

Ident.
3B1

Description
Retro reflective optical sensor, send out an infra-red signal and measure the reflection of the light.

Page #
SOEG-L-Q30-PA-S-2L Station: inputs PLC-board: inputs DGO-12-225-P-A Station: outputs Station: pneumatic PLC-board: outputs SOEG-S-Q30-S-L Station: inputs PLC-board: inputs

Pneumatic flat cylinder nonrotating

2A1

Flat cylinder with non-rotating piston rod, double acting, non-rotating by the form of the piston rod, with magnet ring for end-position detection

Light barrier sender

IP_N_FO

Infrared sender to the previous station, maximum range 6000 mm

10

Festo Didactic GmbH & Co. MPS

Commissioning

1.2

Analysis Cable connections

Please analyze the cable connections in your station and complete the drawing on the next page (Execution and Documentation). Information Please fill out all c in the graphic and draw the connections. Use the real station to check the connections. The standard station dont 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 them also 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.

Festo Didactic GmbH & Co. MPS

11

Commissioning

Execution/Documentation

12

Festo Didactic GmbH & Co. MPS

Commissioning

1.3

Analysis Input and Output adresses

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 PLCLEDs, 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 (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.

Example: press 1 = vacuum is on, press 2 = vacuum is off

Festo Didactic GmbH & Co. MPS

13

Commissioning

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.

14

Festo Didactic GmbH & Co. MPS

Commissioning

Execution/Documentation Please complete the list of the inputs and outputs of your station. I/O Station
Adress Symbol Ident. Description

I0.0 I0.1 I0.2 I0.3 I0.4 I0.5 I0.6 I0.7 Q0.0 Q0.1 Q0.2 Q0.3 Q0.7

Part_av Han_prev Han_foll Han_sort Lift_dow Lift _up Sen_mat Follow Handprev Handfoll Lifting Gripper Previous

Part_AV 1B1 1B2 1B3 2B1 2B2 3B1 IP_FL 1Y1 1Y2 2Y1 3Y1

Workpiece is available Handling at previous station Handling at following station Handling at sorting position Lifting cylinder with gripper is down Lifting cylinder with gripper is up Material detection signal = 0 = black Light barrier to the following station Solenoid of handling cyl.to previous station Solenoid of handling cyl.to following station Solenoid of the lifting cylinder with gripper Solenoid of the gripper = 1 = open

IP_N_FO Light barrier to the previous station

I/O Control Panel


Adress Symbol Ident. Description

I1.0 I1.1 I1.2 I1.3 I1.5 Q1.0 Q1.1 Q1.2 Q1.3

START STOP AUTOMAN RESET EMERGEN L_START L_RESET L_SPEC1 L_SPEC2

S1 S2 S3 S4 S1 H1 H2 H3 H4

Start button Stop button Switch automatic and manual cycle Reset button Emergency stop switch-reset with Quit-button Light inside the Start button Light inside the Reset button Light no. 1 special function Light no. 2 special function

Festo Didactic GmbH & Co. MPS

15

Commissioning

I/O Communication
Adress Symbol Ident. Description

I1.4 I1.6 I1.7 Q1.4 Q1.5 Q1.6

CI1_Prev CI1_Foll CI2_Foll CQ1_Prev CQ2_Prev CQ1_Foll

Input comm. from Q1.6 Previous Station Input comm. from Q1.4 Following Station Input comm. from Q1.5 Following Station Output comm. to I1.6 Previous Station Output comm. to I1.7 Previous Station Output comm. to I1.4 Following Station

16

Festo Didactic GmbH & Co. MPS

Commissioning

1.4

Analysis Input and Output adresses expanded

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 PLCLEDs, 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 (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 also how to find out the communication inand outputs.

Example: press 1 = vacuum is on, press 2 = vacuum is off

Festo Didactic GmbH & Co. MPS

17

Commissioning

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.

18

Festo Didactic GmbH & Co. MPS

Commissioning

Execution/Documentation Please complete the list of the inputs and outputs of your station. I/O Station
Adress Symbol Ident. Description

I0.0 I0.1 I0.2 I0.3 I0.4 I0.5 I0.6 I0.7 Q0.0 Q0.1 Q0.2 Q0.3 Q0.7

Part_av Han_prev Han_foll Han_sort Lift_dow Lift _up Sen_mat Follow Handprev Handfoll Lifting Gripper Previous

Part_AV 1B1 1B2 1B3 2B1 2B2 3B1 IP_FL 1Y1 1Y2 2Y1 3Y1

Workpiece is available Handling at previous station Handling at following station Handling at sorting position Lifting cylinder with gripper is down Lifting cylinder with gripper is up Material detection signal = 0 = black Light barrier to the following station Solenoid of handling cyl.to previous station Solenoid of handling cyl.to following station Solenoid of the lifting cylinder with gripper Solenoid of the gripper = 1 = open

IP_N_FO Light barrier to the previous station

I/O Control Panel


Adress Symbol Ident. Description

I1.0 I1.1 I1.2 I1.3 I1.5 Q1.0 Q1.1 Q1.2 Q1.3

START STOP AUTOMAN RESET EMERGEN L_START L_RESET L_SPEC1 L_SPEC2

S1 S2 S3 S4 S1 H1 H2 H3 H4

Start button Stop button Switch automatic and manual cycle Reset button Emergency stop switch-reset with Quit-button Light inside the Start button Light inside the Reset button Light no. 1 special function Light no. 2 special function

Festo Didactic GmbH & Co. MPS

19

Commissioning

I/O Communication
Adress Symbol Ident. Description

I1.4 I1.6 I1.7 Q1.4 Q1.5 Q1.6

CI1_Prev CI1_Foll CI2_Foll CQ1_Prev CQ2_Prev CQ1_Foll

Input comm. from Q1.6 Previous Station Input comm. from Q1.4 Following Station Input comm. from Q1.5 Following Station Output comm. to I1.6 Previous Station Output comm. to I1.7 Previous Station Output comm. to I1.4 Following Station

20

Festo Didactic GmbH & Co. MPS

Commissioning

1.5

Commissioning Adjustment of the Station

Please check the adjustment of all sensors and of the mechanical components of your 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 airpressure 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 I0.1 I0.2 I0.3 I0.4 I0.5 I0.6 I0.7 Q0.0 Q0.1 Q0.2 Q0.3 Q0.7

Part_av Han_prev Han_foll Han_sort Lift_dow Lift _up Sen_mat Follow Handprev Handfoll Lifting Gripper Previous

Part_AV Workpiece is available 1B1 1B2 1B3 2B1 2B2 3B1 IP_FL 1Y1 1Y2 2Y1 3Y1 Handling at previous station Handling at following station Handling at sorting position Lifting cylinder with gripper is down Lifting cylinder with gripper is up Material detection signal = 0 = black Light barrier to the following station Solenoid of handling cyl.to previous station Solenoid of handling cyl.to following station Solenoid of the lifting cylinder with gripper Solenoid of the gripper = 1 = open

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.

Festo Didactic GmbH & Co. MPS

21

Commissioning

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 I0.1 I0.2 I0.3 I0.4 I0.5 I0.6 I0.7 Q0.0 Q0.1 Q0.2 Q0.3 Q0.7

Part_av Han_prev Han_foll Han_sort Lift_dow Lift _up Sen_mat Follow Handprev Handfoll Lifting Gripper Previous

Part_AV 1B1 1B2 1B3 2B1 2B2 3B1 IP_FL 1Y1 1Y2 2Y1 3Y1

Workpiece is available Handling at previous station Handling at following station Handling at sorting position Lifting cylinder with gripper is down Lifting cylinder with gripper is up Material detection signal = 0 = black Light barrier to the following station Solenoid of handling cyl.to prev.station Solenoid of handling cyl.to foll.station Solenoid of the lifting cyl.with gripper Solenoid of the gripper = 1 = open

IP_N_FO Light barrier to the previous station

22

Festo Didactic GmbH & Co. MPS

Commissioning

1.6

Commissioning Adjustment of the Station expanded

Please check the adjustment of all sensors, the mechanical components and the pneumatical 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 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 and how to adjust the speed of a pneumatical actuator. Provide the necessary tools. Deadjust the following sensors and mechanical components (bold)

Festo Didactic GmbH & Co. MPS

23

Commissioning

I/O Station
Adress Symbol Ident. Description

I0.0 I0.1 I0.2 I0.3 I0.4 I0.5 I0.6 I0.7 Q0.0 Q0.1 Q0.2 Q0.3 Q0.7

Part_av Han_prev Han_foll Han_sort Lift_dow Lift _up Sen_mat Follow Handprev Handfoll Lifting Gripper Previous

Part_AV Workpiece is available 1B1 1B2 1B3 2B1 2B2 3B1 IP_FL 1Y1 1Y2 2Y1 3Y1 Handling at previous station Handling at following station Handling at sorting position Lifting cylinder with gripper is down Lifting cylinder with gripper is up Material detection signal = 0 = black Light barrier to the following station Solenoid of handling cyl.to previous station Solenoid of handling cyl.to following station Solenoid of the lifting cylinder with gripper Solenoid of the gripper = 1 = open

IP_N_FO Light barrier to the previous station

Adress

Symbol

Ident.

Description

I1.4 I1.6 I1.7 Q1.4 Q1.5 Q1.6

CI1_Prev CI1_Foll CI2_Foll CQ1_Prev CQ2_Prev CQ1_Foll

Input comm. from Q1.6 Previous Station Input comm. from Q1.4 Following Station Input comm. from Q1.5 Following Station Output comm. to I1.6 Previous Station Output comm. to I1.7 Previous Station Output comm. to I1.4 Following Station

Q0.2 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. 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.

24

Festo Didactic GmbH & Co. MPS

Commissioning

Work out together with the participants the general steps of Installation.The conditions for this example shall be: the PLC-board is removed no power supply connection, no air-pressure supply the Control Panel is removed

1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.

check the adjustment of mechanical components check the adjustment of mechanical actuators holder check the PLC-modules assemble removed components (like PLC-board and Control Panel) cable connections (PLC-board, Control Panel, communication) connect all power supplies check the adjustment of sensor holders check the adjustment of sensors in the holders check the adjustment of sensitivity of sensor tubing connections connect all air-pressure supplies (careful! turn pressure down before) check the adjustment of the speed of pneumatic actuators connect the stations together check the mechanical position of hand over to the next station 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.

Festo Didactic GmbH & Co. MPS

25

Commissioning

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 I0.1 I0.2 I0.3 I0.4 I0.5 I0.6 I0.7 Q0.0 Q0.1 Q0.2 Q0.3 Q0.7

Part_av Han_prev Han_foll Han_sort Lift_dow Lift _up Sen_mat Follow Handprev Handfoll Lifting Gripper Previous

Part_AV 1B1 1B2 1B3 2B1 2B2 3B1 IP_FL 1Y1 1Y2 2Y1 3Y1

Workpiece is available Handling at previous station Handling at following station Handling at sorting position Lifting cylinder with gripper is down Lifting cylinder with gripper is up Material detection signal = 0 = black Light barrier to the following station Solenoid of handling cyl.to prev.station Solenoid of handling cyl.to foll.station Solenoid of the lifting cyl.with gripper Solenoid of the gripper = 1 = open

IP_N_FO Light barrier to the previous station

I/O Communication
Adress Symbol Ident. Description Check

I1.4 I1.6 I1.7 Q1.4 Q1.5 Q1.6

CI1_Prev CI1_Foll CI2_Foll CQ1_Prev CQ2_Prev CQ1_Foll

Input comm. from Q1.6 Previous Station Input comm. from Q1.4 Following Station Input comm. from Q1.5 Following Station Output comm. to I1.6 Previous Station Output comm. to I1.7 Previous Station Output comm. to I1.4 Following Station

26

Festo Didactic GmbH & Co. MPS

Commissioning

Step No.:

Description

Check

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

check the adjustment of mechanical components check the adjustment of mechanical actuators holder check the PLC-modules assemble removed components (PLC-board/Control Panel) cable connections (PLC-board, Control Panel, communication) connect all power supplies check the adjustment of sensor holders check the adjustment of sensors in the holders check the adjustment of sensitivity of sensor tubing connections connect all air-pressure supplies (careful! turn pressure down) check the adjustment of the speed of pneumatic actuators connect the stations together check the mechanical position of hand over to the next station communication connection

Festo Didactic GmbH & Co. MPS

27

Commissioning

1.7

Commissioning Download Project and Test

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 a project 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.

28

Festo Didactic GmbH & Co. MPS

Commissioning

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 feeder Reset light is on 6. Press Start-button light Start is on and process start 5. 6. 7. 8. Station is not in home position Reset light is off Press Reset-button movement of actuators to home position Station in home position and workpiece in the feeder Reset light is on Press Start-button light Start is on and process start

The process can be interrupted by pressing Emergency switch (if available) or Stopbutton 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:

Festo Didactic GmbH & Co. MPS

29

Commissioning

File Open Browse (select subdirectory here C:\Siemens\Step7) MPSVERSC OK (left mouse button)

30

Festo Didactic GmbH & Co. MPS

Commissioning

(click on the right project example project 1VE_KFA for the Distribution Station refer to the list below for other stations) PLC Download (follow the instructions on the screen to download the project after download is finish, switch the CPUswitch to RUN and test the program) 1VE_KFA 2PR_KFA 3BE_KFA 4PA_KFA 5PU_KFA 6MO_KFA 7SO_KFA 8HY_KFA Distribution Station Testing Station Processing Station Handling (PickAlfa) Buffer Station Assembly Station Sorting Station Hydraulic Station

Festo Didactic GmbH & Co. MPS

31

Commissioning

32

Festo Didactic GmbH & Co. MPS

Programming

2.1

Programming Hardwareconfigura tion

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 it P2_01. Its 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 ordernumber (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 its better to switch them to 0. Planning Please follow the description (screen shots) carefully step by step. Please make sure, that every member of your team did the hardwareconfiguration at least once. The time to finish this project should be around 1,0 hours.

Festo Didactic GmbH & Co. MPS

33

Programming

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:

File New (type Name: P2_01) OK

34

Festo Didactic GmbH & Co. MPS

Programming

Insert Station SIMATIC 300 Station

Festo Didactic GmbH & Co. MPS

35

Programming

+ P2_01 SIMATIC 300(1) Hardware (double click)

36

Festo Didactic GmbH & Co. MPS

Programming

+ SIMATIC 300 + RACK-300 Rail (double click)

Festo Didactic GmbH & Co. MPS

37

Programming

- 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)

38

Festo Didactic GmbH & Co. MPS

Programming

CPU 314 (at the Slot 2 double click) Cycle/Clock Memory Clock Memory 100 (Memory Byte free definition)

Festo Didactic GmbH & Co. MPS

39

Programming

Retentive Memory 0 (Number of Memory Bytes Starting with MB0) 0 (Number of S7 Timers Starting with T0) 0 Number of S7 Counters Starting with C0) OK

40

Festo Didactic GmbH & Co. MPS

Programming

- CPU-300 + SM-300 + DI/DO-300 SM 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)

Festo Didactic GmbH & Co. MPS

41

Programming

- SIMATIC 300 Station Save and Compile

42

Festo Didactic GmbH & Co. MPS

Programming

PLC Download (follow the instructions on the screen to download the hardwareconfiguration)

Festo Didactic GmbH & Co. MPS

43

Programming

(after download without an error message switch the CPU to RUN - no red light SF - switch the CPU to STOP again) Station Exit

44

Festo Didactic GmbH & Co. MPS

Programming

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.

Festo Didactic GmbH & Co. MPS

45

Programming

2.2

Programming Basics in Digital Technology AND

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 it P2_02 (see screen shots in the part Planning. We didnt 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 (Statement List). 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 on the 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!!!!

46

Festo Didactic GmbH & Co. MPS

Programming

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.

Festo Didactic GmbH & Co. MPS

47

Programming

48

Festo Didactic GmbH & Co. MPS

Programming

In the following please find some important informations regarding pneumatic actuators 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.

Single solenoid

Double solenoid

4(A) 14 y1 5(S)

2(B) 14 3(R) 1(P) y2

4(A)

2(B) 12 3(R) y3 1(P)

5(S)

Activation of single/double solenoid valve:

Festo Didactic GmbH & Co. MPS

49

Programming

4(A) 14 y1 5(S)

2(B)

power (24VDC) connected to Y1

4(A) 14 y1 5(S)

2(B)

3(R) 1(P)

3(R) 1(P)

Activation of a single solenoid valve:

4(A) 2(B) short 14 power signal y2 5(S) 3(R) (24VDC) 1(P) connected to y2

4(A)

12 14 y3 y2

short power signal 3(R) y3 5(S) (24VDC) 1(P) connected to y3 12

2(B)

Activation of a double solenoid valve:

50

Festo Didactic GmbH & Co. MPS

Programming

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, dont 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.

File New (type name P2_02) OK

Festo Didactic GmbH & Co. MPS

51

Programming

SIMATIC 300(1) (click on station of the project P2_01 with the right mouse button) Copy

52

Festo Didactic GmbH & Co. MPS

Programming

P2_02 (right mouse button on the project P2_02) Paste

Festo Didactic GmbH & Co. MPS

53

Programming

X (close the project P2_01)

54

Festo Didactic GmbH & Co. MPS

Programming

P2_02 Insert Program S7 Program

Festo Didactic GmbH & Co. MPS

55

Programming

+ S7 Program (2) Blocks Insert S7 Block Function

56

Festo Didactic GmbH & Co. MPS

Programming

FBD (change programming language of FC1 to FBD = Function Block Diagram) OK

Festo Didactic GmbH & Co. MPS

57

Programming

Execution/Documentation Edit the Organisation Block 1 first by double click on OB1. Program OB1:

(After editing) Edit Save (no error message) Edit Exit This procedure is always the same after editing a program its not mentioned anymore!!!

58

Festo Didactic GmbH & Co. MPS

Programming

Edit the the application within the Function 1 by double click on FC1. Program FC1:

Festo Didactic GmbH & Co. MPS

59

Programming

Controll After editing the project download it to the CPU. Test the function according the project description.

Block PLC Download (follow the instructions on the screen) This procedure to download a project is always the same after editing a program its not mentioned anymore!!!

60

Festo Didactic GmbH & Co. MPS

Programming

2.3

Programming Basics in Digital Technology OR

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 it P2_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.

Festo Didactic GmbH & Co. MPS

61

Programming

(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 Table Save X (close the window of the Symbol Editor)

62

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

63

Programming

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, dont 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:

64

Festo Didactic GmbH & Co. MPS

Programming

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.

Festo Didactic GmbH & Co. MPS

65

Programming

2.4

Programming Basics in Digital Technology RSFlip-Flop

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 it P2_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.

66

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

67

Programming

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, dont 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

68

Festo Didactic GmbH & Co. MPS

Programming

Program FC1

Festo Didactic GmbH & Co. MPS

69

Programming

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 onlinemode off and close the window with Edit Exit)

70

Festo Didactic GmbH & Co. MPS

Programming

2.5

Programming Basics in Digital Technology AND NOT

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 it P2_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. Show how 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.

Festo Didactic GmbH & Co. MPS

71

Programming

Execution/Documentation Program OB1

72

Festo Didactic GmbH & Co. MPS

Programming

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).

Festo Didactic GmbH & Co. MPS

73

Programming

2.6

Programming Basics in Digital Technology IDENTITY

Please edit the PLC-program concerning the following Truth table. Reduce the logic as 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 it P2_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.

74

Festo Didactic GmbH & Co. MPS

Programming

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).

Festo Didactic GmbH & Co. MPS

75

Programming

2.7

Programming Condition Call of a Program

After a short actuation of a Start-button, the piston rod of the cylinder with single solenoid 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 it P2_07. Please use symbol adresses. The programming language for FC8 is FBD, for OB1 STL. Instructor: Explain how to rename a function (right mouse button Rename). 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.

76

Festo Didactic GmbH & Co. MPS

Programming

Execution/Documentation Program OB1

Festo Didactic GmbH & Co. MPS

77

Programming

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 its not mentioned in each project anymore.

78

Festo Didactic GmbH & Co. MPS

Programming

2.8

Programming Condition Call of a Program expanded

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_08 with Edit 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 programming language 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" and follow 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 RUNand the RUN-P-mode at the CPU-switch. Show the participants how to delete the CPU, download and restart it step by step.

Festo Didactic GmbH & Co. MPS

79

Programming

Save an open project with a new name:

File Save As P2_08 (type in the new name) OK

80

Festo Didactic GmbH & Co. MPS

Programming

Copy the contents of the S7 Program(2):

S7 Program(2) (right mouse button) Copy

Festo Didactic GmbH & Co. MPS

81

Programming

CPU 314 (right mouse button) Paste

82

Festo Didactic GmbH & Co. MPS

Programming

Delete the S7 Program(2)

S7 Program(2) (right mouse button) Delete (follow the instructions on the screen)

Festo Didactic GmbH & Co. MPS

83

Programming

Rename FC8 to FC1

+ CPU 314 + S7 Program(2) Blocks FC8 (right mouse button) Rename (rename FC8 to FC1) OK

84

Festo Didactic GmbH & Co. MPS

Programming

New structure of the project:

Festo Didactic GmbH & Co. MPS

85

Programming

Planning Please plan your project step by step first within the team. Before programming, dont 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

86

Festo Didactic GmbH & Co. MPS

Programming

Program FC1

Festo Didactic GmbH & Co. MPS

87

Programming

2.9

Programming On-Delay-Timer function

If a Start-button is pressed and hold, the Start-light (H1) shall be on after 5,0 seconds 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 named P2_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).

88

Festo Didactic GmbH & Co. MPS

Programming

Open the Hardwarecatalog: (if the Hardwarecatalog is not open (window in the right corner Program elements), please open it in the FC1)

View Catalog (the window Program elements opens)

Festo Didactic GmbH & Co. MPS

89

Programming

Help function for an On-Delay-Timer

+ Timers S_ODT (click on the ? and you see a description of the function)

90

Festo Didactic GmbH & Co. MPS

Programming

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 its 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

Festo Didactic GmbH & Co. MPS

91

Programming

Program FC1

92

Festo Didactic GmbH & Co. MPS

Programming

2.10

Programming Off-Delay-Timer function

If a Start-button is pressed, the Start-light (H1) shall be on as long as the Startbutton 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 of all 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.

Festo Didactic GmbH & Co. MPS

93

Programming

Execution/Documentation Program FC1, the program OB1 is the same than for the project before

94

Festo Didactic GmbH & Co. MPS

Programming

2.11

Programming Counter Down function

If a Start-button is pressed, the piston rod of the cylinder move until reaching the sensor 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 point of view. Explain the function of the edge memory. Explain why its 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.

Festo Didactic GmbH & Co. MPS

95

Programming

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 Startbutton down, only a short pulse will come through to the input. Some contact shatter or bounce even you press them only once.

96

Festo Didactic GmbH & Co. MPS

Programming

2.12

Programming Programming of a Flashlight

As long as a Start-button is pressed, a Start-light (H1) flash with 500 ms on and 500 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 the hardwareconfiguration 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.

Festo Didactic GmbH & Co. MPS

97

Programming

Execution/Documentation Program FC1, the program OB1 is the same than for the project before

98

Festo Didactic GmbH & Co. MPS

Programming

2.13

Programming Programming of a Auto/Manu sequence

The starting condition for this project is to press the Start-button shortly. After the Start-button was pressed shortly, the Start-light is on for 1 second. After the Startlight 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 from STOP 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.

Festo Didactic GmbH & Co. MPS

99

Programming

Execution/Documentation Program FC1, the program OB1 is the same than for the project before

100

Festo Didactic GmbH & Co. MPS

Programming

2.14

Programming Move to Starting Position

Move your station automatically to the starting position (home position), this means, 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 by station. 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 C2 C3 C4 C5 Visual control no workpieces are on the chutes (slides) No workpiece is available (not I0.0) No workpiece inside the gripper (not I0.6) Lifting cylinder is up (I0.5) Handling at the following station (I0.2)

Actions: the actions have to be done if the corresponding condition is not fulfilled. A1 A2 A3 Remove the workpiece by hand from the chutes (slides) Remove the workpiece from the workpiece mounting by hand Move the handling to the following station

Festo Didactic GmbH & Co. MPS

101

Programming

Execution/Documentation Program FC1, the program OB1 is the same than for the project before

102

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

103

Programming

2.15

Programming Expanded movement to Starting Position

Expand the Project before, that the Reset-button have to be pressed shortly in any case 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 Stopbutton 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 its not able to Start, if Start-condition is running its 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.

104

Festo Didactic GmbH & Co. MPS

Programming

Execution/Documentation Program FC1, the program OB1 is the same than for the project before

Festo Didactic GmbH & Co. MPS

105

Programming

106

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

107

Programming

108

Festo Didactic GmbH & Co. MPS

Programming

2.16

Project Basics of I/O communication

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 this project should be around 1,0 hour. Execution/Documentation Please define a 1 Bit bidirectional communication network:

PLC
PNP 24 VDC Input: 0-12 VDC=0-Sig. 12-30 VDC=1-Sig. Output: 1-Sig.=24 VDC

PLC
PNP 24 VDC Input: 0-12 VDC=0-Sig. 12-30 VDC=1-Sig. Output: 1-Sig.=24 VDC

24 VDC 0 V

Input

Output

24 VDC 0 V

Input

Output

Festo Didactic GmbH & Co. MPS

109

Programming

Please define a 1 Bit unidirectional communication network from PLC to RobotController:

PLC
PNP 24 VDC Input: 0-12 VDC=0-Sig. 12-30 VDC=1-Sig. Output: 1-Sig.=24 VDC

Robot-Controller
PNP 12 VDC Input: 0- 6 VDC=0-Sig. 6-12 VDC=1-Sig. max.volt.30 VDC Output: 1-Sig.=12 VDC

24 VDC 0 V

Input

Output

12 VDC 0 V

Input

Output

110

Festo Didactic GmbH & Co. MPS

Programming

Please define a 1 Bit bidirectional communication network:

PLC
PNP 24 VDC Input: 0-12 VDC=0-Sig. 12-30 VDC=1-Sig. Output: 1-Sig.=24 VDC

Robot-Controller
PNP 12 VDC Input: 0- 6 VDC=0-Sig. 6-12 VDC=1-Sig. max.volt.30 VDC Output: 1-Sig.=12 VDC

24 VDC 0 V

Input

Output

12 VDC 0 V

Input

Output

k11

K1

Festo Didactic GmbH & Co. MPS

111

Programming

Please define a 1 Bit bidirectional communication network:

PLC
PNP 24 VDC Input: 0-12 VDC=0-Sig. 12-30 VDC=1-Sig. Output: 1-Sig.=24 VDC

Robot-Controller
NPN 12 VDC Input: 0- 6 VDC=1-Sig. 6-12 VDC=0-Sig. Output: 1-Sig.=0 VDC

24 VDC 0 V

Input

Output

12 VDC 0 V

Input

Output

k11

K2

k21

K1

112

Festo Didactic GmbH & Co. MPS

Programming

2.17

Project Test the I/O communication

Please test the input/output-communication with a program. Complete the drawing shown 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. Dont use an actuator or an input twice. Fill out all c 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 its necessary to check the material. But the binary 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 to complete 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.

Festo Didactic GmbH & Co. MPS

113

Programming

Execution/Documentation

114

Festo Didactic GmbH & Co. MPS

Programming

Program FC1, OB1 is the same than in the project before

Festo Didactic GmbH & Co. MPS

115

Programming

116

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

117

Programming

Controll Edit the project and download it. Test the function according the project description and the your planning. Watch FC1 with the online-function.

118

Festo Didactic GmbH & Co. MPS

Programming

2.18

Project Material-flow through the FMS

One aluminium workpiece shall come from a previous station and inserted into the Handling 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 its not able to Start, if Start-condition is running its 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 and show 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.

Festo Didactic GmbH & Co. MPS

119

Programming

Execution/Documentation Program FC1, the OB1 is the same than at the project before:

120

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

121

Programming

122

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

123

Programming

124

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

125

Programming

126

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

127

Programming

128

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

129

Programming

130

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

131

Programming

132

Festo Didactic GmbH & Co. MPS

Programming

Festo Didactic GmbH & Co. MPS

133

Programming

134

Festo Didactic GmbH & Co. MPS

Trouble Shooting

3.1

Program Trouble Shooting

In the following exercises there are some programming errors which have to be detected, located and eliminated. Information The programs have been part of the programming projects. Instructor: In the following you will see a list of possible errors in programs, which have been part of the programming. You will always see the Original program with no error and the screen shot of the error which have to be done within the program (please refer to the comments done by the author in the screen shots how to implement the error. Write the task always first on the board in a short form, like for example: Start-button and Reset-button = Start-light Let the participants work in the team together at the same time and take the time of each team. The time to finish the trouble shooting mentioned within the documentation means the time including preparation of the error, downloading, error detection, error location, error elimination of the participants and download an test of the correct program into the PLC. Planning Please follow the steps: error detection (what is not working) , error location (where can the error be logically), error elimination (find out the error location, change the program and test the sequence). Controll Test the program according the short description given by the instructor on the board.

Festo Didactic GmbH & Co. MPS

135

Trouble Shooting

Original Project 2.2 (time to finish approx. 0,5 h):

136

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.2:

Festo Didactic GmbH & Co. MPS

137

Trouble Shooting

Original Project 2.3 (time to finish approx. 0,5 h):

138

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.3:

Festo Didactic GmbH & Co. MPS

139

Trouble Shooting

Original Project 2.4 (time to finish approx. 0,5 h):

140

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.4:

Festo Didactic GmbH & Co. MPS

141

Trouble Shooting

Original Project 2.5 (time to finish approx. 0,5 h):

142

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.5:

Festo Didactic GmbH & Co. MPS

143

Trouble Shooting

Original Project 2.6 (time to finish approx. 45 min):

144

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.6

Festo Didactic GmbH & Co. MPS

145

Trouble Shooting

Original Project 2.7 (time to finish approx. 0,5 h):

146

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.7:

Festo Didactic GmbH & Co. MPS

147

Trouble Shooting

Original Project 2.8 (time to finish approx. 45 min) :

148

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.8:

Festo Didactic GmbH & Co. MPS

149

Trouble Shooting

Original Project 2.9 (time to finish approx. 45 min):

150

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.9:

Festo Didactic GmbH & Co. MPS

151

Trouble Shooting

Original Project 2.10 (time to finish approx. 0,5 h):

152

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.10:

Festo Didactic GmbH & Co. MPS

153

Trouble Shooting

Original Project 2.11 (time to finish approx. 45 min):

154

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.11:

Festo Didactic GmbH & Co. MPS

155

Trouble Shooting

Original Project 2.12 (time to finish approx. 0,5 h):

156

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.12:

Festo Didactic GmbH & Co. MPS

157

Trouble Shooting

Original Project 2.13 (time to finish approx. 1,0 h):

158

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error Project 2.13:

Festo Didactic GmbH & Co. MPS

159

Trouble Shooting

Instructor: The following error within a program was not part of the programming projects. The Project-description is: If the Auto/Manu-switch is off a program FC1 shall be active, if the Auto/Manuswitch is on, a program FC2 shall be active. FC1 is a NOR-function with the Start-light (H1), the FC2 is a NAND-function with the Reset-light (H2). Use the Start- and Resetbutton as inputs.

160

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Festo Didactic GmbH & Co. MPS

161

Trouble Shooting

162

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Error in Project:

Festo Didactic GmbH & Co. MPS

163

Trouble Shooting

3.2

Process Trouble Shooting

Please test the full process including all conditions. Find out which part of the process is not working properly and proceed with the steps: error detection, error limitation and error elimination. Please dont forget to fill out the working-sheet of the part Execution and Documentation. The original project shall be Project 2.18. Information Besides Commissioning and Programming, the Trouble Shooting and Maintenance is one of the most important tasks in reality, because non-operating manufacturing units are causing high costs. It is much more important than in installation&commissioning or programming, to train operational steps to detect, limitate and eliminate an error as quick as possible. At Trouble Shooting there is one difference between so called Commissioning Errors and Maintenance Errors. Both of them could be different in a way, there are NO wrong wirings, tubings as well as programming errors within the Maintenance Errors, because the system already has been running perfectly and and an operational error had happened. Such operational errors could be: break of wire defect of elements like valves, cylinders, motors, sensors, etc. ... break of program mechanical reasons

Procedure of error elimination divides into three important fields: error detection error limitation error elimination which have to be documented respectively by the trainee on the attached work sheet. An example help with the further procedure. Usually maintenance errors are easier to transform into manual training, therefore this teachware is referring only on this field regarding the solutions of its exercises.

164

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Instructor: Please work out step-by-step the difference of Commissioning- and Maintenance Errors and work out the example together with the participants. In the following you will find 14 examples of possible error locations in the table. Advice: For isolation of wire endings you can use a thin shrink tube slipped on the wire ending and heated up. This tube provides good isolation.
Error 1 Error Location/Page No.: Isolate wire at clamp 12 directly on the PLC PLC-board/page 8 circuit no. 1 Close the one way flow control valve of the lifting cylinder move back Pneumatic Isolate wire at clamp 4M directly on the PLC PLC-board/page 6 Deadjust the sensor 2B1 for lifting cylinder in up position Pneumatic Isolate wire at clamp 15 directly on the PLC PLC-board/page 8 Isolate wire at clamp XMA2/0V from Q0 on the station Station/page 5 Isolate +-connection (red) of external power supply PLC-board/page 4 circuit no. 1 Remove the fuse F1 on the PLCboard PLC-board/page 4 circuit no. 1 Delete program from the PLC (simulation of battery failure) Isolate wire at clamp XMA2/3 from Q2 on the station Station/page 5 Isolate wire at clamp XMA2/20 from I7 on the station Station/page 4 Deadjust the workpiece mounting Deadjust the sensor 1B2 for handling is at following station Pneumatic Isolate wire at clamp 38 directly on the PLC PLC-board/page 10 circuit no. 7 Error Description Start-button have no function not possible to start the process after homing The piston rod of the lifting cylinder cannot reach the back position after move down a workpiece program stop all lights are not working Installed

The station is not possible to reach the homing position no start of the sequence Station is always in Stop-mode can not be started The handling cannot move to the previous station handling is not possible to pick up a workpiece in the previous station No power on the whole system

No power supply on the PLC

9 10

No program execution The lifting cylinder cannot move down program stops at the position previous station The light barrier is always off even there is a connected station, the Handling never receive the signal Station available The workpiece can not be taken from the mounting careful possible crash!!! The workpiece cannot be inserted to the following station correctly The communication output to the following station is not working following station never start the process

11

12 13

14

Festo Didactic GmbH & Co. MPS

165

Trouble Shooting

In the following, there is a step-by-step explanation of a sample trouble shooting. This wiring diagram is not part of the technical documentation of the Distribution Station, but show a very good example how to measure an error step by step with different measuring methods.

24V/8.1

-A2DI1

O6

-A2DI1

-S6

24NA

COM/5.7

-XMG2

-XG2

-A2DI1

-XK1

17

-A2DI1

I4

-S5

16

-XMG2

-XG2

-A2DI1

I3

-S4

15

-XMG2

-XG2

-A2DI1

I2

-S3

14

-XMG2

-XG2

-A2DI1

I1

Disconnection at START-Button S1
24VB 24V 21 13

-S2

-XMG2

-XG2

-A2DI1

I0

-XK1

-XG2

-XMG2

24NA/6.8 24V/6.8

-S1

-XMG2

-XG2

/6.4

/6.4

/6.4

/6.4

/6.4

/6.4

/6.4

/6.4

166

Festo Didactic GmbH & Co. MPS

0V/6.8

0V/8.1

Trouble Shooting

Although the program is loaded to the PLC and normal position is reached (RESETLight flashing) the Station may not be started (RESET-Light not change to off). The starting condition is, that the Station is in normal position, which is indicated by flashing of the RESET-light. The reason for malfunction must be the START-button itself. Measuring of the current path No. 1 may be proceeded in different ways. In the following, two examples may be described, and both of them are leading to result. measuring of voltage measuring of continuity For better understanding, the current path No. 1 may be shown as an equivalent diagram:

disconnection XMG2 21 XMG2 13 A2DI1 2 XK1 24V 24V

R
0V 0V 0V-clamp PLC-board

PLC input

Festo Didactic GmbH & Co. MPS

167

Trouble Shooting

Voltage test procedure 1. step:

0V

XMG2 21

XMG2 13 A2DI1 2

XK1 24V 24V

R
0V 0V 0V-clamp PLC-board

PLCinput

Voltage test procedure 2. step:

12V

XMG2 21

XMG2 13 A2DI1 2

XK1 24V 24V

R
0V 0V 0V-clamp PLC-board

PLCinput

Result: disconnection must be located between clamp XMG2 and A2DI1-2= broken wiring

168

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Continuity test 1. step:

R>

no continuity

XMG2 21

XMG2 13 A2DI1 2

XK1 24V

Attention: disconnect power supply !


0V

PLCinput

Continuity test 2. step:

continuity

disconnection
XMG2 21 XMG2 13 A2DI1 2

XK1 24V

Attention: disconnect power supply !


0V

PLCinput

Result: disconnection must be located between clamp XMG2 and A2DI1-2= broken wiring

Festo Didactic GmbH & Co. MPS

169

Trouble Shooting

The work-sheet for this example looks like:


Order of Maintenance Name: Hellmich Location of Error: Distribution Station Error Detection After switch-on theair pressure and the PLC, the RESET-light is flashing, which means, that the system is in normal position starting condition OK However, the station cannot be started by the Start-Button (RESET-light not change to off). Order-No: 001 310800 Date: 31.08.2001 Sheet: 1 # 1

Error Limitation MECHANICAL: 1. Is there a mechanical defect on the Start-button?

ELECTRICAL 1. Is the Start-button switching regularly? - Continuity test of switching contacts. 2. Is the signal of the button reaching the PLC? - Control by sight and voltage test.

Error Elimination REASON Break of wire (end sleeve) at the button at connection X. Attach new end sleeve to the wire and connect again. Control of total sequence = error eliminated.

Planning Please follow the description of the in instructor carefully step-by-step. Make a detailled plan of how you want to check the error location step-by-step.

170

Festo Didactic GmbH & Co. MPS

Trouble Shooting

Execution/Documentation Follow the three steps of Trouble Shooting carefully. Write down the single steps and all useful informations into the work-sheet. Please show your result first to the instructor before removing the error!!!!! Please ask your instructor for copies of this work-sheets!!!
Order of Maintenance Name: Location of Error: Error Detection Order-No: Date: Sheet:

Error Limitation MECHANICAL:

ELECTRICAL

PNEUMATICAL

Error Elimination REASON

Festo Didactic GmbH & Co. MPS

171

Trouble Shooting

Controll After error elimination, please check the process again step-by-step carefully, there might be another error within the system.

172

Festo Didactic GmbH & Co. MPS

Vous aimerez peut-être aussi