Sie sind auf Seite 1von 22

MPS Programme Laden Loading MPS programs

DE/EN 08/03

Stand/Status: Autor/Author: Layout/Layout:

08/2003 Markus Bellenberg 08/2003

Festo Didactic GmbH & Co. KG, D-73770 Denkendorf, 2003 Internet: www.festo.com/didactic e-mail: did@festo.com Weitergabe sowie Vervielfltigung dieses Dokuments, Verwertung und Mitteilung seines Inhalts verboten, soweit nicht ausdrcklich gestattet. Zuwiderhandlungen verpflichten zu Schadenersatz. Alle Rechte vorbehalten, insbesondere das Recht, Patent-, Gebrauchsmuster- oder Geschmacksmusteranmeldungen durchzufhren. The copying, distribution and utilisation of this document as well as the communication of its contents to others without express authorisation is prohibited. Offenders will be held liable for the payment of damages. All rights reserved, in particular the right to carry out patent, utility model or ornamental design registration.

Festo Didactic GmbH & Co. KG

Inhalt

1.1 1.2 1.2.1 1.2.2 1.3

Stationsnamen_________________________________________________ 4 SPS Programm laden ____________________________________________ 4 Siemens Steuerungen ___________________________________________ 4 Festo/Beck Steuerungen_________________________________________ 7 Roboter Programm laden _______________________________________ 12

Aktualisierungen _____________________________________________________ 12

Festo Didactic GmbH & Co. KG

1.1 Stationsnamen

Die Stationsnamen wurden in den Projekten wie folgt abgekrzt: 1VE MPS-Station Verteilen 2PR MPS-Station Prfen 3BE MPS-Station Bearbeiten 4HA MPS-Station Handhaben (Pic-Alfa) 5PU MPS-Station Puffern 6MO MPS-Station Montieren 7SO MPS-Station Sortieren 8HS MPS-Station Stanzen (Hydaulische Stanze) 1.2.1 Siemens Steuerungen Steuerung: Siemens S7-313C, S7-313C-2DP, S7-314 oder S7-315-2DP Programmiersoftware: Siemens STEP7 Version 5.1 oder hher 1. 2. 3. 4. 5. PC und Steuerung mit dem RS232-Programmierkabel mit PC-Adapter verbinden Netzgert einschalten Druckluftversorgung einschalten NOT-AUS Taster entriegeln (falls vorhanden) SPS Speicher urlschen: Schalten Sie die Versorgungsspannung ein und warten Sie, bis die SPS ihre Prfroutinen beendet hat. Drehen Sie den Schlsselschalter auf MRES und halten Sie ihn dort fest, bis die STOP-LED aufhrt zu blinken und dauernd leuchtet. Drehen Sie den Schlsselschalter auf STOP und sofort wieder auf MRES und halten Sie ihn dort erneut fest. Die STOP-LED beginnt schnell zu blinken. Sobald die STOP-LED aufhrt schnell zu blinken ist die SPS urgelscht. Sie knnen den Schlsselschalter loslassen. Er geht dabei selbstttig in die STOP Stellung. Die SPS ist urgelscht und zum Laden der Programme bereit. 6. CPU Schalter in Position STOP 7. Starten Sie die Programmiersoftware

1.2 SPS Programm laden

Festo Didactic GmbH & Co. KG

8. Dearchivieren Sie abhngig von der eingesetzten Steuerung die Datei 31x.zip im Verzeichnis Quellen\SPS Programme\Release C\S7 der mitgelieferten CD-ROM

Datei Dearchivieren Archiv auswhlen (CD ROM: Quellen\SPS Programme\Release C\S7) 31x.zip ffnen Zielverzeichnis auswhlen OK Dearchivieren: Die dearchivierten Daten wurden im Projektverzeichnis abgelegt. OK Dearchivieren: Die folgenden Objekte wurden dearchiviert. Sollen diese jetzt geffnet werden? Ja

