Upload
others
View
10
Download
0
Embed Size (px)
Citation preview
Benutzerhandbuch
User manual
Software fürprogrammierbareSSI-Winkelcodierer
Software for programmable
SSI encoders
Version 1.0
DEU
TSC
HEN
GLI
SH
R
Allgemeine Bedingungen zur Nutzung der Software
1 Mit der Begleichung des Kaufpreises oder dem Herunterladen von den Inter-net-Seiten www.ifm-electronic.com hat der Käufer nicht das Programmselbst, sondern nur ein zeitlich unbegrenztes Nutzungsrecht am Programmerworben.
2 Der Käufer darf Kopien der Diskette nur erstellen, um das Programm zusichern oder auf Festplatte zu speichern. Ein Weiterverkauf von derartigenKopien an Dritte ist nicht erlaubt. Alle Eigentumsrechte bleiben beim Herstel-ler.
3 Die Übertragung der Nutzungsbefugnis am Programm auf Dritte bedarf derausdrücklichen schriftlichen Zustimmung des Herstellers. Mit der Übertra-gung erlischt die Nutzungsbefugnis des ursprünglichen Käufers. Alle Siche-rungskopien sind entweder mitzugeben oder unverzüglich zu vernichten; derHersteller ist hierüber entsprechend zu informieren.
4 Für jegliche Schäden, die durch die Nutzung dieses Programmes entstehenkönnen, ist der Hersteller nicht haftbar.
Warenzeichen
Windows 3.1, Windows 95 und Windows NT sind eingetragene Warenzeichen.
ALLGEMEINE BEDINGUNGEN ZUR NUTZUNG DER SOFTWARE
Seite 2
Inhalt
1 Allgemeine Informationen . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 2
Kurzbeschreibung . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 4
Anforderungen an den PC . . . . . . . . . . . . . . . . . . . . . . . . .Seite 5
Software-Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 5
2 Programmierzubehör und -aufbau . . . . . . . . . . . . . . . . . . . .Seite 6
3 Inbetriebnahme der Software . . . . . . . . . . . . . . . . . . . . . . . .Seite 7
Installation unter Windows 3.x . . . . . . . . . . . . . . . . . . . . . .Seite 7
Installation unter Windows 95/NT . . . . . . . . . . . . . . . . . . . .Seite 7
Festlegung der RS-232-C-Übertragung . . . . . . . . . . . . . . . .Seite 7
4 Programmierung . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 9
Schnittstellen-Variablen . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 10
Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 11
Datenformat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 12
Drehrichtung . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 14
Skalierungs-Einstellung . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 15
Offset-/Preset-Werte . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 16
Offset- und Preset-Werte ... durch Programmierung . . . . . .Seite 17
Offset- und Preset-Werte ... durch Hardware-Pins . . . . . . . .Seite 17
Parameter-Übertragung . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 18
5 Überprüfen des Drehgebers . . . . . . . . . . . . . . . . . . . . . . . . .Seite 19
Positionsfelder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 19
Grafische Darstellung . . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 19
6 Speicherung der Geberparameter . . . . . . . . . . . . . . . . . . . .Seite 20
7 Weitere Drehgeber-Informationen . . . . . . . . . . . . . . . . . . .Seite 21
Software- und Hardware-Version . . . . . . . . . . . . . . . . . . . .Seite 21
Ident- und Seriennummer . . . . . . . . . . . . . . . . . . . . . . . . .Seite 21
Betriebsstatus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 22
Betriebszeit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Seite 24
INHALT
Seite 3
DEU
TSC
H
1 Allgemeine Informationen
KurzbeschreibungDie Software ermöglicht eine einfache Programmierung der absoluten Drehge-ber von ifm electronic mit programmierbarer SSI-Schnittstelle mit Hilfe einesPersonal Computers (PC).
Folgende Parameter und Funktionen sind zu programmieren:
*) auch per Hardware-Programmierung über Steckverbindung möglich
Zusätzlich ist auch die Kontrolle der eingestellten Werte möglich. Dies ist ins-besondere beim Austausch von Geräten notwendig.
Prüfen Sie die programmierbaren Drehgeber grundsätzlich vor Inbetrieb-nahme auf richtige Einstellung. Die bei der Auslieferung vorgenommeneGrundeinstellung kann unter Umständen zu folgenschweren Fehlfunk-tionen der Anlage führen!
Die Programmiersoftware inklusive des Benutzer-Handbuchs ist in deutschunter der Artikel-Nr. E60179, in englisch unter der Artikel-Nr. E60183 bei derifm electronic erhältlich.
ALLGEMEINE INFORMATIONEN
Seite 4
Schnittstellen-Variablen • Ausgabeformat der Positionswerte im Gray- oderDualcode
• Datenformat: Tannenbaum (SSI) oder synchron-seriell rechtsbündig
• Drehrichtung für steigende Positionswerte *Skalierungs-Einstellung • Singleturn-Auflösung bis maximal 8192 Positio-
nen pro Umdrehung• Multiturn-Auflösung bis maximal 4096 unter-
scheidbare Umdrehungen
Offset-/Preset-Werte • beliebiges Nullen, Setzen oder Kompensieren *
Anforderungen an den PCAls Hardwarevoraussetzungen gelten:
• Mindestanforderung: IBM-PC oder 100 % kompatibler• Empfohlene Hardware: 486er oder höher
Als Sondervoraussetzungen gelten:• Windows 3.1• Windows 95• Windows NT
Software-InformationIn dem Menüpunkt Software-Information unter Info kann die Versionsnummerder Programmiersoftware abgefragt werden.
Es erscheint folgende Anzeige:
Sollten bei der Programmierung von SSI-Drehgebern Probleme auftreten, set-zen Sie sich bitte mit ifm electronic in Verbindung.
ALLGEMEINE INFORMATIONEN
Seite 5
DEU
TSC
H
2 Programmierzubehör und Programmieraufbau
Als Zubehör sind folgende Produkte erhältlich:
Programmierkabel Artikel-Nr. E60180Kabeldose konfektionierbar Artikel-Nr. E60157
Programmieraufbau
AnschlußDas Programmierkabel verbindet den Drehgeber direkt mit der COM-Schnitt-stelle des PC. Es dient zur Spannungsversorgung (Ub = 10 bis 30V), falls keineSteuerung angeschlossen ist.
PROGRAMMIERZUBEHÖR UND PROGRAMMIERAUFBAU
Seite 6
Up�
�
E60180
1)
1) Software Best.-Nr. E60179 (deutsch),E60183 (englisch) oder kostenlosunter www.ifm-electronic.com
3 Inbetriebnahme der Software
Installation unter Windows 3.xLegen Sie die Diskette in das Laufwerk ein. Wählen Sie im Datei-Manager dasDiskettenlaufwerk aus. Im Verzeichnis ...:\German wählen Sie die Datei Set-up.exe und folgen dem Installationsprogramm. Zum Start rufen Sie das Pro-gramm „PROGSSI.exe“ auf.
Installation unter Windows 95/NTLegen Sie die Diskette in das Laufwerk ein. Wählen Sie im Explorer das Disket-tenlaufwerk aus. Im Verzeichnis ...:\German wählen Sie die Datei Set-up.exeaus und folgen dem Installationsprogramm. Zum Start rufen Sie das Programm„PROGSSI.exe“ auf.
Festlegung der RS-232-C-ÜbertragungNach dem Start der Programmiersoftware legen Sie die Übertragungsparame-ter für die RS-232-C-Schnittstelle am PC fest.Wählen Sie dazu in der Menüleiste RS232-Übertragung an.
INBETRIEBNAHME DER SOFTWARE
Seite 7
DEU
TSC
H
Es öffnet sich folgendes Fenster:
Nun wählen Sie im Roll-down-Menü Port die COM-Adresse aus, an welche dasProgrammierkabel angeschlossen ist.
Die Funktionen Software-Baudrate ändern bzw. Drehgeber-Baudrate ändernsich nicht aktiviert. Eine Auswahl der Baudrate ist nicht vorgesehen.
Default-Einstellung:Port: COM 2Baudrate: 9600 kBaud
Wenn Sie die eingestellten Schnittstellen-Paramater dauerhaft speichern wol-len, aktivieren Sie den Schalter Port und Baudrate in Datei speichern und betäti-gen die Schaltfläche Ausführen.
INBETRIEBNAHME DER SOFTWARE
Seite 8
4 Programmierung
Die Programmierung erfolgt durch Eingabe aller gewünschten Parameter in dieentsprechenden Windows-Eingabemasken und abschließender Übertragungder Parameter an den Code-Drehgeber.
Bevor Sie mit der Eingabe der Parameter beginnen, ist es notwendig, die Para-meter des zu programmierenden Gebers in die Software einzulesen. BetätigenSie dazu die Schaltfläche Parameter vom Geber einlesen. Jetzt passen sich dieParameterfelder der Programm-Maske an den Software-Stand des Drehgebersan.
Nach erfolgreichem Einlesen der Parameter erscheint folgende Anzeige:
Um die übertragenen Parameter in die Anzeigefenster der Programm-Maske zuübertragen, betätigen Sie die Schaltfläche Ja.
PROGRAMMIERUNG
Seite 9
DEU
TSC
H
Schnittstellen-Variablen
Um die Schnittstellen-Variablen festzulegen, klicken Sie auf ein weiß hinterleg-tes Textfeld im Bereich Schnittstellen-Variablen.
Es erscheint folgende Eingabemaske:
PROGRAMMIERUNG
Seite 10
Code
Der Drehgeber bietet die Möglichkeit, die absoluten Positionswerte in zweiunterschiedlichen Codearten zu übertragen.
Dual-CodeDer Dual-Code bildet den Zahlenwert aus Potenzen zur Basis 2. Der Zahlenwert13 bedeutet in dualer Darstellung 1 x 23 + 1 x 22 + 0 x 21 + 1 x 20 = 13, d.h.die 13 entsprechende Dualzahl lautet 1101.
Gray-CodeDie charakteristische Eigenschaft des Gray-Codes ist seine Einschrittigkeit, d.h.zwei beliebig benachbarte Positionswerte unterscheiden sich genau in einerCodestelle. Der Ablesefehler beim Wechsel von einer Position zur nächsten ent-spricht somit maximal dem Betrag einer 1/4 Teilungsperiode der feinsten Spur.
Um den korrekten Code auszuwählen, lesen Sie bitte in der Beschreibung IhrerSchnittstellen-Karte nach, welcher Code verarbeitet werden kann.
PROGRAMMIERUNG
Seite 11
DEU
TSC
H
Spur 4
Spur 3
Spur 2
Spur 1
Position 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Spur 4
Spur 3
Spur 2
Spur 1
Position 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
DatenformatBei er synchron-seriellen Übertragung sind grundsätzlich zwei Übertragungs-formate möglich.
Tannenbaum-Format (SSI)Bei SSI-Übertragung der Positionswerte im Tannenbaum-Format wird immerzwischen Multiturn-Teil (12 Bit = 4096 Umdrehungen) und Singleturn-Teil (13Bit = 8192 Positionen pro Umdrehung) unterschieden.Es werden daher immer über 25 Takte Datenbits eingelesen, die aber vomDateninhalt her variieren können. Die über eine Skalierung reduzierte Auflö-sung des Multiturn-Bereichs wird mit vorangestellten „Nullen“ aufgefüllt. Beieiner reduzierten Singleturn-Auflösung werden die „Nullen“ hintenangehängt.
Beispiel: 12 Bit Singleturn; 9 Bit Multiturn (Gray-Code)
Beispiel für nichtbinäre Skalierung:Singleturn: 360 Positionen,Multiturn: 5 Umdrehungen (Dual-Code)
PROGRAMMIERUNG
Seite 12
Takt 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
4096 U12 U11 U10 U9 U8 U7 U6 U5 U4 U3 U2 U1 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13 8192
2048 0 U11 U10 U9 U8 U7 U6 U5 U4 U3 U2 U1 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 0 4096
1024 0 0 U10 U9 U8 U7 U6 U5 U4 U3 U2 U1 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 0 0 2048
512 0 0 0 U9 U8 U7 U6 U5 U4 U3 U2 U1 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 0 0 0 1024
8 0 0 0 0 0 0 0 0 0 U3 U2 U1 P1 P2 P3 P4 0 0 0 0 0 0 0 0 0 16
4 0 0 0 0 0 0 0 0 0 0 U2 U1 P1 P2 P3 0 0 0 0 0 0 0 0 0 0 8
2
MultiturnAnzahl der Umdrehungen
SingleturnPositionen pro Umdrehung
0 0 0 0 0 0 0 0 0 0 0 U1 P1 P2 0 0 0 0 0 0 0 0 0 0 0 4
Takt 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
0 0 0 0 0 0 0 0 0 22 21 20 28 27 26 25 24 23 22 21 20 0 0 0 0
MultiturnAnzahl der Umdrehungen
SingleturnPositionen pro Umdrehung
0 0 0 0 0 0 0 0 0Werte von
1 bis 5
Werte von
0 bis 3590 0 0 0
PROGRAMMIERUNG
Seite 13
DEU
TSC
H
Synchronseriell rechtsbündiges DatenformatWie beim Tannenbaum-Format gibt der Drehgeber auch hier immer über 25Takte Datenbits aus. Bei einer Skalierung werden jedoch immer alle „Nullen“der gesamten Positionsinformation (= Multiturn-Positionen x Singleturn-Posi-tionen) vorangestellt.
Beispiel: 12 Bit Singleturn; 9 Bit Multiturn (Dual-Code)
Beispiel für nichtbinäre Skalierung:Singleturn: 360 Positionen,Multiturn: 5 Umdrehungen (Dual-Code)
Um das korrekte Datenformat auszuwählen, lesen Sie bitte in der BeschreibungIhrer Schnittstellen-Karte nach, welches Format verarbeitet werden kann.
Wird bei der Skalierung eine Gesamtauflösung < 8192 (Meßschritte/Umdrehung x Umdrehungen) gewählt, wird der Positionswert automa-tisch mit 13 Takten übertragen. Ist die Gesamtauflösung > 8192, wirdder Positionswert mit 25 Takten übertragen.
Takt 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
0 0 0 0 220 219 218 217 216 215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20
0 0 0 0Werte von 0 bis 2097151
Positionen pro Umdrehung x Anzahl der Umdrehungen
Takt 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
0 0 0 0 0 0 0 0 0 0 0 0 0 0 210 29 28 27 26 25 24 23 22 21 20
0 0 0 0 0 0 0 0 0 0 0 0 0 0Werte von 0 bis 1799
Positionen pro Umdrehung x Anzahl der Umdrehungen
Drehrichtung
Bei welcher Drehrichtung steigende Positionswerte ausgegeben werden, stel-len Sie im Textfeld Drehrichtung ein.
Drehrichtung rechts:Steigende Positionswerte bei Drehung im Uhrzeigersinn mit Blick auf dieGeberwelle
Drehrichtung links:Steigende Positionswerte bei Drehung gegen den Uhrzeigersinn mit Blick aufdie Geberwelle.
Festlegung der DrehrichtungDie Drehrichtung für steigende Positionswerte können Sie entweder durchSoftware-Programmierung oder Hardware-Programmierung ändern.
Software-ProgrammierungWird die Programmierung über Software ausgewählt, kann die Drehrichtungfür steigende Positionswerte während des Betriebes nicht umgestellt werden.
Hardware-Programmierung (Pin 2)Wählt man Hardware (Pin 2) aus, kann durch dauerhaftes Anlegen der Versor-gungsspannung an Pin 2 der Steckverbindung die Drehrichtung für steigendePositionswerte auch ohne Programmiersoftware geändert werden.
PROGRAMMIERUNG
Seite 14
Skalierungs-Einstellung
Die Festlegung der Skalierung erfolgt durch Mausklick auf ein weiß hinterleg-tes Textfeld in dem Bereich Skalierungs-Einstellung.
Es erscheint folgende Eingabemaske:
Sie aktivieren die Skalierung durch Anwahl von aktiv im Textfeld Skalierung.
SkalierungsartSie haben zwei Möglichkeiten den Geber zu skalieren:
Meßschritte/UmdrehungTragen Sie die Anzahl der Meßschritte pro Umdrehung in das entsprechendeFeld ein. Der Geber errechnet sich intern den entsprechenden Skalierungsfak-tor und gibt pro Umdrehung die programmierte Anzahl der Meßschritte aus.
Eingabe des FaktorsGeben Sie in das Textfeld Skalierungsfaktor den Faktor kleiner 1 ein. Der Dreh-geber verrechnet die Grundauflösung von 8192 Schritten mit diesem Faktorentsprechend der Formel:Meßschritte/Umdrehung = Skalierungsfaktor x 8192 SchritteDie Genauigkeit der internen Berechnung liegt bei ±1 Meßschritt pro Umdre-hung.
Anzahl der UmdrehungenIn diesem Parameter legen Sie fest, nach welcher Anzahl von Umdrehungender Geber wieder mit dem Positionswert 1 beginnt. Damit ist es möglich dengesamten Meßbereich einzuschränken oder bewußte Nulldurchgänge zuerzeugen.
PROGRAMMIERUNG
Seite 15
DEU
TSC
H
Offset-/Preset-Werte
OffsetMit Hilfe des Offset-Wertes wird der aktuelle Positionswert korrigiert. Dadurchergibt sich ein neuer Positionswert.
Neuer Positionswert = Positionswert - Offset
Preset-WertDie Ausführung der Preset-Wert-Funktion setzt den aktuellen Positionswert aufden gewünschten Preset-Wert. Damit ist der Abgleich des Gebers mit derMaschinenachse möglich.
Neuer Positionswert = Preset-Wert
Bei der Programmierung der Offset- und Preset-Werte legen Sie zuerst fest, obdie Funktionsausführung durch Programmierung per Software oder durchHardware-Pins über die Steckverbindung erfolgt. Die entsprechende Auswahltreffen Sie im Menü Drehgeber-Daten unter Offset- und Preset-Werte.
Bei der Auswahl durch Programmierung können Sie einen Preset- oder Offset-Wert eingeben. Der festgelegte Wert kann ausschließlich im Programmierbe-trieb eingestellt werden.
Bei der Auswahl durch Hardware, können zwei beliebige Preset-Werte im Geberhinterlegen, die durch kurzzeitiges Anlegen von UP (t > 1 ms) an die entsprechen-den Hardware-Pins (Pin 5 bzw. Pin 6) der Steckverbindung übernommen werden.
PROGRAMMIERUNG
Seite 16
Offset- und Preset-Werte ... durch Programmierung
Gehen Sie entweder im Roll-down-Menü Drehgeber-Daten über Offset- undPreset-Werte in die Auswahl durch Programmierung oder klicken Sie auf dasweiß hinterlegte Textfeld Software-Offset.
Es erscheint folgende Eingabemaske:
Wählen Sie Eingabe des Offset-Werts oder Offset-Wert aus Preset errechnenund tragen Sie den gewünschten Wert in das entsprechende Feld ein. Nach-dem Sie das Schaltfeld Wert zum Geber senden betätigen, wird im Drehgeberdie Positionsumrechnung durchgeführt.
Offset- und Preset-Werte ... durch Hardware-Pins
Gehen Sie entweder im Roll-down-Menü Drehgeber-Daten über Offset- undPreset-Werte in die Auswahl durch Hardware-Pins oder Klicken Sie auf das weißhinterlegte Textfeld Hardware-Preset.
Es erscheint folgende Eingabemaske:
PROGRAMMIERUNG
Seite 17
DEU
TSC
H
Sie können zwei beliebige Positionswerte als Preset-Wert 1 und Preset-Wert 2hinterlegen. Um die beiden Preset-Werte zu aktivieren, kennzeichnen Sie dieentsprechenden Kontrollfelder und schließen das Fenster mit einem Klicken aufdie Schaltfläche OK.
Default-Einstellung:Preset-Wert 1:Hardware-Pin 5 0 (vorbelegt mit der NullPosition des Drehgebers)
Preset-Wert 2:Hardware-Pin 6 33554431 (vorbelegt mit der Endposition des Drehgebers)
Parameter-Übertragung
Nachdem Sie die Geberparameter in den entsprechenden Eingabefeldern ein-getragen bzw. geändert haben, übertragen Sie die Parameter mit Betätigen derSchaltfläche Parameter zum Geber senden.
Die erfolgreiche Übertragung wird durch folgende Meldung betätigt, die Siemit Betätigen der Schaltfläche OK quittieren:
PROGRAMMIERUNG
Seite 18
5 Überprüfen des Drehgebers
Durch Mausklick auf das Schaltfeld Geber testen, werden die Positionsfelderaktiviert und die grafische Darstellung aktualisiert:
Positionsfelder
Die Positionswerte haben folgende Bedeutung:• Multiturn aktuelle Umdrehungszahl der programmierten Anzahl Umdrehungen• Singleturn aktueller Singleturn-Positionswert der programmierten Auflö-
sung pro Umdrehung• Position aktueller Positionswert = Umdrehungszahl x Singleturn-Positionswert• Basiswert nicht skalierter Positionswert des Gebers
Grafische Darstellung
Die programmierten Parameter werden durch die grafische Darstellung veran-schaulicht. Vor allem zeigt sie die Lage des skalierten Positionswertes in Bezugzum Basiswert.
Die auf dem Bildschirm grün dargestellten Werte zeigen die maximale Auflö-sung und die Anzahl der maximal möglichen Umdrehungen des eingesetztenDrehgebers.
Die skalierte Auflösung wird in roter Farbe dargestellt. Die steigende Geradeder „Sägezahn-Kurve“ stellt den skalierten Meßbereich dar.
Der blaue Punkt zeigt den aktuellen skalierten Posiotionswert des Drehgebers.
ÜBERPRÜFEN DES DREHGEBERS
Seite 19
DEU
TSC
H
6 Speicherung der Geberparameter
Es ist ratsam, die im Drehgeber hinterlegten Parameter in einer Datendateiabzulegen. Dies ist gerade dann sinnvoll, wenn ein Gerät ausgetauscht werdensoll.
Klicken Sie in der oberer Leiste auf Datei und im Roll-down-Menü auf Spei-chern unter.Achten Sie darauf, daß alle unterschiedlichen Parametersätze gespeichert wer-den, um eine spätere Rückverfolgung der Daten in Bezug auf Gerätebezeich-nung bzw. Seriennummer zu gewährleisten.
SPEICHERUNG DER GEBERPARAMETER
Seite 20
7 Weitere Drehgeberinformationen
Mit Hilfe der Programmier-Software haben Sie zusätzlich die Möglichkeit überdie RS-232-C-Schnittstelle Drehgeber-interne Daten abzufragen. Die Auswahlerfolgt über das Roll-down-Menü Drehgeber-Daten.
Software- und Hardware-VersionIm Menüpunkt Software- und Hardware-Version finden Sie die Version der imDrehgeber hinterlegten Software sowie die Version der verwendeten Drehge-ber-Hardware.
Ident- und SeriennummerIn dem Menüpunkt Ident- und Seriennummer können folgende Informationenabgefragt werden:Identnummer des DrehgebersSeriennummer des DrehgebersSeriennummer der MikroprozessorplatineAnzahl der maximal unterscheidbaren UmdrehungenAnzahl der programmierbaren Schritte pro Umdrehung
Diese Informationen idenzifizieren das Gerät eindeutig, lassen aber keine Rück-schlüsse auf die programmierten Parameter zu.
Es erscheint folgende Maske:
WEITERE DREHGEBERINFORMATIONEN
Seite 21
DEU
TSC
H
BetriebsstatusDie programmierbaren Drehgeber bieten umfangreiche Diagnosemöglichkei-ten. Dabei wird zwischen Alarm- und Warnmeldungen unterschieden.
AlarmmeldungenAlarmmeldungen werden ausgelöst, wenn Störungen am Gerät einen fehler-freien Betrieb des Drehgebers nicht mehr gewährleisten. Der Positionswert istsehr wahrscheinlich nicht mehr korrekt.
Mögliche Alarmmeldungen sind:
Positionswert fehlerhaft:Der Codeanschluß im Drehgeber stimmt nicht mehr.
Versorgungsspannungsfehler:Die Versorgungsspannung ist außerhalb des spezifizierten Bereiches.
Zu hoher Ausgangsstrom:Das Gerät hat eine zu große Stromaufnahme.
Inbetriebnahmediagnose:Bei der Systemdiagnose während des Einschaltvorganges ist ein Fehler aufge-treten.
Speicherfehler:Die Paramater konnten nicht fehlerfrei im Speicherbaustein abgelegt werden.
WarnmeldungenBei Warnmeldungen handelt es sich um Störungen am Gerät, die einen fehler-freien Betrieb des Drehgebers gefährden. Der Positionswert kann eventuellnicht mehr korrekt sein.*)
Mögliche Warnmeldungen sind:
Maximale Abtastfrequenz überschritten:Die Anzahl der Umdrehungen pro Minute liegt außerhalb des spezifiziertenBereiches.
Betriebstemperatur überschritten:Der Drehgeber wird außerhalb des Arbeitstemperaturbereiches betrieben.
WEITERE DREHGEBERINFORMATIONEN
Seite 22
Beleuchtungsreserve:Letztmalig konnte die Beleuchtungseinheit nachgeregelt werden.*)
CPU-Watchdog:Die CPU-Einheit zeigt eine Funktionsstörung.*)
Maximale Betriebszeit:Die maximal spezifizierte Betriebszeit des Drehgebers wurde erreicht.*)
*) Es empfiehlt sich ein Austausch des Drehgebers beim nächsten Wartungs-intervall.
Batterie-Ladung:Die Ladungsstärke der Batterieeinheit ist nicht mehr ausreichend.
Referenzmarke:Die Referenzmarke wurde am Gerät erreicht.
Programmierbare Drehgeber unterstützen unterschiedliche Alarm- und Warn-meldungen. Die unterstützten Funktionen sind in schwarzer Schrift dargestellt.Nichtunterstützende Funktionen erscheinen in weißer Schrift.
Folgende Maske erscheint:
Seite 23
DEU
TSC
H
WEITERE DREHGEBERINFORMATIONEN
Betriebszeit
Während der Drehgeber unter Spannung steht, wird alle 6 Minuten dieBetriebszeit des Gerätes in 0,1h Intervallen gespeichert.
Mit dem Menüpunkt Betriebszeit erscheint folgende Maske:
Seite 24
WEITERE DREHGEBERINFORMATIONEN
Seite 25
DEU
TSC
H
WEITERE DREHGEBERINFORMATIONEN
General conditions for using the software
1.By settling the purchase price or downloading from the Internet pages www.ifm-electronic.com the buyer has not purchased the program itself butonly the right of using the program for an indefinite period of time.
2.The buyer may only make copies of the diskette to save the program or tocopy it to the hard disk. Reselling such copies to third parties is not allowed.The ownership remains with the manufacturer.
3.The transfer of the right of using the program to a third party requires themanufacturer's express written consent. The transfer terminates the firstbuyer's right of use. All back-up copies must be handed over or destroyedwithout delay. The manufacturer must be informed accordingly.
4.The manufacturer cannot be held liable for any damage which can arise byusing this program.
Trademark
Windows 3.1, Windows 95 and Windows NT are registered trademarks.
Page 26
GENERAL CONDITIONS FOR USING THE SOFTWARE
Contents
1 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 28
Short description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 28
PC requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 29
Software information . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 29
2 Programming accessories and set-up . . . . . . . . . . . . . . . . .page 30
3 Software start-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 31
Installation under Windows 3.x . . . . . . . . . . . . . . . . . . . . .page 31
Installation under Windows 95/NT . . . . . . . . . . . . . . . . . .page 31
Definition of the RS-232-C communication . . . . . . . . . . . .page 31
4 Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 33
Code output parameters . . . . . . . . . . . . . . . . . . . . . . . . .page 34
Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 35
Data format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 36
Direction of rotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 38
Scaling parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 39
Offset/preset values . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 40
Offset and preset values ... by software . . . . . . . . . . . . . . .page 41
Offset and preset values ... by hardware . . . . . . . . . . . . . .page 41
Parameter transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 42
5 Encoder test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 43
Position fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 43
Graphic representation . . . . . . . . . . . . . . . . . . . . . . . . . . .page 43
6 Saving the encoder parameters . . . . . . . . . . . . . . . . . . . . . .page 44
7 More encoder information . . . . . . . . . . . . . . . . . . . . . . . . .page 45
Software/hardware version . . . . . . . . . . . . . . . . . . . . . . . .page 45
Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 45
Operating status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 46
Operating time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 48
Page 27
ENG
LISH
CONTENTS
1 General information
Short descriptionThe software enables simple programming of ifm electronic's absolute enco-ders with programmable SSI interface by means of a personal computer (PC).
The following parameters and functions can be programmed:
*) also possible by hardware pins
It is also possible to check the set values. This is specially necessary for thereplacement of units.
Always check the correct setting of the programmable encoders beforecommissioning. The basic factory setting may lead to serious malfunctionof the plant!
The programming software incl. user manual can be obtained fromifm electronic, article no E60175 (German), E60183 (English).
Page 28
GENERAL INFORMATION
Code output parameters • Output format of the position values in Gray orbinary code
• Data format: "Christmas tree" (SSI) or synchro-nous-serial, right adjusted
• Direction of rotation for rising position values *Scaling parameters • Singleturn resolution up to max. 8192 positions
per revolution• Multiturn resolution up to max. 4096 distin-
guishable revolutions
Offset/preset values • For zero positioning, setting or compensation *
PC requirementsRequired hardware:
• Minimum: IBM PC or 100% compatible• Recommended: 486 or higher
Required software:• Windows 3.1• Windows 95• Windows NT
Software informationThe version number of the programming software is shown in the menu pointHelp/About.
The display is as follows:
If problems occur when SSI encoders are programmed, please contact yournearest ifm office.
Page 29
ENG
LISH
GENERAL INFORMATION
2 Programming accessories and setup
The following products can be supplied as accessories:Programming cable order no. E60180Wirable socket order no. E60157
Programming set-up
ConnectionThe programming cable directly connects the encoder with the COM interfaceof the PC and is used for the voltage supply (10 to 30V) if no controller is con-nected.
Page 30
PROGRAMMING ACCESSORIES AND SETUP
Up�
�
E60180
1) Software order no. E60179 (German), E60183 (English) or free of charge under www.ifm-electronic.com
1)
3 Software start-up
Installation under Windows 3.xInsert the diskette into the drive. Select the diskette drive in the file manager.Select the file Setup.exe in the directory . . :\English and follow the installationprogram. To start, call the program "PROGSSI.exe".
Installation under Windows 95/NTInsert the diskette into the drive. Select the diskette drive in the explorer. Selectthe file Setup.exe in the directory . . :\English and follow the installation pro-gram. To start, call the program "PROGSSI.exe".
Definition of the RS-232-C communicationAfter the start of the programming software define the communication para-meters for the RS-232-C interface on the PC. To do so, select Communicationin the menu bar.
Page 31
ENG
LISH
SOFTWARE START-UP
The following window opens:
Now select the COM address to which the programming cable is connected inthe pull-down menu Port.
The functions Change program baud rate and Change encoder baud rate arenot active. It is not possible to select the baud rate.
Default setting
Port COM2Baud rate 9600 kBaud
If you want to save the set interface parameters permanently, activate Saveport and baud rate to file and press Execute.
Page 32
SOFTWARE START-UP
4 ProgrammingProgramming is done by entering all requested parameters in the correspond-ing Windows input masks and by transferring the parameters to the absoluteencoder.
Before you start to enter the parameters it is necessary to read the parametersof the encoder to be programmed into the software. To do so, press the but-ton Read parameters from encoder. Now the parameter fields of the programmask adapt to the software version of the encoder.
After successful reading of the parameters the display is as follows:
To show the read parameters in the display windows of the program maskpress the button Yes.
Page 33
ENG
LISH
PROGRAMMING
Code output parameters
To define the code output parameters click on the text field Output Code.
The following input mask is displayed:
Page 34
PROGRAMMING
Code
The encoder enables the transfer of the absolute position values in two differ-ent code types.
Binary codeThe binary code forms the numerical value from the weighted sum of powersof 2. In binary terms the numerical value 13 means 1 x 2³ + 1 x 2² + 0 x 21 +1 x 20 = 13, i.e. the binary number for 13 is 1101.
Gray codeThe characteristic feature of the Gray code is that it proceeds by one step, i.e.two successive position values differ in exactly one code position. So the max.read-out error when changing from one position to the next is the amount ofa ¼ grating period of the finest track.
To select the correct code read the description of your interface card to seewhich code can be processed.
Page 35
ENG
LISH
PROGRAMMING
Track 4
Track 3
Track 2
Track 1
Position 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Track 4
Track 3
Track 2
Track 1
Position 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Data formatThere are two transfer formats for the synchronous-serial transfer.
"Christmas tree" format (SSI)With the SSI transfer of the position values in "Christmas tree" format a dis-tinction is always made between multiturn part (12 bits = 4096 revolutions)and singleturn part (13 bits = 8192 positions per revolution). This is why databits are always read via 25 clocks which, however, can vary as regards their datacontents. The resolution of the multiturn part reduced by scaling is filled byplacing "zeros" at the beginning. With a reduced singleturn resolution the"zeros" are placed at the end.
Example: 12 bits singleturn, 9 bits multiturn (Gray code)
Example of non-binary scalingSingleturn: 360 positionsMultiturn: 5 revolutions (binary code)
Page 36
PROGRAMMING
clock 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
4096 U12 U11 U10 U9 U8 U7 U6 U5 U4 U3 U2 U1 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13 8192
2048 0 U11 U10 U9 U8 U7 U6 U5 U4 U3 U2 U1 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 0 4096
1024 0 0 U10 U9 U8 U7 U6 U5 U4 U3 U2 U1 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 0 0 2048
512 0 0 0 U9 U8 U7 U6 U5 U4 U3 U2 U1 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 0 0 0 1024
8 0 0 0 0 0 0 0 0 0 U3 U2 U1 P1 P2 P3 P4 0 0 0 0 0 0 0 0 0 16
4 0 0 0 0 0 0 0 0 0 0 U2 U1 P1 P2 P3 0 0 0 0 0 0 0 0 0 0 8
2
multiturnnumber of the revolutions
singleturnpositions per revolution
0 0 0 0 0 0 0 0 0 0 0 U1 P1 P2 0 0 0 0 0 0 0 0 0 0 0 4
clock 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
0 0 0 0 0 0 0 0 0 22 21 20 28 27 26 25 24 23 22 21 20 0 0 0 0
multiturnnumber of the revolutions
singleturnpositions per revolution
0 0 0 0 0 0 0 0 0values from
1 to 5
values from
0 to 3590 0 0 0
Synchronous-serial right-adjusted data formatAs with the Christmas tree format the encoder always provides data bits via 25clocks. But in the case of scaling all "zeros" of the whole position information(= multiturn positions x singleturn positions) are always placed at the begin-ning.
Example: 12 bits singleturn, 9 bits multiturn (binary code)
Example of non-binary scaling:Singleturn: 360 positionsMultiturn: 5 revolutions (binary code)
To select the correct data format please read the description of your interfacecard to see which format can be processed.
If for scaling a total resolution (units/revolution x revolutions) < 8192 isselected, the position value is automatically transferred via 13 clocks. Ifthe total resolution is > 8192, the position value is transferred via 25clocks.
Page 37
ENG
LISH
PROGRAMMING
clock 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
0 0 0 0 220 219 218 217 216 215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20
0 0 0 0values from 0 to 2097151
positions per revolution x number of the revolutions
clock 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
0 0 0 0 0 0 0 0 0 0 0 0 0 0 210 29 28 27 26 25 24 23 22 21 20
0 0 0 0 0 0 0 0 0 0 0 0 0 0values from 0 to 1799
positions per revolution x number of the revolutions
Direction of rotation
The direction of rotation which provides rising position values is set in the textfield Sequence:
Sequence clockwise (cw)Rising position values with clockwise rotation seen on the encoder shaft
Sequence counterclockwise (ccw)Rising position values with counterclockwise rotation seen on the encoder shaft
Sequence modeThe direction of rotation for rising position values can be changed either by Setby software or Set by hardware input pin.
Set by softwareIf software is selected, the direction of rotation for rising position values can-not be changed during the operation.
Set by hardware input pin (pin 2)If hardware (pin 2) is selected, the direction of rotation for rising position valuescan be changed without software by permanently applying the supply voltageto pin 2.
Page 38
PROGRAMMING
Scaling parameters
Scaling is defined by clicking into the fields.The following input mask is displayed:
You activate scaling by selecting Enabled in the text field Scaling.
Scaling typeThere are two options to scale the encoder:
Set by units / revolutionEnter the number of the units per revolution in the corresponding field. Theencoder internally calculates the suitable scaling factor and provides the pro-grammed number of units per revolution.
Set by scaling factorIndicate the factor less than 1 in the text field Scaling factor. The encoder cal-culates the basic resolution of 8192 positions with this factor according to theformula:units/revolution = scaling factor x 8192 units
The accuracy of the internal calculation is ± 1 unit per revolution.
Number of the revolutionsThis parameter defines the number of revolutions after which the encoderstarts again with the position value 1. This enables restriction of the wholemeasuring range or generation of deliberate zero crossovers.
Page 39
ENG
LISH
PROGRAMMING
Offset/preset values
OffsetWith the offset value the current position value is corrected. This results in anew position value.
New position value = position value - offset
Preset valueExecuting the preset value function sets the current position value to therequested preset value. This enables alignment of the encoder with themachine axis.
New position value = preset value
For programming the offset and preset values first define whether the execu-tion of the function is made by Software or Hardware. Select this in the menuEncoder data/Offset and preset values.
With the selection of Software you can enter a preset or offset value. Thedefined value can only be set in the programming mode.
With the selection of Hardware you can enter two preset values in the encoderwhich are activated by briefly applying the supply voltage (t > 1 ms) to the cor-responding hardware pins (pin 5 or pin 6).
Page 40
PROGRAMMING
ENG
LISH
Offset and preset values ... by software
Either select Software in the pull-down menu Encoder data/Offset and presetvalues or click on the white shaded text field Offset.
The following input mask is displayed:
Select Define offset direct or Calculate offset from preset and enter the reque-sted value in the corresponding field. After pressing the button Write value toencoder the encoder calculates the positions.
Offset and preset values ... by hardware
Either select Hardware in the pull-down menu Encoder data/Offset and presetvalues or click on the white shaded text field Hardware Preset.
The following input mask is displayed.
PROGRAMMING
Page 41
You can enter two position values as preset value 1 and preset value 2. Toactivate the two preset values tick the corresponding control fields and closethe window by pressing OK.
Default settingPreset value 1:Hardware pin 5 0 (default: zero position of the encoder)
Preset value 2:Hardware pin 6 33554431 (default: end position of the encoder)
Parameter transfer
After you have entered or changed the encoder parameters in the correspon-ding input fields the parameters are transferred by pressing the button Writeparameters to encoder.
The following message which is acknowledged by pressing OK confirms thesuccessful transfer.
Page 42
PROGRAMMING
5 Encoder test
By clicking on the button Test encoder the position fields are activated and thegraphic representation is updated:
Position fieldsThe meaning of the position values is as follows:
• Multiturn current number of revolutions of the programmed number ofrevolutions
• Singleturn current singleturn position value of the programmed resolu-tion per revolution
• Position current position value = number of revolutions x singleturnposition value
• Disc data non scaled position value of the encoder
Graphic representation
The programmed parameters are illustrated by the graphic representation. Itmainly shows the position of the scaled position value referred to the disc data.
The values shown in green on the screen indicate the maximum resolution andthe number of the maximum possible revolutions of the encoder used.
The scaled resolution is shown in red. The rising line of the "saw-tooth" curverepresents the scaled measuring range.
The blue dot shows the current scaled position value of the encoder.
Page 43
ENG
LISH
ENCODER TEST
6 Saving the encoder parameters
We recommend saving the encoder parameters in a data file. This is speciallyuseful when a unit is to be replaced.
Click on File in the upper bar and on Save as in the pull-down menu. Makesure that all different parameter sets are saved so that the data concerning thedesignation of the unit and ser. number can be traced later on.
Page 44
SAVING THE ENCODER PARAMETERS
7 More encoder information
With the programming software you can also look at internal encoder data viathe RS-232-C interface. This is selected via the pull-down menu point Encoderdata.
Software/hardware version
The menu point Software/hardware version indicates the version of the enco-der software and hardware used.
IdentificationIn the menu point Identification you can look at the following information:Type no.Base encoder ser. no.Interface card ser. no.Number of the maximum distinguishable revolutionsMaximum singleturn resolution
This information clearly identifies the unit, but the programmed parameters arenot shown.
The following mask is displayed:
Page 45
ENG
LISH
MORE ENCODER INFORMATION
Operating statusThe programmable encoders provide extensive diagnostic options. A distinctionis made between alarms and warnings.
AlarmsAlarms are given when the correct operation of the encoder is no longerensured because of an error in the encoder. The position value is most proba-bly no longer correct.
Possible alarms:
Position error:The output code in the encoder is no longer correct.
Supply voltage error:The supply voltage is outside the specified range.
Current too high:The unit draws too much current.
Commissioning diagnostics:For the system diagnostics an error has occured during the switch-on operation.
Memory error:The parameters could not be correctly stored in the memory chip.
Warnings
Warnings are given when the correct operation of the encoder is no longerensured because of an error in the encoder. The position value is possibly no longer correct.*)
Possible warnings:
Frequency exceeded:The number of the revolutions per minute is outside the specified range.
Temperature exceeded:The encoder is operated outside the operating temperature range.
Page 46
MORE ENCODER INFORMATION
Light control reserve:The light unit could be re-adjusted the last time.*)
CPU watchdog status:There is a malfunction of the CPU unit.*)
Operating time limit warningThe maximum specified operating time of the encoder was achieved.*)
Battery charge:The battery unit is no longer sufficiently charged.
Reference point:The reference point was reached on the unit.
*) A replacement of the encoder during the next maintenance is recommended.
Programmable encoders support different alarms and warnings. The support-ed functions are indicated in black. Functions which are not supported are indi-cated in white.
The following mask is displayed:
Page 47
ENG
LISH
MORE ENCODER INFORMATION
Operating time
While voltage is applied to the encoder the operating time of the unit is storedevery 6 minutes (0.1h intervals).
With the menu point Operating time the following mask is displayed:
Page 48
MORE ENCODER INFORMATION
Page 49
ENG
LISH
Sach
nr.
7014
21/
00
10 /
99
Tech
nisc
he Ä
nder
unge
n be
halte
n w
ir un
s oh
ne v
orhe
rige
Ank
ündi
gung
vor
.
Pap
ier
chlo
rfre
i