Beruflich Dokumente
Kultur Dokumente
Industrial 4.1
Anleitung
User’s Guide
685956 DE/EN
09/04
Order- No.: 685956
Edition: 09/2004
Author: IRF Dortmund
Layout: 08.09.2004, Festo Didactic GmbH & Co. KG
9. a) Die Lizenz wird für zehn Jahre erteilt. Das Recht zur vorzeitigen
Vertragsdauer und Kündigung aus wichtigem Grund bleibt unberührt. Als wichtiger
Kündigung Grund in diesem Sinne gilt insbesondere der Verstoß des
Lizenznehmers gegen die in Ziff. 2, 4 und 5 genannten
Verpflichtungen. Im Falle einer Kündigung aus wichtigem Grund wird
die Lizenzgebühr nicht erstattet, es sei denn, Festo hätte die
Kündigung zu vertreten; im letztgenannten Fall erfolgt eine anteilige
Erstattung der Lizenzgebühr unter Berücksichtigung der bisher vom
Lizenznehmer gezogenen Nutzung.
b) Wird das Nutzungsrecht durch den Lizenznehmer nicht mehr
ausgeübt oder ist der Vertrag durch Festo gekündigt worden, so ist
der Lizenznehmer verpflichtet, das in seinem Besitz befindliche SW-
Paket einschließlich der Dokumentation oder sonstiger Materialien
zu vernichten und die Vernichtung nachzuweisen oder kostenfrei an
Festo zurückzusenden.
Festo haftet in keiner Weise für die Resultate, die durch den Einsatz
dieser Software erhalten werden. Die Benutzer dieser Software sind
verantwortlich für die Überwachung, Handhabung und Kontrolle im
Zusammenhang mit dieser Software. Diese Verantwortlichkeit schließt
die Bestimmung der geeigneten Anwendung für diese Software und die
Wahl der Software und anderer Programme zur Erzielung der
beabsichtigten Ergebnisse ein. Die Benutzer dieser Software sind auch
verantwortlich für die Beurteilung der Adäquatheit unabhängiger
Verfahren zur Prüfung der Zuverlässigkeit und Genauigkeit aller mit
Hilfe dieser Software erhaltenen Resultate, einschließlich aller Daten,
die mit Hilfe der Software entwickelt wurden.
Präambel Dieser FESTO Lizenzvertrag für Schüler, Studenten und Lehrkräfte ist ein
rechtsgültiger Vertrag zwischen Ihnen und der Festo Didactic GmbH &
Co.KG. Sie müssen diesen Lizenzvertrag aufbewahren, um
nachzuweisen, dass Sie die Lizenzrechte von der Festo Didactic GmbH &
Co. KG erhalten haben. Durch die Benutzung der in diesem
Lizenzvertrag lizenzierten Softwareprodukte erklären Sie sich damit
einverstanden, an die Bestimmungen dieses Lizenzvertrages gebunden
zu sein. Falls Sie mit den Bestimmungen dieses Lizenzvertrages nicht
einverstanden sind, dürfen Sie die Software nicht benutzen. Für die
Zwecke dieses Lizenzvertrages bedeutet der Begriff „Software“ eines
der wie folgt bezeichneten Produkte:
• COSIMIR® Industrial
• COSIMIR® Professional
• COSIMIR® PLC
• COSIMIR® Control
1. Lizenzgewährung
Dieser Lizenzvertrag gewährt Ihnen das Recht entsprechend der
allgemeinen Lizenzbedingungen für Softwareprodukte von Festo die
Software zu benutzen, die jedem Softwareprodukt von Festo
beigefügt sind.
2. Die Nutzung der Software ist nur im Rahmen der Aus- und
Weiterbildung an Schulen, Volkshochschulen, staatlich anerkannten
Bildungseinrichtungen sowie im Rahmen von Forschung und Lehre
an Hochschulen und an Forschungseinrichtungen ohne
Gewinnerzielungsabsicht zulässig. Weitergabe, Vermieten,
Verleasen und Verleihen der Software sind nicht gestattet.
Festo behält sich das Recht zur Überprüfung vor. Verstöße gegen diese
Bedingungen sowie gegen den Festo Lizenzvertrag werden in jedem
Falle strafrechtlich und zivilrechtlich verfolgt.
1. Einleitung _________________________________________ 15
1.1 Das 3D-Simulationssystem COSIMIR® __________________ 15
1.2 Schreibweisen _____________________________________ 16
1.3 Systemanforderungen _______________________________ 17
1.4 Installationshinweise ________________________________ 17
2. Bedienung_________________________________________ 24
2.1 Bedienoberfläche ___________________________________ 24
2.2 Fenstertypen_______________________________________ 25
3. Modellierung ______________________________________ 28
3.1 Modellhierarchie ___________________________________ 28
3.2 Modellbibliotheken _________________________________ 29
3.3 Modell-Explorer ____________________________________ 30
3.4 Beispiel: Modellierung einer Arbeitszelle ________________ 32
3.5 Modellierung durch Import ___________________________ 38
4. Programmierung____________________________________ 39
4.1 Beispiel: Programmierung einer Arbeitszelle _____________ 39
5. Simulation_________________________________________ 47
5.1 Einstellungen ______________________________________ 47
5.2 Beispiel: Simulation einer Arbeitszelle __________________ 49
5.3 Kollisionserkennung_________________________________ 50
6. Mechanismen ______________________________________ 51
6.1 Greifer ____________________________________________ 52
6.2 Fließband _________________________________________ 53
6.3 Schubzylinder ______________________________________ 54
6.4 Drehzylinder _______________________________________ 55
6.5 Drehtisch__________________________________________ 56
6.6 Zwei-Wege-Schubzylinder ____________________________ 57
6.7 Umsetzer__________________________________________ 58
6.8 Teilezuführung _____________________________________ 59
6.9 Näherungssensor ___________________________________ 60
6.10 Replikator _________________________________________ 61
6.11 Papierkorb ________________________________________ 62
Der erste Teil dieser Anleitung für das Arbeiten mit COSIMIR® Industrial
ermöglicht Ihnen den schnellen Einstieg in die 3D-Simulation und
Offline – Programmierung von robotergestützten Arbeitszellen mit
Mitsubishi Robotersystemen.
Im zweiten Teil wird die Arbeit mit dem RCI Explorer (Robot Controller
Interface) beschrieben. Der RCI Explorer liefert komfortable
Kommunikationsschnittstelle zu den Mitsubishi Robotersystemen vom
Typ RV-A, RH-AH und RP-AH sowie den alten Systemen RV-EN, RV-E und
RV-M1.
Schreibweise Bedeutung
1.4 Zur Installation von COSIMIR® starten Sie bitte das Programm
Installationshinweise „SETUP.EXE“ auf der Installations-CD. Der Installationsassistent führt
Sie durch die Installation.
2.1
Bedienoberfläche
Ein-/Ausgänge Teach-Fenster
Symbolleiste
Statuszeile
Ansichtsfenster
Im Ansichtsfenster wird die geladene Arbeitszelle grafisch dargestellt.
Mit dem Befehl Neu im Menü Ansicht können Sie weitere
Ansichtsfenster der Arbeitszelle öffnen, um diese zu einer Zeit aus
verschiedenen Perspektiven zu betrachten.
Achskoordinaten
Das Fenster Achskoordinaten zeigt die Stellung der einzelnen
Roboterachsen an. Für rotatorische Achsen wird die Stellung in Grad
angezeigt, für translatorische Achsen in Millimeter. Ein Doppelklick auf
dieses Fenster öffnet die Dialogbox Achskoordinaten setzen.
Drücken Sie F7 oder verwenden Sie den Befehl Achskoordinaten
anzeigen aus Menü Extras Roboterposition, um das Fenster
Achskoordinaten zu öffnen.
Weltkoordinaten
Das Fenster Weltkoordinaten zeigt die Position und Orientierung des
Tool Center Points in Weltkoordinaten an. Neben der Position und
Orientierung wird auch die Konfiguration des Roboters in der untersten
Zeile des Fensters aufgezeichnet. Ein Doppelklick auf dieses Fenster
öffnet die Dialogbox Weltkoordinaten setzen.
Drücken Sie UMSCH+F7 oder verwenden Sie den Befehl
Weltkoordinaten anzeigen aus Menü Extras Roboterposition, um
das Fenster Weltkoordinaten zu öffnen.
Teach-In
Das Fenster Teach-In enthält neben der Bezeichnung der
Roboterachsen zwei kleine Schaltflächen, mit denen Sie die
einzelnen Achsen des Roboters verfahren können. Dabei wird
das Verhalten eines realen Roboters simuliert. Wenn Sie eine
Schaltfläche gedrückt halten, beschleunigt der Roboter auf die
eingestellte Verfahrgeschwindigkeit (Override), behält diese
dann konstant bei und bremst nach Loslassen mit einer
Bremsrampe auf die Geschwindigkeit 0 ab.
Durch Anklicken der entsprechenden Auswahl kann das Teach-
In ebenso in Weltkoordinaten sowie in Werkzeugkoordinaten
erfolgen.
Drücken Sie F8 oder verwenden Sie den Befehl Teach-In aus
Menü Extras, um das Fenster Teach-In zu öffnen.
Ein-/Ausgänge
Das Fenster Ein-/Ausgänge zeigt, welche Signale an den
Ein/Ausgängen der simulierten Steuerung anliegen. 0-Signale
werden in roter Farbe, 1-Signale in grüner Farbe angezeigt.
Wenn das Eingangssignal erzwungen ist, wird dies dadurch
angezeigt, dass der Eingangswert in spitze Klammern
eingeschlossen ist, z. B. <1>. Wenn der Eingang mit einem
Ausgang verknüpft ist, wird der Eingangswert in eckige
Klammern, z. B. [1], eingeschlossen.
Drücken Sie F9 bzw. STRG+F9 oder verwenden Sie die Befehle
Ein-/Ausgänge anzeigen aus Menü Extras Ein-/Ausgänge
um das Fenster Eingänge bzw. Ausgänge zu öffnen.
Steuerungsauswahl
Dieses Fenster dient zur Anzeige und Auswahl des Masters und zur
Aktivierung/Deaktivierung einzelner Steuerungen. Die Anzeige von
Roboterpositionen, die Anzeige von Ein-/Ausgängen sowie das Teach-In
erfolgen stets für einen ausgezeichneten Roboter, dem Master
gekennzeichnet ist. Öffnen Sie das Fenster Steuerungsauswahl über
den Befehl Steuerungsauswahl im Menü Ausführen.
Roboterprogramm
Dieses Fenster enthält ein Hochsprachenroboterprogramm in der
nativen Programmiersprache des entsprechenden Roboters. Der Name
des zugehörigen Objektes ist in der Titelzeile angegeben.
Öffnen Sie ein Roboterprogramm über den Befehl Öffnen im Menü Datei
oder legen Sie ein neues Programm mit dem Befehl Neu im Menü Datei
an.
Positionsliste
Dieses Fenster enthält eine Positionsliste für einen Roboter. Der Name
des zugehörigen Objektes ist in der Titelzeile angegeben.
Öffnen Sie eine Positionsliste über den Befehl Öffnen im Menü Datei
oder legen Sie eine neue Positionsliste mit dem Befehl Neu im Menü
Datei an.
Bediener Ein-/Ausgabe
Das Fenster Bediener-Ein-/Ausgabe öffnet sich selbsttätig, wenn ein
Roboterprogramm Befehle enthält, mit denen Daten z. B. über die
serielle Schnittstelle der Robotersteuerung eingelesen oder ausgeben
werden sollen.
Da in der Simulation die Robotersteuerung lediglich nachgebildet ist,
werden die Daten nicht über die serielle Schnittstelle, sondern im
Fenster Bediener-Ein-/Ausgabe ausgegeben oder von dort eingelesen.
Objekte
Die oberste Einheit in der Elementestruktur sind die Objekte.
Beispiel: Ein Roboter ist ein Objekt.
Gruppen
Die Gruppen sind Objekten zugeordnet. Jede Gruppe kann einen
Freiheitsgrad besitzen und ist somit gegenüber der vorherigen Gruppe
beweglich.
Beispiel: Die Achse eines Roboters ist eine Gruppe.
Komponenten
Die Komponenten sind Gruppen zugeordnet und bestimmen die
grafische Darstellung.
Beispiel: Eine Fläche, ein Quader oder Polyeder sind Komponenten.
Greiferpunkte
Damit ein Objekt ein anderes Objekt greifen kann, wird einer Gruppe
des greifenden Objektes ein Greiferpunkt zugeordnet.
Beispiel: Am Flansch der sechsten Achse eines Roboters befindet sich
ein Greiferpunkt.
Greifpunkte
Um von einem anderen Objekt gegriffen werden zu können, wird einer
Gruppe des zu greifenden Objektes ein Greifpunkt zugeordnet.
Beispiel: Ein Werkstück, das gegriffen wird, besitzt einen Greifpunkt.
Symbolleiste
3.3 Mittels des Modell-Explorers kann auf alle Elemente einer Arbeitszelle
Modell-Explorer zugegriffen werden. Dies gilt neben den Objekten und unterlagerten
Elementen auch für Materialien, Bibliotheken,
Beleuchtungseinstellungen und alle E/A-Verknüpfungen.
Navigationsbaum Elementeliste
Symbolleiste
Als nächstes Objekt fügen Sie der Arbeitszelle einen Quader aus der
Modellbibliothek „Verschiedene Grundkörper“ hinzu.
Bearbeiten Sie die Elementeigenschaften im Dialogfeld
Objekteigenschaften wie folgt:
Position (x,y,z): 200 mm, -150 mm, 0 mm
Größe (x,y,z): 200 mm, 300 mm, 250 mm
Darstellung: Dunkelblau
Kopieren Sie das Objekt Tisch, indem Sie STRG+C bei markiertem Objekt
Tisch im Modell-Explorer drücken. Markieren Sie den Ordner Objekte,
und drücken Sie STRG+V, um die Kopie des Tisches einzufügen.
Benennen Sie den kopierten „Tisch“ in „Werkstück“ um, und bearbeiten
Sie die Eigenschaften:
Position (x,y,z): 275 mm, 0 mm, 250 mm
Größe (x,y,z): 50 mm, 50 mm, 50 mm
Darstellung: Rot
Fügen Sie dem Werkstück einen Greifpunkt hinzu, indem Sie das
Kontextmenü durch Drücken der rechten Maustaste bei markierter
Gruppe Basis des Werkstücks im Modell-Explorer öffnen und den
Kontextmenübefehl Neu/Greifpunkt wählen.
Benennen Sie den Greifpunkt nach „Werkstück“ um. Die Position und
Orientierung des Greifpunktes innerhalb der Gruppe geben Sie im
Dialogfeld Greifpunkteigenschaften an:
Position (x,y,z): 25 mm, 25 mm, 25 mm
Orientierung (r,p,y): 180°, 0°, 180°
Zum Import wählen Sie die Menüfunktion Datei -> Importieren. Nach
dem Import von Fremdformaten müssen Sie im allgemeinen das
Geometriemodell entsprechend der Modellhierarchie von COSIMIR®
anpassen.
4.1 In diesem Beispiel wird ein Bewegungsprogramm für den Roboter aus
Beispiel: Programmierung der Arbeitszelle entwickelt, die im vorherigen Kapitel modelliert wurde.
einer Arbeitszelle
Öffnen Sie mit dem Befehl Öffnen aus dem Menü Datei die Beispiel-
Arbeitszelle aus dem vorherigen Kapitel.
Legen Sie eine neue MRL-Positionsliste für den Roboter an, indem Sie
den Befehl Neu aus Menü Datei wählen und im Dialogfeld Neu den
Eintrag MRL-Positionsliste auswählen.
Das Dialogfeld Neu erreichen Sie auch über die Schaltfläche in der
Symbolleiste oder über die Tastenkombination STRG+N.
Schließen Sie den Modell-Explorer und das Dialogfeld
Elementeigenschaften.
Verfahren Sie den Roboter an die Position „P2“, indem Sie einen
Doppelklick auf die Position ausführen. Greifen Sie das Werkstück mit
dem Roboter durch Drücken von Greifer Schließen im Fenster Teach-In.
Wählen Sie Weltkoordinaten, und drücken Sie auf die Taste für
Bewegung in negative Y-Richtung. Der Roboter bewegt das Werkstück
über den Tisch. Speichern Sie die neue Position in der Positionsliste,
indem Sie den letzten neuen Eintrag markieren und STRG+F2 drücken.
Legen Sie mit Befehl Neu aus Menü Datei ein neues MELFA Basic IV-
Programm an, und pro grammieren Sie eine einfache Pick and Place-
Aufgabe mit den Positionen aus der Positionsliste.
Beachten Sie, dass Sie den richtigen Index für den Ausgang aus dem
Modell verwenden, der mit dem Greifer verbunden ist.
Die Vorpunkte für die Auf- und Ablagepositionen sollen relativ
angefahren werden.
Achten Sie auf den Zeilenumbruch nach der letzten Zeile.Nach der
Programmierung speichern Sie das Programm unter dem Namen
„Mitsubishi.mb4“
5.3 Mit der Kollisionserkennung können Sie Ihre Applikation auf Kollisionen
Kollisionserkennung überprüfen. Sie haben dazu die Möglichkeit einzelne Objekte zur
Überprüfung auszuwählen.
Beispiel
Objekt Modellbibliothek
6.2 Befindet sich über einem Fließband-Objekt ein weiteres Objekt, das
Fließband einen freien Greifpunkt im Greifbereich der aktiven Fläche(n) des
Fließband-Objektes besitzt, so wird es mit der konfigurierten
Transportgeschwindigkeit entlang des Fließbandes bewegt, sofern der
System-Eingang 0 des Fließbandes gleich 1 ist. Wurde ein Objekt bis an
das Ende einer aktiven Fläche des Fließbandes bewegt, so wird der
System-Ausgang 0 auf 1 gesetzt.
Beispiel
Objekt Modellbibliothek
Beispiel
Objekt Modellbibliothek
1 Drehzylinder ist in
Endposition
Beispiel
Objekt Modellbibliothek
Verschiedene Mechanismen
Beispiel
Objekt Modellbibliothek
Beispiel
Objekt Modellbibliothek
6.7 Dieser Umsetzer besitzt einen Sauger, der wie ein Greifer wirkt und der
Umsetzer über die System-Eingänge 2 und 3 gesteuert werden kann. Die Position
wird über die System-Eingänge 0 und 1 vorgegeben.
0 Nicht Greifen
0 Nicht loslassen
Beispiel
Objekt Modellbibliothek
0 –
Beispiel
Objekt Modellbibliothek
1 Greifpunkt detektiert
Beispiel
Objekt Modellbibliothek
6.10 Der Mechanismus Replikator dient der gezielten Erzeugung von neuen
Replikator Objekten auf Basis von Templates. In den erweiterten Eigenschaften des
Replikator-Objekts werden den vorhandenen System-Eingängen die
entsprechenden Templates zur Erzeugung der Objekte zugeordnet
(Beispiel: template0 = „Würfel“). Wird ein System-Eingang auf 1
gesetzt, wird ein neues Objekt basierend auf dem zugeordneten
Template an der Position des Greiferpunkts des Replikator-Objektes
erzeugt.
0 –
0 –
0 –
Beispiel
Objekt Modellbibliothek
0 –
0 –
0 –
Beispiel
Objekt Modellbibliothek
Das Verzeichnis, das für dieses Projekt verwendet wird, wird unter
Verzeichnis angezeigt. Wenn Sie dieses ändern oder ein neues
Verzeichnis erstellen wollen, betätigen Sie die Schaltfläche
Durchsuchen..., wodurch der Projektverzeichnis wählen-Dialog geöffnet
wird.
Wählen Sie jetzt den Robotertyp, für den Sie Programme schreiben
wollen, aus der Liste Roboterauswahl. Anschließend legen Sie die Zahl
der E/A-Karten (diese Eingabe wird nur für den E/A-Monitor benötigt),
die Anzahl der Hände (diese Eingabe wird nur für das Öffnen und
Schließen der Hände im Online Teach-In benötigt), die Zusatzachsen
und deren Typen (erforderlich für das Online Teach-In) sowie die
Programmiersprache, deren Wahl zum Öffnen des korrekten
Programmfensters unerlässlich ist. Eine Wahlmöglichkeit zwischen
verschiedenen Programmiersprachen steht für die Roboter der A-Serie
(RV-A, RH-AH und RP-AH) und der RV-EN-Serie zur Verfügung. Die
Roboter der RV-E-Serie können nur in Movemaster Command (MRL)
programmiert werden.
7.2 Haben Sie ein Projekt oder eine Arbeitszelle geöffnet, so ist der RCI-
Wie Sie allzeit den Explorer die zentrale Anlaufstelle für jegliche Art von
Überblick mit dem RCI- Informationsaustausch mit dem Roboter. Er gibt Ihnen jederzeit eine
Explorer behalten Übersicht des aktuellen Zustands des Roboters und ermöglicht es auf
einfache Art und Weise Programme und Positionen mit dem Roboter
auszutauschen, zu starten und deren Ablauf zu verfolgen.
In Ihrem RCI-Explorer befinden sich stets zwei Ordner. Ein Ordner mit
dem Namen des konfigurierten Roboters. In diesem Beispiel wird der
"RH-5AH55" verwendet. Dieser Roboterordner enthält alle Daten, die
sich auf der Robotersteuerung befinden. Der zweite Ordner heißt
Arbeitsplatz und enthält alle Daten, die sich auf dem PC befinden, auf
dem COSIMIR® Industrial gerade verwendet wird.
7.3 Lesen und beachten Sie die Sicherheitshinweise aus dem SAFETY
Wie Sie eine Verbindung MANUAL genau, bevor Sie mit dem Roboter arbeiten!
zur Robotersteuerung
herstellen Bevor Sie mit der Robotersteuerung Daten austauschen können,
müssen Sie eine Verbindung zur Robotersteuerung herstellen. Dazu
sind die folgenden Schritte notwendig:
1. Verbinden Sie eine serielle Schnittstelle des COSIMIR® Industrial -
PCs mit der RS-232-Schnittstelle der Robotersteuerung. Überzeugen
Sie sich, dass das verwendete Schnittstellenkabel auch die
Hardware-Handshake-Signale (DTR, RTS, CTS) verbindet. Genaueres
finden Sie im Roboterhandbuch
4. Wählen Sie die richtige serielle Schnittstelle des PCs und die
korrekten Übertragungsparameter. Nehmen Sie die Einstellungen
auf der Registerkarte Kommunikationsschnittstelle/Serielle
Schnittstelle vor.
7.5 Erstellen Sie jetzt Ihr erstes Roboterprogramm. Aktivieren Sie das
Wie Sie ein Fenster mit dem Roboterprogramm indem Sie in das Fenster klicken
Roboterprogramm oder das Fenster mit dem Befehl Fenster/1,2,3... auswählen. Jetzt
erstellen können Sie das Programm beliebig mit der Tastatur und der Maus
bearbeiten.
Zur genauen Syntaxbeschreibung eines Befehls steht Ihnen die Online-
Hilfe durch Betätigung der F1-Taste zur Verfügung. Hierdurch wird
kontextsensitive Hilfe zu dem Schlüsselwort angezeigt, in dem die
Einfügemarke steht. Weiterhin finden Sie im Reference Manual oder
dem Instruction Manual eine genaue Beschreibung.
Ein einfaches Roboterprogramm in MELFA-BASIC IV könnte z.B. so
aussehen:
Lassen Sie sich die kontextsensitive Hilfe zum Befehl OVRD anzeigen,
indem Sie die Einfügemarke auf dem Befehl OVRD positionieren und die
F1-Taste drücken.
Um ein Programm sequentiell zu nummerieren, steht der Befehl
Bearbeiten Renumber zur Verfügung. Dieser Befehl kann genutzt
werden, um entweder das gesamte Programm (in diesem Fall darf im
Programm nichts selektiert sein) oder nur den selektierten Bereich von
Programmzeilen neu zu nummerieren.
7.6
Wie Sie eine
Positionsliste mit dem
Roboter erstellen
Sie können das Fenster Online Teach-In auch mit dem Befehl Ausführen
Online Teach-In öffnen. Mit diesem Fenster können Sie den Roboter
in Achs-, Welt- und Werkzeugkoordinaten verfahren. Verwenden Sie die
Schaltfläche Position übernehmen, um die aktuelle Roboterposition in
die Positionsliste unter der Nummer Pos.-Nr. zu übernehmen. Um einen
bestehenden Positionseintrag zu überschreiben, brauchen Sie dessen
Nummer nur in das Textfeld Pos.-Nr. einzutragen. Setzen Sie für das
Teach-In die Parameter Geschwindigkeit und Inkrement auf passende
Werte.
Erfahren Sie als nächstes, wie Sie die Syntax Ihres Programms
überprüfen können.
Laden Sie jetzt Ihr Programm und Ihre Positionsliste auf die
Robotersteuerung herunter.
Tritt bei der Ausführung des Zeilenlöschens ein Fehler auf, dann löschen
Sie das Programm bitte manuell. Das Löschen von Programmen erfolgt
sehr einfach mit dem RCI-Explorer. Gehen Sie dazu auf den
Programmordner in ihrem Roboterordner. Selektieren Sie das
Programm, das Sie löschen wollen und öffnen Sie mit der rechten
Maustaste das Kontextmenü. Wählen Sie das Kommando Löschen.
Sie können den Download aber auch wie im folgenden Bild über das
Kontextmenü zur Positionsliste 3.POS starten. Das Kontextmenü öffnen
Sie, indem Sie auf dem Positionslistennamen die rechte Maustaste
betätigen. Wählen Sie im Kontextmenü die Anweisung Download aus.
In jedem Fall wird der Dialog Up- und Download angezeigt. In den
meisten Fällen können Sie die Standardvorgabe verwenden und jeweils
alle Positionen herunterladen. Dazu muss die Auswahl Alle Positionen
selektiert sein. Wenn Sie nur einen speziellen Positionsbereich
herunterladen wollen, so schalten Sie die Auswahl Alle Positionen ab
und geben Sie Werte für Von Position und Bis Position (für MELFA-BASIC
III und IV beliebige Werte, ansonsten Werte zwischen 1 und 999, für RV-
M1 zwischen 1 und 629) ein.
Vor dem Download wird der angegebene Positionsbereich gelöscht. Bei
MELFA-BASIC IV werden die alten Positionen vor dem Download nicht
gelöscht.
Außerdem können Sie auch einen anderen "Namen" eingeben. Als
Standardvorgabe wird der Name der Positionsliste verwendet.
Wenn Sie einen anderen Namen vergeben wollen, dann achten Sie
darauf, dass Sie hier den gleichen Namen benutzen, den Sie auch für
das Programm verwendet haben.
Die zur Robotersteuerung heruntergespielten Programme lassen sich
auch sehr einfach wieder auf den PC laden.
7.9
Wie Sie Programme direkt
am Roboter testen
Der Debugger öffnet sich mit dem ausgewählten Programm. Setzen Sie
zunächst die aktuelle Zeile auf die erste Programmzeile. Selektieren Sie
dazu die erste Programmzeile. Legen Sie die ausgewählte Zeile als
aktuelle Zeile fest, indem Sie auf das im Bild gezeigte Symbol klicken.
Ein grüner Pfeil markiert die Zeile, die als nächstes vom Roboter
ausgeführt wird. Ergänzen Sie durch Doppelklick auf die
entsprechenden Programmzeilen Haltepunkte (sogenannte
Breakpoints) an den Stellen, an denen die Steuerung die
Programmbearbeitung unterbrechen soll. Starten Sie das Programm mit
Breakpoint-Überwachung, indem Sie auf das im Bild gezeigte Symbol
klicken.
Wenn Sie das Debuggen beenden wollen, schließen Sie den Debugger.
Eine Möglichkeit, den Debugger zu schließen, besteht darin, auf das im
Bild gezeigte Symbol zu klicken.
7.10 Programme lassen sich sehr einfach mit dem RCI-Explorer starten.
Wie Sie Programme Öffnen Sie dazu den Ordner Programme unterhalb des Roboterordners,
starten und stoppen klicken Sie mit der rechten Maustaste auf das Programm, das Sie
starten wollen und selektieren Sie im Kontextmenü den Eintrag Start
(CYC) oder Start (REP).
7.11 Roboter der A-Serie (RV-A, RH-AH, RP-AH) verfügen über mehrere
Wie Sie Programme in sogenannte Slots, in denen jeweils ein Programm ablaufen kann, so
einen speziellen Slot dass mehrere Programme parallel ausgeführt werden können. Dies
laden bezeichnet man als Multitasking. Roboter der Serien RV-E und RV-EN
haben jeweils nur einen Ausführungsslot. Mit Ihnen ist kein
Multitasking möglich. Bei Robotern der A-Serie können Sie das
Programm in jedem beliebigen Slot ausführen. Standardmäßig wird ein
Programm jedoch stets in Slot 1 ausgeführt. Um ein Programm in einem
anderen Slot auszuführen, müssen Sie das Programm explizit in den von
Ihnen gewünschten Slot laden.
Öffnen Sie zunächst den Ordner Slots. Wenn Ihr Programm 3 bereits in
einem Slot (z. B. Slot 1) geladen ist, dann führen Sie einen Reset durch.
Benutzen Sie dazu das Kontextmenu des Ordners Slots und wählen Sie
dort den Befehl Reset.
Überprüfen Sie die Syntax des aktualisierten Programms und führen Sie
einen Download mit Ihrem aktualisierten Programm aus. Überprüfen Sie
gegebenenfalls die Funktionalität des Programms mit dem Debugger.
Anschließend laden Sie das aktualisierte Programm in Slot 5. Klicken
Sie dazu mit der rechten Maustaste auf den Programmnamen im Ordner
Programme unterhalb Ihres Roboterordners. Wählen Sie Laden in
Slot 5. Das Programm wird in Slot 5 geladen.
Öffnen Sie anschließend den Ordner Slots. Das Programm in Slot 5 kann
jetzt über das Kontextmenü gestartet werden.
7.12 Beobachten Sie den Ablauf von Programmen, indem Sie das
Wie Sie Programme Kontextmenü zu einem Slot mit der rechten Maustaste öffnen und den
beobachten Befehl Ablauf verfolgen auswählen.
Starten Sie den Monitor durch Drücken auf EIN und beobachten Sie, wie
sich der Wert von MCOUNT verändert.
Durch Doppelklicken auf die Variable öffnen Sie den Dialog Wert
setzen. Benutzen Sie diesen, um den Wert der Variablen MCOUNT zu
verändern. Beobachten Sie die Veränderung im Variablen-Monitor.
7.14 Starten Sie erneut Ihr Beispielprogramm und öffnen einige der
Wie Sie Roboterzustände Monitore. Doppelklicken Sie dazu auf den Monitor, den Sie öffnen
beobachten wollen im Ordner Monitore.
Stoppen Sie das Programm und erfahren Sie anschließend, wie Sie
Befehle direkt an den Roboter senden.
7.15
Wie Sie Befehle an den
Roboter senden
Sie können die Befehlsliste auch alternativ mit dem Befehl Bearbeiten
Befehlsliste öffnen. Mit dieser Dialogbox können Sie sowohl Befehle
direkt zum Roboter senden, als auch Befehle in ein Roboterprogramm
einfügen.
Die Befehlsliste stellt eine nach Gruppen geordnete Liste von Befehlen
und eine kurze Syntaxbeschreibung des aktuellen Befehls bereit. Mit
der Schaltfläche Roboter oder der RETURN-Taste können Sie den
aktuellen Befehl an den Roboter senden. Den Befehl können Sie
entweder aus der Liste auswählen oder über die Tastatur eingeben. Die
Befehlsliste speichert die letzten 20 Befehle. Um diese anzuzeigen,
wählen Sie die Befehlsgruppe Letzte Befehle.
Hin und wieder ist es erforderlich, dass Sie spezielle Einstellungen des
Roboters verändern. Erfahren Sie, wie Sie die Parameter des Roboters
ändern.
7.16 Selektieren Sie den Ordner Parameter. Wenn Sie mit einem Roboter der
Wie Sie Parameter ändern A-Serie (RV-A, RH-AH, RP-AH) arbeiten, dann wird zunächst die Liste
aller Parameter vom Roboter angefordert. Diese Liste wird nur einmal zu
Ihrem PC übertragen und steht anschließend für alle weiteren Projekte
bereit. Zum Ändern eines Parameters klicken Sie einfach doppelt auf
den gewünschten Parameter.
Übernehmen Sie den neuen Wert mit OK. Im Beispiel schalten Sie das
akustische Signal ab, das bei einem Fehler auftritt.
Ändern Sie den Parameter aus dem Beispiel wieder auf 1, schalten Sie
die Robotersteuerung erneut aus und wieder ein, und stellen Sie den
Modus am Schlüsselschalter auf Auto(Ext.) zurück.
Erfahren Sie anschließend, wie Sie die letzten Fehlermeldungen
auslesen.
7.17 Zur Überprüfung der letzten Fehler gehen Sie auf den Ordner
Wie Sie die letzten Fehlerliste. Die Liste, der letzten Fehler wird daraufhin vom Roboter
Fehler überprüfen abgefragt.
Den Grund für einen aktuell anliegenden Fehler können Sie über das
Kontextmenü des Roboterordners ermitteln. Wählen Sie Aktueller
Alarm/Fehler:
Sie können einen aktuellen Fehler auch über den Befehl Aktueller
Alarm/Fehler im Menü Ausführen ermitteln.
Wenn Sie den Fehlerdialog mit OK schließen, wird der aktuelle Fehler
zurückgesetzt.
Erfahren Sie als nächstes, wie Sie einen Komplettbackup Ihrer
Steuerung erstellen.
Es erscheint ein Dialog mit dem Sie einen Ordner auswählen, in dem das
Backup erstellt wird. Wählen Sie einen leeren Ordner aus, damit keine
Dateien auf Ihrem PC überschrieben werden und damit sich in Ihrem
Ordner nur Dateien von der Robotersteuerung befinden. Der Backup
kann einige Minuten dauern, insbesondere, wenn Sie über eine
langsame RS232-Verbindung mit Ihrem Roboter verbunden sind und
sich viele Programme auf Ihrer Robotersteuerung befinden.
Taste Belegung
STRG+L Öffnet die Dialogbox Betrachterpunkt.
PLUSTASTE Aktiviert den Befehl Zoom-In. Dieser
vergrößert die Ansicht um einen festgelegten
Wert.
MINUSTASTE Aktiviert den Befehl Zoom-Out. Dieser
verkleinert die Ansicht um einen
festgelegten Wert.
O Aktiviert den Befehl Voreinstellung.
V Aktiviert den Befehl Vorderansicht.
U Aktiviert den Befehl Rückansicht.
A Aktiviert den Befehl Aufsicht.
L Aktiviert den Befehl Linke Seitenansicht.
R Aktiviert den Befehl Rechte Seitenansicht.
F Aktiviert den Befehl Formatfüllend.
F11 Schaltet auf Drahtrahmendarstellung um.
UMSCHALT+F11 Schaltet auf eine Darstellung mit gefüllten
Flächen um.
STRG+F11 Schaltet auf eine flach schattierte
Darstellung um.
UMSCHALT+STRG+F11 Schaltet auf eine weich schattierte
Darstellung um.
STRG+D Öffnet die Dialogbox Darstellung. Dort
können Sie die Darstellungsqualität und
Darstellungsgeschwindigkeit einstellen.
Taste Belegung
STRG+BILD HOCH Setzt den Programm-Schrittzeiger auf den
Programmanfang zurück.
STRG+Q Startet ein Roboterprogramm im Ablauf
beginnend mit dem aktuellen Schritt.
STRG+Y Startet ein Roboterprogramm im zyklischen
Ablauf beginnend mit dem aktuellen Schritt.
STRG+S Stoppt ein laufendes Programm.
Proprietary rights and The product contains data-processing programs and the associated
scope of use product descriptions. These in their entirety are referred to below as the
software package. Festo or third parties hold proprietary rights in
respect of these software packages. Festo has acquired the appropriate
licenses where these rights are held by third parties. Festo grants the
purchaser a license for use under the following conditions:
3. The purchaser may transfer his license to a third party as a whole to the
Transfer of license extent of and with the restrictions on the conditions specified in clauses
1 and 2. The third party must be made expressly aware of these
conditions. On transfer, the seller looses all rights to use the package,
including all copies, edited versions and associated programs. These
shall be destroyed if they are not transferred to the third party.
Export of the software When exporting the software package, the licensee shall comply with
package the export regulations of the Federal Republic of Germany and the
country in which the software package was acquired.
Liability/Limitations 1. Claims for damages on the part of the licensee, and in particular
of liability liability for consequential losses, are excluded, whatever the legal
grounds; this applies for all claims relating to im-practicality, non-
fulfilment, positive breach of contract, tort and default.
2. Furthermore, Festo is not liable for inadequate economic results, or
for losses incurred by or claimed by third parties, with the exception
of claims arising from infringement of a third party’s proprietary
rights.
3. The limitations on liability specified in paragraphs 1 and 2 do not
apply in cases of malice or gross negligence, or the absence of
guaranteed features where compulsory liability applies. In cases of
this nature, Festo’s liability is limited to those losses that were
recognisable to Festo on the basis of the situation at hand.
Safety guidelines/ Warranty and liability claims in accordance with the above
Documentation specifications (clauses III and IV) are valid only if the user has complied
with the safety guidelines in the documentation in conjunction with the
use of the machine and the safety guidelines for this. The user is himself
responsible for ensuring the compatibility of our software package with
the user’s machine.
Preface This Festo license agreement for pupils, students and teachers
constitutes a legally valid contract between you and Festo Didactic
GmbH & Co.KG. You must keep this license agreement in order to prove
that you were granted licensing rights by Festo. By using the software
product licensed in accordance with this license agreement you declare
your commitment to the stipulations contained in this license
agreement. If you are not in agreement with the stipulations of this
license agreement, you may not use the software. In the context of this
license agreement, the term “software” refers to following products::
• COSIMIR® Industrial
• COSIMIR® Professional
• COSIMIR® PLC
• COSIMIR® Control
1. Granting of a license
This license agreement grants you the right to use the software in
accordance with the general license agreement for software
packages of Festo , which are enclosed with each software package
of Festo.
2. The use of the software is only permitted within the framework of
training and further training at schools, colleges of further
education, licensed education al institutions, as well as within the
framework of reasearch and studies at universitioes and non-profit-
making research institutions. The software may not passed, rented
out, leased or lent to third parties.
3. The use of the software at private adult education institutions shall
be only be permitted within the framework of licensed educational
measures which are implemented in accordance with the
Employment Promotion Act, the Federal Law concerning the
Promotion of Education or the Vocational Training Law. The acquired
school software must be used exclusively for the implementation of
the promoted courses..
4. Research institutions may only use the software provided that the
objectives and content of the relevant research are not geared
towards commercial profit , as confirmed by the relevant ministry in
charge.
5. The use of the software in non-profit-making societies shall be only
be permitted for non-commercial training and further training
measures or research projects, on the proviso that such courses are
accessible to the public..
5. Simulation________________________________________ 158
5.1 Settings__________________________________________ 158
5.2 Example: Workcell Simulation ________________________ 160
5.3 Collision Detection _________________________________ 161
8. Appendix_________________________________________ 222
8.1 Keyboard Usage ___________________________________ 222
8.2 Abbreviations _____________________________________ 224
The first part of this manual is suggested to be used for the first work
with COSIMIR® Industrial. It represents a short introduction into the 3D
simulation and offline programming of robot-based workcells with
Mitsubishi robots.
The second part gives an introduction into the work with the RCI
Explorer (Robot Controller Interface). The RCI Explorer provides a user-
friendly communication interface to the Mitsubishi robot systems of
type RV-A, RH-AH and RP-AH as well the old systems RV-EN, RV-E, RV-
M1.
1.2 Different text formats are used for certain text contents as well as for
Text Formats keyboard shortcuts.
1.4 To install COSIMIR® run “SETUP. EXE“ from the installation CD. The
Installation Instructions installation wizard will guide you through the installation.
Use the following dialog to select the drive and path in which to install
COSIMIR® in.
The COSIMIR® online help is based on the standard HTML help format of
Windows. To use this Microsoft Internet Explorer of version 3. 0 or
higher is necessary. It is not possible to use the COSIMIR® online help
without a Microsoft Internet Explorer installed on your system.
COSIMIR® uses a license key and the drivers for this license key are
installed automatically.
2. 1
User Interface
2.2 The most important window types of the COSIMIR® user interface are
Window Types specified in the following list.
Workcell Window
The workcell is shown graphically in the workcell view window. You can
open further windows with different workcell views by means of the
command New from the View menu.
Joint Coordinates
The window joint coordinates shows the positions of the single robot
joints. The display unit for rotational joints is degrees, for linear joints it
is millimeters. A double click into this window opens the dialog box Set
Joint Coordinates.
To open the window joint coordinates, press F7 or choose the command
Show Joint Coordinates from the menu Extras Robot Position.
World Coordinates
The window world coordinates displays the position and orientation of
the Tool Center Points in world coordinates. In addition, position,
orientation, and configuration of the robot are displayed in the lowest
line of the window. A double-click on this window opens the dialog box
Set World Coordinates.
To open the window world coordinates press, SHIFT+F7 or choose the
command Show World Coordinates from the menu Extras Robot
Position.
Teach-In
The window Teach-In (Joint Coordinates) contains the names of the
robot joints and two small buttons to move the individual joints of the
robot. Thereby the reaction of a real robot is simulated. If you keep
pushing the button, the robot accelerates up to the adjusted speed
(Override), keeps the speed steadily and then continuously decelerates
to a speed of 0 after releasing the button.
Select the jog operation mode to change to Teach-In in world
coordinates or tool coordinates.
To open the window Teach-In press F8 or choose the command Show
World Coordinates from the menu Extras Robot Position.
Inputs/Outputs
The window Inputs/Outputs shows the states of the simulated robot-
controller’s inputs/outputs. The current states of the inputs/outputs are
displayed next to their names. 0-signals are displayed in red color, 1-
signals are displayed in green color.
The value of an input is displayed in brackets, i. e. [1], if the input is
connected to an output. If the signal of the input is forced, the value of
the input is displayed in angle brackets, i. e. <1>.
To open the window Inputs/Outputs press F9/CTRL+F9 or choose the
command Show Inputs/Show Outputs from the menu Extras
Inputs/Outputs.
Controller Selection
The window Controller Selection shows the states of all controllers of
the workcell. You are able to choose the master controller and to
observe the activity of the different controllers. Display of robot
positions, inputs, outputs and teach-in is always done for the
emphasized robot (master).
To open the window Controller Selection choose the command
Controller Selection from the Execute menu.
Robot Program
This window shows a high level program in the native programming
language of a robot. The window title contains the name of the
associated robot.
Choose the command Open from the File menu to open a robot program
or create a new program by choosing command new from the File
menu.
Position List
This window shows a position list of a robot. The window title contains
the name of the associated robot.
Choose the command Open from the File menu to open a position list or
create a new position list by choosing command New from the File
menu.
User Input/Output
The User Input/Output window opens automatically if the robot
program contains commands for reading and writing of data via the
serial interface to and from the robot control.
Because of the simulation of a robot control, the data is not sent
physically via the serial interface, but it is sent to the User Input/Output
window where the data is displayed.
There are several tools (i. e. model libraries and the Model Explorer for
COSIMIR®) providing a comfortable modeling of robot-based workcells.
By means of a simple example workcell, a short introduction in workcell
modeling is given in this chapter.
3.1 The COSIMIR® model hierarchy contains the following element types:
Model Hierarchy
Objects
The highest unit in the element structure are the objects. Example: A
robot is an object.
Sections
Sections are assigned to objects. One degree-of-freedom can be
associated to each section that is moveable relatively to the previous
section. Example: Each joint of a robot is a section.
Hulls
Hulls are assigned to sections and are responsible for the graphical
representation. Example: A face, a box or a polyhedron are hulls.
Gripper Points
An object needs a gripper point to grasp other objects. Gripper points
are assigned to sections. Example: At the flange of a robot a gripper
point is modeled.
Grip Points
To be grasped by another object an object needs a grip point. Grip
points are assigned to sections. Example: A grip point is associated to a
work piece that has to be grasped.
3.2 There is wide range of partly optional model libraries for COSIMIR®
Model Libraries Industrial. Use these model libraries to add new objects or model parts
to a workcell model.
The following model libraries are available:
• Robots: Mitsubishi
Miscellaneous
• Miscellaneous: Grippers
Primitives
Materials
Mechanisms
Textures
LogicController
Toolbar
3.3 Use the Model Explorer to access all the elements of a workcell. Besides
Model Explorer objects and associated elements you are able to maintain materials,
libraries, lighting sources, and I/O connections, too.
By clicking the right mouse button or pressing the context menu key on
a Windows 95™ keyboard you can open a context menu with most
important commands depending on the current element selection.
Toolbar
Choose command New Workcell from the File menu to create a new
workcell. Specify the filename (e. g. “Example. mod”) for the new
workcell.
After creating the new workcell you are able to specify a different
workcell name as well as properties for the workcell (e. g. background
color, floor color, and floor size). Use the dialog Properties for workcell
while the workcell name is selected in the Model Explorer to change
workcell properties.
Note, that dialog box Properties for elements contains the properties of
the currently selected element (workcell, object, etc.).
In the Model Explorer rename the object “Box” to “Table”.
Select the object Table in the Model Explorer and press CTRL+C to copy
the object to the clipboard. Select the folder Objects and press CTRL+V
to paste the object from the clipboard.
Rename the copied object “Table_1” to “Workpiece” and edit its
properties as follows:
Position (x,y,z): 275 mm, 0 mm, 250 mm
Dimension (x,y,z): 50 mm, 50 mm, 50 mm
Visualization: Red
You can open the modeled workcell from the following installation
directory of COSIMIR® Industrial:
<InstallationDirectory>\GettingStarted\Mitsubishi\Modeling\
Example.mod
3.5 You can add a geometric model to a workcell. Besides the mod – file
Import format, numerous other CAD formats are available for the import:
Use the menu function Files Import. After import of non mod-files
you must in general adapt the geometric model corresponding the
model hierarchy of COSIMIR®.
4.1 This example shows the programming of the robot. The workcell
Example: modeled in the previous chapter is used.
Workcell Programming
Choose command Open from the File menu to open the example
workcell of the previous chapter.
Create a new MRL position list by choosing command New from the File
menu and selecting item MRL Position List in dialog box New.
You are able to open dialog box new by clicking button in the toolbar or
by using the shortcut CTRL+N. Close the Model Explorer and the dialog
box Properties for elements.
Accept the initial position of the robot as first position of the position
list. Use the shortcut CTRL+F2 to accept current robot positions in
position lists.
Select the last free entry in the position list and use the shortcut
CTRL+F2 a second time. This position has to be changed. Select the
position by clicking on the entry with the left mouse button and choose
command Properties from the Edit menu to open dialog box Position
List Entry. Change the position as follows:
Position (x,y,z): 300 mm, 25 mm, 275 mm
Orientation (A/P, B/R): 0°, 180°
Double click on the entry position P2 in the position list to move the
robot to this position. Let the robot grasp the workpiece by clicking
Close Hand in window Teach-In.
Select XYZ Jog and click the button for movement in negative
Y direction. The robot is moving the workpiece across the table. Save
the new robot position in the position list by selecting the last free entry
and using the shortcut CTRL+F2.
For the purpose of simulation the program as well as the position list
are integrated into a MELFA Basic project.
In page Files of the dialog box add the program and the position list by
clicking button and selecting the files. Declare the program
“Mitsubishi.mb4” as Main Program.
You can open the programmed workcell from the following installation
directory of COSIMIR®:
<InstallationDirectory>\GettingStarted\Mitsubishi\Programming\
Example.mod
5.1 Choose the command Simulation from the Execute menu to configure
Settings the simulation settings with the dialog box Simulation.
5.3 By the collision detection you can detect collisions in your applications.
Collision Detection You are able to select objects for checking.
You may adjust the distance between tweo objects, which leads to a
collision message. Click the Check indexing card. Here you are also able
to detect collisions while gripping. This is useful, if you want to detect
the inexact positioning of a gripper.
Example Replace line 220 in above sample program Mitsubishi. mb4 as follows:
220 MVS P3, +2
Please note that to control any of the mechanisms the input values have
to change from low to high to start the mechanism. Moreover the output
values containing the state of the mechanisms are only updated if the
outputs are connected to an input.
1 Gripper is closed.
Examples
6.2 If there is another object with a free grip point above a conveyer belt
Conveyor Belt object, the object is moved along the active surface of the conveyor belt
if the grip point lies inside the grip range of the active surface. This only
works if system input 0 of the conveyor belt is set to high. If the object is
moved up to the end of the active surface system output 0 is set to high.
1 There is an object at
conveyor’s end.
Examples
6.3 The push cylinder is extended if system input 0 is set to high. If there is
Push Cylinder an object with a free grip point in the grip range of the push cylinder’s
gripper point the object is moved by the push cylinder. The push
cylinder is retracted if system input 0 is set to low.
Examples
6.4 The mechanism rotary drive is based on the push cylinder mechanism.
Rotary Drive
Examples
6.5 All axes of turntable object are moved to the upper limits if system input
Turntable 0 is set to high. If there is an object with a free grip point inside the grip
range of the turntable’s active surface the object is moved with the
turntable.
0 –
Examples
6.6 The function of the two way push cylinder is similar to the function of
Two Way Push Cylinder the push cylinder. For the purpose of control there are two system
inputs. According to this there are two system outputs for the cylinder’s
state.
Mechanism: Two Way Push Cylinder Object Type: Two Way Push Cylinder
0 –
0 –
Examples
6.7 The turning mover consists of two sections and a vacuum gripper that
Turning Mover can be controlled by setting system inputs 2 and 3. Use system inputs 0
and 1 to control the position of the turning mover.
0 –
0 –
0 –
0 –
Examples
6.8 Use the mechanism parts feeder to model depots for workpieces etc.
Parts Feeder The associated object contains a whole string of gripper points. The
sequence of these gripper points is important for the function of the
parts feeder that is filled by moving objects with free grip points in the
grip range of the feeder’s gripper points. Note that the first of the
feeder’s gripper points must not be covered. In case of setting system
input 0 of the parts feeder to high the object at the second gripper point
is moved to the first gripper point, the object at the third gripper point is
moved to the second gripper point etc. If there is an object at the
position of the first gripper point system output 0 is set to high.
Mechanism: Parts Feeder Object Type: Parts Feeder, optional “with Gravity”
0 –
Examples
6.9 This simple proximity sensor checks if there is an object with a free grip
Proximity Sensor point in the grip range of the sensor’s gripper point.
Examples
6.10 Use the replicator mechanism for creation of new objects based on
Replicator templates. The extended properties of the replicator object contain the
assignment of system inputs and templates (example; template 0 =
“Workpiece”). If a system input is set to high, a new object based on the
associated template is created at the gripper point of the replicator
object.
0 –
0 –
0 –
Examples
6.11 The trash can is the counterpart of the replicator. Use the mechanism
Trash Can trash can to remove objects at runtime. Each system input of the trash
can object is associated to a gripper point. If system input 1 is set to
high and there is an object with a free grip point inside the grip range of
grip point 1 of the trash can object, the object is removed.
Please note that all objects that have been removed by this mechanism
are not recovered by choosing command Reset Workcell from the Edit
menu.
0 –
0 –
0 –
Examples
7.1 Before you can write robot programs you have to open your workcell or
How to Setup a new you start the project wizard using the menu function File Project
Project with COSIMIR® Wizard.
Industrial
Insert your desired Project Name into the appropriate field of the dialog
box. The dialog box will come up with the project name "UNTITLED". In
the example the project name is DEMO. You can enter any valid file
name (without file name extension) into this field. As Program Name
insert e. g. 3.
For each new project you create, COSIMIR® Industrial will create a new
directory with the name of the project. COSIMIR® Industrial uses this
directory to store all the programs that belong to your project. The
program name is the name COSIMIR® Industrial uses to download the
robot program into the robot controller.
The directory used for this project is displayed under Directory. If you
want to change the directory or if you want to create a new directory
press the button Browse which will open the browse dialog.
Insert your name into the text box Created by, your initials into Initials,
and a short description of the project task into Description.
Proceed to the second step of the project wizard by pressing the Next
button. This will display the second step of the Project Wizard.
Select the robot type you are working with, from the list Robot Type.
Then, select the number of I/O Interface Cards (only required for the
I/O Monitor), the number of Hands (only required for opening and
closing hands in the Jog Operation), the number and type of Additional
Axes (required for Jog Operation) and the Programming Language,
which is essential for opening of the correct program window. You can
only choose between different programming languages for robots of the
RV-EN and the A series (RV-A, RH-AH, RP-AH). Robots of the RV-M and
RV-E series can only be programmed in Movemaster Command (MRL).
Press the button Finish, to create the project. A workcell window, the
RCI Explorer, an empty robot program window, the associated position
list window, and the message window will be opened and arranged on
your monitor. Several files for the project itself, the program and the
position list are created in the directory Project Name.
7.2 The RCI Explorer is an information and data exchange center. It gives
How to Work with you an overview of the current state of the robot and provides an
the RCI Explorer intuitive way to upload, download, start, debug, and monitor robot
programs.
The RCI Explorer contains two folders. The first folder is the robot folder.
The name of the folder matches the robot name, you have configured in
the second step of the project wizard. This example makes use of the
robot RH-5AH55. The robot folder provides access to the data on the
robot controller. The second folder is the Workplace. It contains the
data on your PC in the project directory.
7.3 Before you can exchange programs and position lists between the
How to Establish a COSIMIR® Industrial PC and the robot drive unit the following you have
Connection to the Robot to do the following steps.
Drive Unit
1. Connect a serial interface of the COSIMIR® Industrial PC to the RS-
232 interface of the robot controller. Be sure to use a serial cable
that connects the hardware handshake signals (DTR, RTS, CTS) of
the serial interface, too. See the robot manual for details.
2. Use the RCI Explorer to check the connection properties. Open the
context menu of the Connection by clicking with the right mouse
button on the folder Connection. Select Properties from the context
menu.
7.4 Check, if the configured robot type matches the actual type of the
How to Check the connected robot. In the RCI Explorer select the folder Robot Type:
Robot Type
You get information concerning the type of the connected robot, the
version of the operating system, the actual robot language, and the
number of available robot programs on the robot controller.
7.5 You are now ready to write your first robot program. Activate the
How to Write a window with the robot program by clicking into the window or by
Robot Program selecting the window with the command Window/1,2,3. . . . Now can
freely edit your program using the keyboard and the mouse.
Use the context sensitive help to get help on the command OVRD. To
open the help page place the cursor inside the OVRD command and
press the F1 key.
To renumber a program sequentially use the command Edit
Renumber. This command can be used to renumber the whole program
(in this case no part of the program must be selected) or only the
selected range of the program.
If you have added new program lines that should be inserted between
other lines in the program according to their line numbers, use the
command Edit/Sort to sort the whole program in ascending order
according to the line numbers.
Save the program with the command File Save.
7.6
How to Create a Position
List Using the Robot
Usually, you use the T/B (teach pendant) to create position data. Have a
look at your Instruction Manual for a detailed description of how to
create position data. Once you have created position data with the T/B
it is easy to upload the position data into a position list on your PC.
Simply use the program upload. You will get your position data as a
position list and additionally any program lines you might have created
with the T/B.
Alternatively, you can create and modify a position list interactively
using COSIMIR® Industrial. Open the window Jog Operation by double
clicking on the tool Jog Operation.
Optionally, you can also open the window Jog Operation by the
command Execute Jog Operation. Use this window to jog the robot in
JOINT, XYZ and TOOL coordinates.
Use the button Current Position Pos. List to insert the current robot
position into the position list as position number Pos.-No. To override
an existing position just enter the position number into the text box
Pos.-No. or use the spin buttons next to the text box. Set the Jog Speed
and the Jog Increment to appropriate values.
Create two positions P1 and P2 in your current position list and save the
position list with the command File/Save. Your position list might look
like this:
7.7 Your first robot program and the associated position list are now
How to Check the Syntax located on the PC in the project directory. In the RCI Explorer they are
of your Program accessible in the folder Programs in your Workplace. Click with the right
mouse button on the name of the robot program and open the context
menu of the program. Select Syntax Check to check the syntax of your
program.
You can check the syntax of your program also by using the command
Execute/check Syntax. The syntax checker finds syntactical errors in
your program and displays the errors in the message window.
Load the syntactically correct program and position list into the robot
controller.
7.8 Before you can exchange programs and position lists between the
How to Exchange COSIMIR® Industrial PC and the robot controller the connection must
Programs and Position have been established. If the connection is established, you can
Lists with the Robot • Download a program to the robot
• Download a position list to the robot
• Upload a program from the robot to the PC
If you release the mouse button, the download starts. The download
can also be started with the command Download from the context menu
of the program. Click on the program 3. MB4 with the right mouse
button to open the context menu.
Usually, it is best to use the default values in the dialog “Up- and
Download" and download the complete program. To download the
complete program, select the option Complete Program. If you want to
download only a certain number of lines, switch off the option Complete
Program and insert line number for From Line to To Line. For MELFA-
BASIC III and MELFA-BASIC IV the line numbers have to be in the range
between 1 and 32767, for Movemaster Command between 1 and 9999.
Before the download, the specified line range is cleared in the robot
controller. Furthermore, insert the program Name, that will be used for
your program in the controller. This field is always initialized with the
file name of the program on the PC.
If you are programming in MELFA BASIC and you are using line numbers
larger than 9999, be sure to check Delete all before Downloading. If
this option is chosen, a program in the Drive Unit will be deleted even if
it contains line numbers larger than 9999. If this option is not selected,
line numbers larger than 9999 will not be erased, independent of the
line number you specify in the To Line section. Position lists will not be
deleted.
Press the OK button to start the download. All commands that are
transmitted to the drive unit are displayed on the screen. After each
command the alarm (error) status of the drive unit is checked. If an error
should occurs the download will be aborted and the erroneous
command is displayed.
Alternatively, you can download a position list without the RCI Explorer.
Activate the position list window and execute the command Execute
Download PC Robot.
The dialog box Up- und Download is displayed. In most cases, it is best
to can use the standard settings. Be sure that the option All Positions is
selected. If you want to download only a special range of position
numbers, switch off the option All Positions and insert values for From
Position and To Position. There are no limits for position numbers in
MELFA-BASIC III and MELFA-BASIC IV. In Movemaster Command the
position numbers are limited to 1 to 999, and for the RV-M1 the range is
1 to 629.
Before the download the old positions in the selected range are cleared.
Note, that the old positions are not cleared if you use MELFA-BASIC IV.
Additionally, you can add a Name. The default name is the name of the
file position list on the PC.
If you use a different name, be sure to use the same name that you have
used for the program beforehand.
It is also very easy, to upload all the programs on the robot controller
back to the PC.
Alternatively, you can also upload programs and position lists without
the RCI Explorer. Activate the program window that is to be used for the
uploaded program. You can open a new program window with the
command File New, too. Then, execute the command Execute
Upload Robot PC. This will again open the dialog box Up- and
Download. After pressing the OK button the program will be uploaded
line by line from the robot controller and finally displayed in the
program window.
During this upload the original program file on the disk will be
overwritten and there is no way to restore it.
You are now ready to debug your program directly on the robot
controller.
7.9
How to Debug a
Robot Program
Note! In the debug mode, the robot actually moves according to the
movement commands.
The Debugger opens with the selected program. Set the current line to
the first program line. Select the first program line with the mouse and
set it as currently active line by pressing the icon shown in the following
picture:
A small green arrow marks the currently active line. This is the line that
will be executed next by the robot program. Now, set breakpoints by
double clicking on the program lines, on which the program is supposed
to stop during debugging. Press on the icon shown in the following
picture and start the breakpoint debugging:
After testing your program in detail with the online debugger, you can
now continue to finally start the program.
7.10 It is really easy to start programs using the RCI Explorer. Open the folder
How to Start and Stop a Programs in the robot folder, click with the right mouse button on the
Robot Program program you want to start and select Start (CYC) or Start (REP) in the
context menu.
There are two commands to start a robot program. Use the command
Start (CYC) (1 cycle) to start the program, once. Use the command Start
(REP) (repeated) to start the program in a continuous loop. With the
command Start (REP) the program continues until the program is
stopped by a user command.
Stop the program with the command Stop from the context menu. It is
also possible to stop the program without the RCI Explorer. Use the
command Execute Program Stop to stop the program.
If you start a program, the robot controller loads the program into the
so-called slot 1 before it is actually executed. If you want to start the
program in a slot different from slot 1, then you have to load the
program into this slot, first.
7.11 Robots of the A series (RV-A, RH-AH, RP-AH) have so-called slots. In
How to Load a Robot each of these slots a single robot program can run. Thus several robot
Program into a Slot programs can actually be executed in parallel. This type of program
execution is called multitasking. All other robot types have only one slot
for program executions. Thus, they cannot be used for multitasking. A-
series types of robots can execute the program in any slot, but slot 1 is
the default slot. In order to start a program in a slot different from slot 1,
you have to explicitly load the program into the desired slot.
Open the folder Slots. If your program 3 is already loaded into a slot (e.
g. Slot 1), then reset the slots first. Open the context menu of the folder
Slots and select Reset.
Check the syntax of the modified program and download it to the robot.
If necessary, check the functionality of the program with the debugger.
Load the modified and checked program into slot 5. Click with the right
mouse button on the program name in the folder Programs in the robot
folder. Select Load to Slot 5. The program is loaded into slot 5.
Now, open the folder Slots. Start your program in slot 5 with the
command Start (CYC) from the context menu.
Stop the program execution with the command Stop from the context
menu. Discover next, how to monitor your running program.
7.12 Monitor the execution of your programs. Open the context menu of a
How to Monitor running slot with the right mouse button and select Monitor Program . . . .
Robot Programs
You can actually monitor a lot of different types of robot data. Discover
how to monitor variable values.
Download the modified program to the robot, load it into slot 5, and
start the program. Select slot 5 in the Variables Monitor and add the
variable MCOUNT to the list of the monitored variables with the arrow
buttons.
Double click on the variable name to open the dialog Set Value. Use it
to change the value of the variable MCOUNT. Observe the change in the
Variables Monitor.
There are actually many more monitors available. Check the robot state
with some of the other robot monitors.
7.14 Start your program example and again and open some of the monitors.
How to Monitor Robot To open a monitor, double click on the monitor in the folder Monitors.
States
Open the monitor Robot Position. Watch the changing joint and world
coordinates of the current position as the robot moves.
Open the monitor Servo Speed. Observe the changing joint velocities of
the robot.
7.15
How to Send Commands
to the Robot
You can interactively send commands to the robot and display the reply
of the robot controller with the Command Tool in the Tools folder of the
RCI Explorer.
Alternatively, you can also open the Command Tool with the command
Edit Command Tool. Use the Command Tool to send commands to
the robot as well as to insert robot commands into a robot program.
In order to test the functionality of the Command Tool, reset the slot
contents, first. Then, load your example program 3 into slot 1. Switch on
the servo motors of the robot with the command Servos on from the
context menu of the robot.
Send the motion commands MOV P1 and MOV P2 to the robot. The
robot will move to the desired positions.
7.16 Select the folder Parameter. If you are using an A series robot (RV-A,
How to Change RH-AH, RP-AH), then the list of all available parameters is requested
Parameter Values from the robot, first. COSIROP requests this parameter list only once.
Afterwards it will be used in any further projects with your robot. To
change a parameter, open the Properties dialog by double clicking on
the parameter. Double click on the parameter BZR.
Enter a new value for the parameter in the Properties dialog. If you are
working with an A series robot (RV-A, RH-AH, RP-AH), be sure to switch
the key switch on the robot controller to Teach. Set the value of "BZR"
to 0 and press the OK button.
Note, that you have to switch the robot controller off and back on again
to confirm the changes.
Change the parameter BZR back to 1, switch the controller off and on,
and switch the key switch back to Auto(Ext.).
7.17 Check the last error messages by selecting the folder Error List.
How to Check the latest COSIROP requests the error list from the robot.
Error Messages
Determine the cause of any current error. Select Current Alarm . . from
the context menu of the robot.
Alternatively, you can determine the cause of any current error with the
command Execute Current Alarm.
Closing the dialog box Properties of the current error with OK resets the
current error.
7.18 After you have created a robot project, written programs, and adapted
How to Backup your the parameters according to your project, you want to backup your data
Robot Controller for future use. Backup the complete data on the robot controller with
any robot of the A series (RV-A, RH-AH, RP-AH). Select Create Backup
All in the context menu of the robot.
A dialog box pops up. Select a folder for the backup. Be sure to select
an empty folder for the backup. This backup folder will then contain
only files necessary for the backup and none of your PC data will be
overwritten during the backup. The backup can take several minutes,
especially if there are a lot of programs on the robot controller and you
are connected via a slow serial link with the robot.
Store the backup data in a safe place and use it, whenever you need to
recover the state of the robot at the backup time. To load a backup,
select Load Backup All in the context menu of the robot.
Select the folder that contains your backup data. After your data is
successfully recovered, switch the robot controller off and back on
again to confirm the changes.
Use the backup folder only for data backups of your robot and for data
recovery. Do not try to download single backup files with the program
download of COSIMIR® Industrial, if the backup files have the same
names as regular COSIMIR® Industrial programs! Under no
circumstances try to transfer COSIMIR® Industrial program files with
"Load Backup" to the robot. The file formats are different and the robot
programs will be destroyed and cannot be recovered.
Key Shortcut
CTRL+L Opens the dialog box for setting the point of view to
the workcell.
“+”-KEY Activates the command zoom-in. It magnifies the view
of the workcell.
“-“-KEY Activates the command zoom-out. It reduces the view
of the workcell.
O Activates the command default settings.
V Activates the command front view.
U Activates the command rear view.
A Activates the command top view.
L Activates the command left side view.
R Activates the command right side view.
F Activates the command full format.
F11 Switches to wireframe representation.
SHIFT+F11 Switches to filled surfaces representation.
CTRL+F11 Switches to flat shaded representation.
SHIFT+CTRL+F11 Switches to smooth shaded representation.
CTRL+D Opens the rendering dialog box to set the quality and
speed of the workcell representation.
Key Shortcut
CTRL+PAGE UP Resets the program to the beginning.
CTRL+Q Continues or starts the current robot program.
CTRL+Y Continues or starts the current robot program in cyclic
mode.
CTRL+S Stops a running program.