9. Whlen Sie das entsprechende Projekt in der Sprache AS oder KFA aus (AS = Ablaufsprache, KFA = KOP/FUP/AWL)

Festo Didactic GmbH & Co. KG

10. Laden Sie das Projekt in die Steuerung

Zielsystem

Laden

Folgen Sie den Anweisungen auf dem Bildschirm

11. SPS Schalter in Position RUN

Festo Didactic GmbH & Co. KG

1.2.2 Festo/Beck Steuerungen Steuerung: Festo/Beck FEC FC640, IPC CPU HC02, IPC CPU HC20 Programmiersoftware: Festo FST Version 4.02 oder Klpper und Wiege MULTIPROG wt Version 2.01 Festo FST Version 4.02 1. 2. 3. 4. 5. 6. PC und Steuerung mit dem Programmierkabel TTL-RS232 verbinden Netzgert einschalten Druckluftversorgung einschalten NOT-AUS Taster entriegeln (falls vorhanden) Starten Sie die Programmiersoftware Dearchivieren Sie die Datei xxx_FEC.zip (entsprechend Ihrer Station) im Verzeichnis Quellen\SPS Programme\Release C\FEC\FST der mitgelieferten CDROM

Projekt Dearchivieren ffnen (CD ROM: Quellen\SPS Programme\Release C\FEC\FST) xxx_FEC.zip ffnen Projekt dearchivieren, Name: xxx_FEC OK

Festo Didactic GmbH & Co. KG

7. Kompilieren Sie das Projekt

Projekt

Alles bersetzen

8. Laden Sie das Projekt in die Steuerung

Online

Projekt laden

Folgen Sie den Anweisungen auf dem Bildschirm

Festo Didactic GmbH & Co. KG

Klpper und Wiege MULTIPROG wt Version 2.01 1. 2. 3. 4. PC und Steuerung mit dem Programmierkabel TTL-RS232 verbinden Netzgert einschalten Druckluftversorgung einschalten NOT-AUS Taster entriegeln (falls vorhanden)

Hinweis Wenn Sie die Steuerungen Festo/Beck IPC CPU HC02 oder IPC CPU HC20 einsetzen, mssen Sie zuerst die I/O Konfiguration in die Steuerung laden. Gehen Sie hierzu wie folgt vor: 5. Starten Sie die Software Transfer Tool 6. ffnen Sie die Datei MPSHCxx.mpr im Verzeichnis Quellen\SPS Programme\Release C\IpcHCxx\MWT\IOConfig der mitgelieferten CD-ROM

File Open Datei ffnen (CD ROM: Quellen\SPS Programme\Release C\IpcHCxx\MWT\IOConfig, Dateityp: *.mpr) MPSHCxx.mpr. Markieren Sie den Eintrag Board1 (Node 1). Klicken Sie mit der rechten Maustaste und whlen Sie Connect over COM. Whlen Sie Connect Speed 38.400 kB/s.

7. Schalten Sie zum Reboot den IPC aus und wieder ein

Markieren Sie alle Dateien im oberen Fenster. Klicken Sie mit der rechten Maustaste und whlen Sie Send file.

Festo Didactic GmbH & Co. KG

Die I/O Konfiguration ist bertragen.

8. Starten Sie die Programmiersoftware 9. Dearchivieren Sie die Datei xxx_FEC.zwt im Verzeichnis Quellen\SPS Programme\Release C\FEC\MWT der mitgelieferten CD-ROM

Datei Projekt ffnen/Projekt entpacken Projekt ffnen/entpacken (CD ROM: Quellen\SPS Programme\Release C\FEC\MWT), Dateityp: Gepackte Projektdateien (*.zwt) xxx_FEC.zwt Entpacken folgenden Meldungen Ja

Alle

10

Festo Didactic GmbH & Co. KG

10. Kompilieren Sie das Projekt

Code

Projekt neu erzeugen

11. Laden Sie das Projekt in die Steuerung

Online

Ressourcekontrolle

Senden

Folgen Sie den Anweisungen auf dem Bildschirm

Festo Didactic GmbH & Co. KG

11

1.3 Roboter Programm laden

Steuergert: MELFA CR1 Programmiersoftware: Cosirop, Cosimir Industrial oder Cosimir Professional 1. 2. 3. 4. 5. 6. 7. PC und Steuergert mit dem Programmierkabel verbinden Steuergert einschalten Netzgert einschalten Druckluftversorgung einschalten NOT-AUS Taster entriegeln Starten Sie die Roboter Programmiersoftware Es stehen 6 Programme zur Verfgung: 1.mb4: Montieren mit Roboter und Stanzen 2.mb4: Montieren mit Roboter 3.mb4: Mit Orientierung 4.mb4: Ohne Orientierung 5.mb4: Ohne Orientierung und ohne Positionsvariable 6.mb4: Ohne Orientierung, Positionsvariable und Unterprogramme

Laden Sie abhngig von den vorhandenen MPS Stationen das Programm aus dem Verzeichnis Quellen\Roboter Programme\RV-2AJ\... der mitgelieferten CDROM 8. Stellen Sie den MODE Schalter am Steuergert in die Position Auto (Ext) 9. Kompilieren Sie das Programm 10. Laden Sie das Programm und die Positionsliste in das Steuergert

Aktualisierungen

Aktuelle Informationen und Ergnzungen zur Technischen Dokumentation der MPS Stationen finden Sie im Internet unter der Adresse: http://www.festo.com/didactic Services > MPS > SPS Programme

12

Festo Didactic GmbH & Co. KG

Contents

1.1 1.2 1.2.1 1.2.2 1.3

Station names ________________________________________________ 14 Loading the PLC program _______________________________________ 14 Siemens controller_____________________________________________ 14 Festo/Beck controller __________________________________________ 17 Loading the robot program ______________________________________ 22 __________________________________________________________ 22

Updates

Festo Didactic GmbH & Co. KG 648818

13

1.1 Station names

The projects will show abbreviated station names as follows: 1VE MPS-Distributing station 2PR MPS-Testing station 3BE MPS-Processing station 4HA MPS-Handling station (Pic-Alfa) 5PU MPS-Buffer station 6MO MPS-Assembly station 7SO MPS-Sorting station 8HS MPS-Punching station 1.2.1 Siemens controller Controller: Siemens S7-313C, S7-313C-2DP, S7-314 or S7-315-2DP Programming software: Siemens STEP7 Version 5.1 or higher Connect PC and PLC using the RS232 programming cable with PC adapter Switch on power supply unit Switch on the compressed air supply Release the EMERGENCY-STOP pushbutton (if available) Overall reset PLC memory: Switch on the power supply unit and wait until the PLC has carried out its test routines. Turn the mode selector switch to MRES and keep the mode selector switch in this position until the STOP LED comes on for the second time and stays on. Let go of the mode selector switch to STOP. Immediately you must turn the mode selector switch back to MRES. The STOP LED starts to flash rapidly. You can let go of the mode selector switch. When the STOP LED comes on permanently the memory reset is completed. The PLC is ready for program download. 6. CPU switch in STOP position 7. Start the PLC programming software 1. 2. 3. 4. 5.

1.2 Loading the PLC program

14

Festo Didactic GmbH & Co. KG

8. Depending on your controller type, retrieve the file 31x.zip from the directory Sources\PLC Programs\Release C\S7 of the CD-ROM supplied

File Retrieve Select an archive (CD ROM: Sources\PLC Programs\Release C\S7) 31x.ZIP Open Select destination directory OK Retrieving: The retrieved data were stored in the project directory. OK Retrieve: The following objects were retrieved. Do you want to open these now? Yes

9. Select the project xxx_AS or xxx_KFA (depending on your station) (AS = sequential function chart, KFA = Ladder diagram/Function block diagram/Instruction list)

Festo Didactic GmbH & Co. KG

15

10. Download the project to the controller

PLC

Download

Follow the instructions on the screen

11. Turn the mode selector switch of the CPU to RUN position

16

Festo Didactic GmbH & Co. KG

1.2.2 Festo/Beck controller Controller: Festo/Beck FEC FC640, IPC CPU HC02, IPC CPU HC20 Programming software: Festo FST Version 4.02 or Klpper und Wiege MULTIPROG wt Version 2.01 Festo FST Version 4.02 1. 2. 3. 4. 5. 6. Connect PC and PLC using the TTL-RS232 programming cable Switch on power supply unit Switch on the compressed air supply Release the EMERGENCY-STOP pushbutton (if available) Start the PLC programming software Restore the file xxx_FEC.zip from the directory Sources\PLC Programs\Release C\FEC\FST of the CD-ROM supplied

Project Restore Open (CD ROM: Sources\PLC Programs\Release C\FEC\FST) xxx_FEC.zip Open Project, Name: xxx_FEC OK

Restore

Festo Didactic GmbH & Co. KG

17

7. Compile the project

Project

Build Project

8. Download the project to the controller

Online

Download Projekt

Follow the instructions on the screen

18

Festo Didactic GmbH & Co. KG

Klpper und Wiege MULTIPROG wt Version 2.01 1. 2. 3. 4. Connect PC and PLC using the TTL-RS232 programming cable Switch on power supply unit Switch on the compressed air supply Release the EMERGENCY-STOP pushbutton (if available)

Note If you use the controllers Festo/Beck IPC CPU HC02 or IPC CPU HC20, you first have to download the I/O configuration to the controller. Please proceed as follows: 5. Start the software Transfer Tool 6. Open the file MPSHCxx.mpr in the directory Sources\PLC programs\Release C\IpcHCxx\MWT\IOConfig on the CD-ROM supplied

File Open Open file (CD ROM: Sources\PLC programs\Release C\IpcHCxx\MWT\IOConfig, file type: *.mpr) MPSHCxx.mpr. Select Board1 (Node 1). Click right and select Connect over COM. Select Connect Speed 38.400 kB/s.

7. For rebooting the IPC switch it off and on

Select all files in the upper window. Click right and select Send file.

Festo Didactic GmbH & Co. KG

19

The I/O configuration is downloaded

8. Start the PLC programming software 9. Unzip the project xxx_FEC.zwt from the directory Sources\PLC Programs\Release C\FEC\MWT of the CD-ROM supplied

File Open Projekt/Unzip Project Open/unzip project (CD ROM: Sources\PLC Programs\Release C\FEC\MWT), File type: Zipped project files (*.zwt) xxx_FEC.zwt Unzip All following requests Yes

20

Festo Didactic GmbH & Co. KG

10. Compile the project

Build

Rebuild Project

11. Download the project to the controller

Online

Resource Control

Send

Follow the instructions on the screen

Festo Didactic GmbH & Co. KG

21

1.3 Loading the robot program

Robot controller: MELFA CR1 Programming software: Cosimir Industrial 1. 2. 3. 4. 5. 6. 7. Connect PC and robot controller using the programming cable Switch on the robot controller Switch on the power supply unit Switch on the compressed air supply Release the EMERGENCY-STOP pushbutton Start the robot programming software 2 different programs are available: 1.mb4: Assembly with robot and Punching 2.mb4: Assembly with robot 3.mb4: with orientation 4.mb4: without orientation 5.mb4: without orientation, without position variables 6.mb4: without orientation, position variables and subroutines

Select a program depending on your MPS hardware and load the file from the directory Sources\Robot Programs\RV-2AJ\ of the CD-ROM supplied 8. Turn the MODE switch at the robot controller to position AUTO (Ext) 9. Compile the program 10. Download the program and the position list to the robot controller

Updates

Up-to-date information and additional documents for the Technical documentation of the MPS stations please find at the address: http://www.festo.com/didactic Services > MPS > PLC programs

22

Festo Didactic GmbH & Co. KG

Das könnte Ihnen auch gefallen