Änderungs-Index Änderung Datum Index Erstausgabe 16.11.04 Neue Geräte-Stammdaten-Datei (GSD): TR09AAAB.GSD, 07/2005 28.11.05 Angaben zur UL / CSA – Zulassung 13.07.06 Beschreibung für Endschalterfunktion ergänzt 31.07.06 Korrektur Kap. „Optische Anzeigen“: 01.04.08 grüne LED 10 Hz meldet auch einen Positionsfehler Schrittzahl / Umdrehung bis ≤ 15 Bit, EMV-Normen angepasst 26.11.09 Hinweis für die TR-Modes: 06.04.10...
Allgemeines 1 Allgemeines Das vorliegende schnittstellenspezifische Benutzerhandbuch beinhaltet folgende Themen: • Ergänzende Sicherheitshinweise zu den bereits in der Montageanleitung definierten grundlegenden Sicherheitshinweisen • Installation • Inbetriebnahme • Konfiguration / Parametrierung • Störungsbeseitigung und Diagnosemöglichkeiten Da die Dokumentation modular aufgebaut ist, stellt dieses Benutzerhandbuch eine Ergänzung anderen Dokumentationen...
Die Produkte sind durch aufgeklebte Typenschilder gekennzeichnet und sind Bestandteil einer Anlage. Je nach Ausführung gelten somit zusammen folgende Dokumentationen: • siehe Kapitel „Mitgeltende Dokumente“ in der Montageanleitung www.tr-electronic.de/f/TR-ECE-BA-DGB-0035 • optional: -Benutzerhandbuch mit Montageanleitung 1.2 Verwendete Abkürzungen / Begriffe im Uhrzeigersinn (clockwise) entgegen dem Uhrzeigersinn (counterclockwise) Direct Data Link Mapper, Schnittstelle zwischen PROFIBUS-DP DDLM...
Zusätzliche Sicherheitshinweise 2 Zusätzliche Sicherheitshinweise 2.1 Symbol- und Hinweis-Definition bedeutet, dass Tod oder schwere Körperverletzung eintre- ten kann, wenn die entsprechenden Vorsichtsmaßnahmen nicht getroffen werden. bedeutet, dass eine leichte Körperverletzung eintreten kann, wenn die entsprechenden Vorsichtsmaßnahmen nicht getroffen werden. bedeutet, dass ein Sachschaden eintreten kann, wenn die entsprechenden Vorsichtsmaßnahmen nicht...
2.3 Organisatorische Maßnahmen • Dieses Benutzerhandbuch muss ständig am Einsatzort des Mess-Systems griffbereit aufbewahrt werden. • Das mit Tätigkeiten am Mess-System beauftragte Personal muss vor Arbeits- beginn Montageanleitung, insbesondere Kapitel "Grundlegende Sicherheitshinweise", und dieses Benutzerhandbuch, insbesondere das Kapitel "Zusätzliche Sicherheitshinweise", gelesen und verstanden haben.
PROFIBUS Informationen 3 PROFIBUS Informationen PROFIBUS ist ein durchgängiges, offenes, digitales Kommunikationssystem mit breitem Anwendungsbereich allem Fertigungs- Prozessautomatisierung. PROFIBUS ist für schnelle, zeitkritische und für komplexe Kommunikationsaufgaben geeignet. Die Kommunikation von PROFIBUS ist in den internationalen Normen IEC 61158 und IEC 61784 verankert.
4 Installation / Inbetriebnahmevorbereitung 4.1 RS485 Übertragungstechnik Alle Geräte werden in einer Busstruktur (Linie) angeschlossen. In einem Segment können bis zu 32 Teilnehmer (Master oder Slaves) zusammengeschaltet werden. Am Anfang und am Ende jedes Segments wird der Bus durch einen aktiven Busabschluss abgeschlossen.
Installation / Inbetriebnahmevorbereitung 4.2 Variante mit Kabelverschraubungen 4.2.1 Anschluss Um den Anschluss vornehmen zu können, muss zuerst die Anschlusshaube vom Mess-System abgenommen werden. Dazu werden die vier Schrauben gelöst und die Haube abgezogen. Abbildung 1: Abnehmen der Anschlusshaube PROFIBUS_IN Pin 1 PROFIBUS Data A Pin 2 PROFIBUS Data B...
4.2.2 Bus-Terminierung Ist das Mess-System der letzte Teil- nehmer im PROFIBUS-Segment, ist der Bus durch den Terminierungsschalter = ON abzuschließen. In diesem Zustand wird der weiterführende PROFIBUS abgekoppelt. 4.2.3 Bus-Adressierung Gültige PROFIBUS-Adressen: 3 – 99 : Einstellung der 1er-Stelle : Einstellung der 10er-Stelle Einstellung einer ungültigen...
Page 14
Installation / Inbetriebnahmevorbereitung Montage für Kabelverschraubung, Variante A Pos. 1 Überwurfmutter Pos. 2 Dichteinsatz Pos. 3 Kontakthülse Pos. 5 Einschraubstutzen 1. Schirmumflechtung / Schirmfolie auf Maß "X" zurückschneiden. 2. Überwurfmutter (1) und Dichteinsatz / Kontakthülse (2) + (3) auf das Kabel aufschieben.
Page 15
Montage für Kabelverschraubung, Variante B Pos. 1 Überwurfmutter Pos. 2 Klemmeinsatz Pos. 3 innerer O-Ring Pos. 4 Einschraubstutzen 1. Schirmumflechtung / Schirmfolie auf Maß "X" + 2mm zurückschneiden. 2. Überwurfmutter (1) und Klemmeneinsatz (2) auf das Kabel aufschieben. 3. Die Schirmumflechtung / Schirmfolie um ca. 90° umbiegen. 4.
4.3.2 Bus-Terminierung Ist das Mess-System der letzte Teil- nehmer im PROFIBUS-Segment, ist der Bus durch den Terminierungsschalter = ON abzuschließen. In diesem Zustand wird der weiterführende PROFIBUS abgekoppelt. 4.3.3 Bus-Adressierung Gültige PROFIBUS-Adressen: 3 – 99 : Einstellung der 1er-Stelle : Einstellung der 10er-Stelle Einstellung einer ungültigen...
Inbetriebnahme 5 Inbetriebnahme 5.1 Geräte-Stammdaten-Datei (GSD) Um für PROFIBUS eine einfache Plug-and-Play Konfiguration zu erreichen, wurden die charakteristischen Kommunikationsmerkmale von PROFIBUS-Geräten in Form eines elektronischen Gerätedatenblatts (Gerätestammdaten- Datei, GSD-Datei) festgelegt. Durch festgelegte Dateiformat kann Projektierungssystem Gerätestammdaten des PROFIBUS-Mess-Systems einfach einlesen und bei der Konfiguration des Bussystems automatisch berücksichtigen.
5.3 Anlauf am PROFIBUS Bevor das Mess-System in den Nutzdatenverkehr (Data_Exchange) aufgenommen werden kann, muss der Master im Hochlauf das Mess-System zuerst initialisieren. Der dabei entstehende Datenverkehr zwischen dem Master und dem Mess-System (Slave) gliedert sich Parametrierungs-, Konfigurierungs- Datentransferphase. Hierbei wird überprüft, ob die projektierte Sollkonfiguration mit der tatsächlichen Gerätekonfiguration übereinstimmt.
Inbetriebnahme 5.4 Bus-Statusanzeige Das Mess-System verfügt über zwei LEDs in der Anschlusshaube. Eine rote LED (Bus Fail) zur Anzeige von Fehlern und eine grüne LED (Bus Run) zur Anzeige der Statusinformation. Beim Anlaufen des Mess-Systems blinken beide LEDs kurz auf. Danach hängt die Anzeige vom Betriebszustand des Mess-Systems ab.
Parametrierung und Konfiguration 7 Parametrierung und Konfiguration Parametrierung Parametrierung bedeutet, einem PROFIBUS-DP Slave vor dem Eintritt in den zyklischen Austausch von Prozessdaten bestimmte Informationen mitzuteilen, die er für den Betrieb benötigt. Das Mess-System benötigt z.B. Daten für Auflösung, Zählrichtung usw. Üblicherweise stellt das Konfigurationsprogramm für den PROFIBUS-DP Master eine Eingabemaske zur Verfügung, über die der Anwender die Parameterdaten eingeben, oder aus Listen auswählen kann.
7.1 Übersicht 7.1.1 CEx-58, TR09AAAB.GS_ Konfiguration Betriebsparameter Features Länge PNO Class 1-16 Keine Skalierung des Mess-Systems, das Mess- - Zählrichtung 16 Bit IN Seite 25 System hat die Grundauflösung laut Typenschild 16 Byte Diagnosedaten PNO Class 1-32 Zählrichtung - Zählrichtung 32 Bit IN Seite 25 - Zählrichtung...
Parametrierung und Konfiguration 7.1.2 COx-58, TR0DAAAB.GS_ Konfiguration Betriebsparameter Features Länge PNO Class 1-16 Keine Skalierung des Mess-Systems, das Mess- - Zählrichtung 16 Bit IN Seite 25 System hat die Grundauflösung laut Typenschild 16 Byte Diagnosedaten PNO Class 1-32 Zählrichtung - Zählrichtung 32 Bit IN Seite 25 - Zählrichtung...
7.10 Preset-Justage-Funktion Gefahr von Körperverletzung und Sachschaden durch einen Istwertsprung bei Ausführung der Preset-Justage-Funktion! • Die Preset-Justage-Funktion sollte Mess-System-Stillstand ausgeführt werden, bzw. muss resultierende Istwertsprung programmtechnisch und anwendungstechnisch erlaubt sein! Verfügbarkeit Seite PNO CLASS 2 16 Bit PNO CLASS 2 32 Bit 26, 27 TR-Mode Position TR-Mode Position+Velocity...
Parametrierung und Konfiguration 7.11 Beschreibung der Betriebsparameter 7.11.1 Zählrichtung Verfügbarkeit Seite PNO CLASS 1 16 Bit PNO CLASS 1 32 Bit 25, 25 PNO CLASS 2 16 Bit PNO CLASS 2 32 Bit 26, 27 TR-Mode Position TR-Mode Position+Velocity 28, 29 TR-Mode High Resolution TR-Mode High Resolution+Velocity 31, 32...
7.11.4 Inbetriebnahmefunktion Verfügbarkeit Seite TR-Mode Position TR-Mode Position+Velocity 28, 29 Mit der Inbetriebnahmefunktion können verschiedene Steuer- und Statusbits über den Data Exchange genutzt werden. ● Ausgeschaltet kein Status (Default) - Positionsausgabe auf den Bits 2 – 2 , die Statusbits 2 –...
Parametrierung und Konfiguration Ablauf Einstellung der Zählrichtung M = Master Status-/Steuerbits Datenbits S = Slave M-->S Mit Bit 28 wird die eingestellte Zählrichtung umgeschaltet von 0 auf 1, bzw. 1 auf 0 S-->M Das Mess-System quittiert nun in Bit 0 und Bit 28 mit der neu eingestellten Zählrichtung 0 / 1 0 / 1 0 / 1 M-->S...
7.11.6 Skalierungsfunktion Verfügbarkeit Seite PNO CLASS 2 16 Bit PNO CLASS 2 32 Bit 26, 27 Legt fest, ob das Mess-System die Position nach Maßgabe der Parameter "Schritte pro Umdrehung" "Messlänge in Schritten" skaliert. Ist Klasse 2 ausgeschaltet, kann der Positionswert nicht skaliert und auch nicht justiert werden. 7.11.7 Skalierungsparameter PNO CLASS 2 Maximale Schrittzahl pro Umdrehung: ≤...
Parametrierung und Konfiguration 7.11.7.2 Messlänge in Schritten Legt die Gesamtschrittzahl des Mess-Systems fest, bevor das Mess-System wieder bei Null beginnt. Untergrenze 16 Schritte Obergrenze PNO CLASS 2 16 Bit 65 536 Schritte Obergrenze PNO CLASS 2 32 Bit 33 554 432 Schritte (25 Bit) Default 16 777 216 Der tatsächlich einzugebende Obergrenzwert für die Messlänge in Schritten ist von...
7.11.8 Skalierungsparameter TR-Modes Gefahr von Körperverletzung und Sachschaden beim Wiedereinschalten des Mess-Systems nach Positionierungen im stromlosen Zustand durch Verschiebung des Nullpunktes! Ist die Anzahl der Umdrehungen keine 2-er Potenz oder >4096, kann, falls mehr als 512 Umdrehungen im stromlosen Zustand ausgeführt werden, der Nullpunkt des Multi-Turn Mess-Systems verloren gehen! •...
Parametrierung und Konfiguration 7.11.8.2 Umdrehungen Zähler / Umdrehungen Nenner Diese beiden Parameter zusammen legen die Anzahl der Umdrehungen fest, bevor das Mess-System wieder bei Null beginnt. Da Kommazahlen nicht immer endlich (wie z.B. 3,4) sein müssen, sondern mit unendlichen Nachkommastellen (z.B. 3,43535355358774... ) behaftet sein können, wird die Umdrehungszahl als Bruch eingegeben.
Page 41
Das folgende Beispiel soll die Vorgehensweise näher erläutern: Gegeben: Mess-System mit 4096 Schritte/Umdr. und max. 4096 Umdrehungen Auflösung 1/100 mm Sicherstellen, dass das Mess-System in seiner vollen Auflösung und Messlänge (4096x4096) programmiert ist: Messlänge in Schritten = 16777216, Umdrehungen Zähler = 4096 Umdrehungen Nenner = 1 Zu erfassende Mechanik auf Linksanschlag bringen...
Parametrierung und Konfiguration 7.11.9 Code PROFIBUS-Schnittstelle Verfügbarkeit Seite TR-Mode Position TR-Mode Position+Velocity 28, 29 Legt den Ausgabecode für die PROFIBUS-Schnittstelle fest. 7.11.10 Endschalter unterer und oberer Grenzwert Verfügbarkeit Seite TR-Mode Position TR-Mode Position+Velocity 28, 29 TR-Mode High Resolution TR-Mode High Resolution+Velocity 31, 32 Das Mess-System kann bei eingeschaltetem Status (siehe Inbetriebnahmefunktion Seite 35 und Statusbyte Seite 43) dem Master über ein Bit mitteilen, ob sich der...
7.11.12 Statusbyte Verfügbarkeit Seite TR-Mode High Resolution TR-Mode High Resolution+Velocity 31, 32 Statusbyte-Funktion können verschiedene Statusbits über Datenaustausch genutzt werden. Ist die Statusbyte-Funktion ausgeschaltet, verhält sich der Datenaustausch wie unter den Konfigurationen „TR-Mode High Resolution“ und „TR-Mode High Resolution+Velocity“ dargestellt. Ist die Statusbyte-Funktion eingeschaltet, wird Eingangsdoppelwort...
Parametrierung und Konfiguration 7.12 Konfigurationsbeispiel, SIMATIC Manager V5.1 Für das Konfigurationsbeispiel wird vorausgesetzt, dass die Hardwarekonfiguration bereits vorgenommen wurde. Als CPU wird die CPU315-2 DP mit integrierter PROFIBUS-Schnittstelle verwendet. Dateinamen und Einträge in den nachfolgenden Masken sind nur als Beispiele für die Vorgehensweise zu betrachten.
Page 45
Nach Installation der GSD-Datei erscheint ein neuer Eintrag im Katalog: PROFIBUS-DP-->Weitere Feldgeräte-->Encoder-->TR-ELECTRONIC Der Eintrag der GSD-Datei TR09AAAB.GS_ lautet: „TR CE58_65M DP V1“ Unter diesem Eintrag reihen sich die einzelnen Konfigurationsmöglichkeiten an: PNO Class 1 16 Bit, siehe Seite 25 PNO Class 1 32 Bit, siehe Seite 25 PNO Class 2 16 Bit, siehe Seite 26...
Page 46
Parametrierung und Konfiguration Mess-System an das Mastersystem (Drag&Drop) anbinden: Anbindung Mess-Systems Mastersystem können Netzeinstellungen vorgenommen werden (Klick mit rechter Maustaste auf das Mess- System-Symbol --> Objekteigenschaften): TR-Electronic GmbH 2004, All Rights Reserved Printed in the Federal Republic of Germany Page 46 of 112 TR - ECE - BA - DGB - 0036 - 16 11/05/2018...
Page 47
Gewünschte Konfiguration aus dem Katalog auf den Steckplatz übertragen (Drag&Drop). Das Mess-System-Symbol muss aktiv sein. Parametrierung vornehmen mit Doppelklick auf die Steckplatznummer: TR-Electronic GmbH 2004, All Rights Reserved Printed in the Federal Republic of Germany 11/05/2018 TR - ECE - BA - DGB - 0036 - 16 Page 47 of 112...
Störungsbeseitigung und Diagnosemöglichkeiten 8 Störungsbeseitigung und Diagnosemöglichkeiten 8.1 Optische Anzeigen rote LED grüne LED Ursache Abhilfe Spannungsversorgung fehlt Spannungsversorgung Verdrahtung prüfen Bushaube nicht korrekt gesteckt und Bushaube auf korrekten Sitz prüfen angeschraubt Bushaube defekt Bushaube tauschen Hardwarefehler, Mess-System tauschen Mess-System defekt Parametrier- oder Konfigurationsfehler: −...
8.2 Verwendung der PROFIBUS Diagnose In einem PROFIBUS-System stellen die PROFIBUS-Master die Prozessdaten einem sog. Hostsystem, z.B. einer SPS-CPU zur Verfügung. Ist ein Slave am Bus nicht, oder nicht mehr erreichbar, oder meldet der Slave von sich aus eine Störung, muss der Master dem Hostsystem die Störung in irgendeiner Form mitteilen.
Störungsbeseitigung und Diagnosemöglichkeiten 8.2.1.1 Stationsstatus 1 Slave wurde von anderem Bit 7 Master_Lock Master parametriert (Bit wird vom Master gesetzt) Das zuletzt gesendete Bit 6 Parameter_Fault Parametriertelegramm wurde vom Slave abgelehnt Wird vom Master gesetzt, wenn Bit 5 Invalid_Slave_Response der Slave nicht ansprechbar ist Slave unterstützt die Bit 4 Not_Supported...
8.2.1.4 Masteradresse Normdiagnose Byte 4 In dieses Byte trägt der Slave die Stationsadresse des Masters ein, der zuerst ein gültiges Parametriertelegramm gesendet hat. Zur korrekten Funktion am PROFIBUS ist es zwingend erforderlich, dass bei gleichzeitigem Zugriff mehrerer Master deren Konfigurations- und Parametrierinformation exakt übereinstimmt. 8.2.1.5 Herstellerkennung Normdiagnose Byte 5 + 6 In die Bytes trägt der Slave die herstellerspezifische Ident-Nummer ein.
Störungsbeseitigung und Diagnosemöglichkeiten 8.2.2 Erweiterte Diagnose Das Mess-System liefert zusätzlich zur Diagnosemeldung nach DP-Norm eine erweiterte Diagnosemeldung gemäß dem Profil für Encoder der PNO. Diese Meldung ist unterschiedlich lang, je nach gewählter Soll-Konfiguration. In den Konfigurationen mit der Bezeichnung TR-Mode entspricht die Diagnosemeldung der PNO-Klasse 2. Die folgenden Seiten zeigen einen Gesamtüberblick über die zu erhaltenen Diagnoseinformationen.
8.2.2.2 Betriebsstatus Erweiterte Diagnose, Byte 9 Bedeutung Bit 0 Zählrichtung Steigend Uz. Fallend Uz. nein, nicht Bit 1 Class-2 Funktionen unterstützt nein, nicht Bit 2 Diagnose unterstützt nein, nicht Bit 3 Status Skalierungsfunktion unterstützt Bit 4 nicht benutzt Bit 5 nicht benutzt Bit 6 nicht benutzt...
Störungsbeseitigung und Diagnosemöglichkeiten 8.2.2.7 Unterstützte Alarme Erweiterte Diagnose, Byte 18-19 Bedeutung Bit 0 nicht unterstützt unterstützt Positionsfehler Überwachung Bit 1 nicht unterstützt unterstützt Versorgungsspannung Bit 2 Überwachung Stromaufnahme nicht unterstützt unterstützt Bit 3 Diagnoseroutine nicht unterstützt unterstützt Bit 4 nicht unterstützt unterstützt Speicherfehler Bit 5-15 nicht benutzt...
Störungsbeseitigung und Diagnosemöglichkeiten 8.2.2.18 Herstellerspezifische Diagnosen Das Mess-System unterstützt keine weiteren, herstellerspezifischen Diagnosen. Wichtiger Hinweis Laut Profil für Encoder der PNO muss ein Encoder im Fall des Erkennens eines internen Fehlers Stationsstatus Bits "ext.Diag" (erweiterte Diagnoseinformation verfügbar) und "Stat.Diag" (Statischer Fehler) setzen. Dies führt dazu, dass im Fehlerfall der Encoder keine Positionsdaten mehr ausgibt, und vom PROFIBUS-Master aus dem Prozessabbild entfernt wird, bis die Fehlerbits zurückgesetzt werden.
Page 57
User Manual C_ _-58 PROFIBUS-DP TR-Electronic GmbH 2004, All Rights Reserved Printed in the Federal Republic of Germany 11/05/2018 TR - ECE - BA - DGB - 0036 - 16 Page 57 of 112...
Page 58
TR-Electronic GmbH D-78647 Trossingen Eglishalde 6 Tel.: (0049) 07425/228-0 Fax: (0049) 07425/228-33 email: info@tr-electronic.de www.tr-electronic.de Copyright protection This Manual, including the illustrations contained therein, is subject to copyright protection. Use of this Manual by third parties in contravention of copyright regulations is not permitted.
Revision index Revision Date Index First release 11/16/04 New Device Master File (GSD): TR09AAAB.GSD, 07/2005 11/28/05 Details to the UL / CSA approval 07/13/06 Description for limit switch function completed 07/31/06 Correction chapter “Optical displays”: 04/01/08 green LED 10 Hz reports also a position error Number of steps / revolution up to ≤...
General information 1 General information This interface-specific User Manual includes the following topics: • Safety instructions in additional to the basic safety instructions defined in the Assembly Instructions • Installation • Commissioning • Configuration / parameterization • Troubleshooting and diagnostic options As the documentation is arranged in a modular structure, this User Manual is supplementary to other documentation, such as product datasheets, dimensional drawings, leaflets and the assembly instructions etc.
The products are labelled with affixed nameplates and are components of a system. Depending of the device type, the following documentation therefore also applies: • see chapter “Other applicable documents” in the Assembly Instructions www.tr-electronic.de/f/TR-ECE-BA-DGB-0035 • optional: -User Manual with assembly instructions 1.2 Abbreviations used / Terminology Clockwise Counterclockwise...
Additional safety instructions 2 Additional safety instructions 2.1 Definition of symbols and instructions means that death or serious injury can occur if the required precautions are not met. means that minor injuries can occur if the required precautions are not met. means that damage to property can occur if the required precautions are not met.
2.3 Organizational measures • This User Manual must always kept accessible at the site of operation of the measurement system. • Prior to commencing work, personnel working with the measurement system must have read and understood the assembly instructions, in particular the chapter "Basic safety instructions", and this User Manual, in particular the chapter "Additional safety instructions".
PROFIBUS information 3 PROFIBUS information PROFIBUS is a continuous, open, digital communication system with a broad range of applications, particularly in manufacturing and process automation. PROFIBUS is suitable for fast, time-sensitive and complex communication tasks. PROFIBUS communication is based on the international standards IEC 61158 and IEC 61784.
4 Installation / Preparation for commissioning 4.1 RS485 Data transmission technology All devices are connected in a bus structure (line). Up to 32 subscribers (master or slaves) can be connected together in a segment. The bus is terminated with an active bus termination at the beginning and end of each segment.
Installation / Preparation for commissioning 4.2 Type with cable glands 4.2.1 Connection The connection hood must first be removed from the measuring system to undertake connection. The four screws are unscrewed and the hood removed. Figure 1: Removing of the connection hood PROFIBUS_IN Pin 1 PROFIBUS Data A...
4.2.2 Bus termination If the measuring system is the last slave in the PROFIBUS segment, the bus is to be terminated with the termination switch this state, subsequent PROFIBUS is decoupled. 4.2.3 Bus address Valid PROFIBUS addresses: 3 - 99 : Setting the 1st position : Setting the 10th position The device does not start up with an...
Page 70
Installation / Preparation for commissioning Cable gland assembly, variant A Pos. 1 Nut Pos. 2 Seal Pos. 3 Contact bush Pos. 5 Screw socket 1. Cut shield braid / shield foil back to dimension "X". 2. Slide the nut (1) and seal / contact bush (2) + (3) over the cable. 3.
Page 71
Cable gland assembly, variant B Pos. 1 Nut Pos. 2 Clamping ring Pos. 3 Inner O-ring Pos. 4 Screw socket 1. Cut shield braid / shield foil back to dimension "X" + 2mm. 2. Slide the nut (1) and clamping ring (2) over the cable. 3.
Installation / Preparation for commissioning 4.3 Type with connectors 4.3.1 Connection Figure 2: Type with connectors X1, PROFIBUS_IN Male socket, M12x1-5 pol. B-coded Pin 1 N.C. Pin 2 PROFIBUS, Data A Pin 3 N.C. Pin 4 PROFIBUS, Data B Pin 5 N.C.
4.3.2 Bus termination If the measuring system is the last slave in the PROFIBUS segment, the bus is to be terminated with the termination switch this state, subsequent PROFIBUS is decoupled. 4.3.3 Bus address Valid PROFIBUS addresses: 3 - 99 : Setting the 1st position : Setting the 10th position The device does not start up with an...
Commissioning 5 Commissioning 5.1 Device Master file (GSD) In order to achieve a simple plug-and-play configuration for PROFIBUS, the characteristic communication features for PROFIBUS devices were defined in the form of an electronic device datasheet (device master file, GSD file). The defined file format allows the projection system to easily read the device master data of the PROFIBUS measuring system and automatically take it into account when configuring the bus system.
5.3 Starting up on the PROFIBUS Before the measuring system can be accepted for "Data_Exchange", the master must firstly initialize the measuring system at start-up. The resulting data exchange between the master and the measuring system (slave) is divided into the parameterization, configuration and data transfer phases.
Commissioning 5.4 Bus status display The measuring system has two LEDs in the connection hood. A red LED (Bus Fail) to display faults and a green LED (Bus Run) to display status information. When the measuring system starts up, both LEDs flash briefly. The display then depends on the operational state.
Parameterization and configuration 7 Parameterization and configuration Parameterization Parameterization means providing a PROFIBUS-DP slave with certain information required for operation prior to commencing the cyclic exchange of process data. The measuring system requires e.g. data for Resolution, Count direction etc. Normally the configuration program provides an input mask for the PROFIBUS-DP master with which the user can enter parameter data or select from a list.
7.1 Overview 7.1.1 CEx-58, TR09AAAB.GS_ *· Configuration Operating parameters Length Features PNO Class 1-16 No measuring system scaling, the measuring - Count direction 16 bit IN Page 81 system has the base resolution according to the nameplate 16 byte diagnosis data PNO Class 1-32 - Count direction 32 bit IN...
Parameterization and configuration 7.1.2 COx-58, TR0DAAAB.GS_ *· Configuration Operating parameters Length Features PNO Class 1-16 No measuring system scaling, the measuring - Count direction 16 bit IN Page 81 system has the base resolution according to the nameplate 16 byte diagnosis data PNO Class 1-32 - Count direction 32 bit IN...
7.2 PNO CLASS 1 16-Bit Availability ● CEx-58, TR09AAAB.GS_ / COx-58, TR0DAAAB.GS_ Configuration data ● 0xD0: 1 word input data for position value, consistent Data Exchange Byte Input word IWx –2 Position value –2 Position value Parameter data, [x] = Default, Byte-Order = Big Endian Byte Parameter Type...
Parameterization and configuration 7.4 PNO CLASS 2 16-Bit Maximum steps per revolution: ≤ 8192 If higher resolutions are required, one of the TR-Modes must be used Availability ● CEx-58, TR09AAAB.GS_ / COx-58, TR0DAAAB.GS_ Configuration data ● 0xF0: 1 word input data for position value, consistent 1 word output data for preset adjustment value, consistent Data Exchange Byte...
7.5 PNO CLASS 2 32-Bit Maximum steps per revolution: ≤ 8192 If higher resolutions are required, one of the TR-Modes must be used Availability ● CEx-58, TR09AAAB.GS_ / COx-58, TR0DAAAB.GS_ Configuration data ● 0xF1: 1 double word input data for position value, consistent 1 double word output data for preset adjustment value, consistent Data Exchange Byte...
Parameterization and configuration 7.6 TR-Mode Position Availability ● CEx-58, TR09AAAB.GS_ Configuration data ● 0xF1: 1 double word input data for position value, consistent 1 double word output data for preset adjustment value, consistent Data Exchange Byte Input double word IDx –2 Position value –2...
7.7 TR-Mode Position + Velocity Availability ● CEx-58, TR09AAAB.GS_ Configuration data ● 0xF1: 1 double word input data for position value, consistent 1 double word output data for preset adjustment value, consistent ● 0xD0: 1 word input data for speed output, consistent Data Exchange Byte Input double word IDx + Input word IWx...
Page 86
Parameterization and configuration Continuation Number of revolutions as fraction 11-12 Revolutions denominator Unsigned16 Default = 1 (denominator) Code SSI-Interface Unsigned8 not supported 00: Gray Code PROFIBUS- Unsigned8 Bit 1-0 01: Binary [x] Interface 10: Shifted Gray 15-18 Preset 1 Unsigned32 not supported 19-22 Preset 2...
7.8 TR-Mode High Resolution Availability ● COx-58, TR0DAAAB.GS_ Configuration data ● 0xF1: 1 double word input data for position value, consistent 1 double word output data for preset adjustment value, consistent Data Exchange Byte Input double word IDx –2 Position value –2 Position value –2...
Parameterization and configuration 7.9 TR-Mode High Resolution + Velocity Availability ● COx-58, TR0DAAAB.GS_ Configuration data ● 0xF1: 1 double word input data for position value, consistent 1 double word output data for preset adjustment value, consistent ● 0xD0: 1 word input data for speed output, consistent Data Exchange Byte Input double word IDx + Input word IWx...
7.10 Preset adjustment function Risk of injury and damage to property by an actual value jump when the Preset adjustment function is performed! • The preset adjustment function should only be performed when the measuring system is at rest, otherwise the resulting actual value jump must be permitted in the program and application! Availability Page...
Parameterization and configuration 7.11 Description of the operating parameters 7.11.1 Count direction Availability Page PNO CLASS 1 16 Bit PNO CLASS 1 32 Bit 81, 81 PNO CLASS 2 16 Bit PNO CLASS 2 32 Bit 82, 83 TR-Mode Position TR-Mode Position+Velocity 84, 85 TR-Mode High Resolution...
7.11.4 Teach-In function Availability Page TR-Mode Position TR-Mode Position+Velocity 84, 85 With the Teach-In function different control and status bits can be used via the Data Exchange. ● Disabled no status (default) - Position output with the bits 2 – 2 , the status bits 2 –...
Parameterization and configuration Sequence Setting of the counting direction M = Master Status-/Control bits Data bits S = Slave M-->S The selected counting direction is changed over from 0 to 1 or 1 to 0 using bit 28 S-->M The measuring system now acknowledges the newly selected counting direction in bit 0 and 28 0 / 1 0 / 1 0 / 1 M-->S...
7.11.6 Scaling function Availability Page PNO CLASS 2 16 Bit PNO CLASS 2 32 Bit 82, 83 Defines whether the position is scaled according to the parameters "Measuring units per revolution" "Total measuring range" If Class 2 is switched off, the position value cannot be scaled or adjusted. 7.11.7 Scaling parameter PNO CLASS 2 Maximum steps per revolution: ≤...
Parameterization and configuration 7.11.7.2 Total measuring range Defines the total number of steps of the measuring system before the measuring system restarts at zero. Lower limit 16 steps Upper limit PNO CLASS 2 16 bit 65 536 steps Upper limit PNO CLASS 2 32 bit 33 554 432 steps (25 bit) Default 16 777 216...
7.11.8 Scaling parameter TR-Modes Danger of personal injury and damage to property exists if the measuring system is restarted after positioning in the de-energized state by shifting of the zero point! If the number of revolutions is not an exponent of 2 or is >4096, it can occur, if more than 512 revolutions are made in the de-energized state, that the zero point of the multi-turn measuring system is lost! •...
Parameterization and configuration 7.11.8.2 Revolutions numerator / Revolutions denominator Together, these two parameters define the Number of revolutions before the measuring system restarts at zero. As decimal numbers are not always finite (as is e.g. 3.4), but they may have an infinite number of digits after the decimal point (e.g.
Page 97
The following example serves to illustrate the approach: Given: Measuring system with 4096 steps/rev. and max. 4096 revolutions Resolution 1/100 mm Ensure the measuring system is programmed in its full resolution and total measuring length (4096x4096): Total number of steps = 16777216, Revolutions numerator = 4096...
Parameterization and configuration 7.11.9 Code PROFIBUS-Interface Availability Page TR-Mode Position TR-Mode Position+Velocity 84, 85 Defines the output code for the PROFIBUS interface. 7.11.10 Limit switch lower and upper limit Availability Page TR-Mode Position TR-Mode Position+Velocity 84, 85 TR-Mode High Resolution TR-Mode High Resolution+Velocity 87, 88 Is the status switched on (see Teach-In function page 91 and Status-byte page 99) the...
7.11.12 Status-byte Availability Page TR-Mode High Resolution TR-Mode High Resolution+Velocity 87, 88 With the status-byte function different status bits can be used via the Data Exchange. If the status-byte function is switched off, the behavior of the data exchange is the same as represented in the configurations “TR-Mode High Resolution”...
Parameterization and configuration 7.12 Configuration example, SIMATIC Manager V5.3 For the configuration example, it is assumed that the hardware configuration has already taken place. The CPU315-2 DP with integrated PROFIBUS-interface is used as CPU. File names and entries in the following masks are to be regarded only as examples of the procedure.
Page 101
A new entry appears in the catalogue after installation of the GSD file: PROFIBUS-DP-->Additional Field Devices-->Encoder-->TR-ELECTRONIC The entry for the GSD file TR09AAAB.GS_ is:”TR CE58_65M DP V1” The sequence of the respective configuration options is given in this entry: – PNO Class 1 16 bit, see page 81 –...
Page 102
Parameterization and configuration Connect measuring system to the master system (drag&drop): Once the measuring system is connected to the master system, the network settings can be undertaken --> Object Properties... --> PROFIBUS... button): TR-Electronic GmbH 2004, All Rights Reserved Printed in the Federal Republic of Germany Page 102 of 112 TR - ECE - BA - DGB - 0036 - 16...
Page 103
Transfer the required configuration from the catalogue to the slot (drag&drop). The measuring system symbol must be active. Perform parameterization with a double click on the slot number: TR-Electronic GmbH 2004, All Rights Reserved Printed in the Federal Republic of Germany 11/05/2018 TR - ECE - BA - DGB - 0036 - 16 Page 103 of 112...
Troubleshooting and diagnosis options 8 Troubleshooting and diagnosis options 8.1 Optical displays red LED green LED Cause Remedy Absence of voltage supply Check voltage supply, wiring Bus cover not mounted and screwed Check bus cover for correct seating on correctly Bus cover defective Replace bus cover Hardware error, measuring system...
8.2 Use of the PROFIBUS diagnosis In a PROFIBUS system, the PROFIBUS master provides the so-called host system, e.g. a PLC-CPU, with process data. If there is no slave on the bus or it is no longer accessible, or the slave reports a fault itself, the master must notify the host system of the fault in one form or another.
Troubleshooting and diagnosis options 8.2.1.1 Station status 1 Slave has been parameterized bit 7 Master_Lock from another master (bit is set by the master) The parameter telegram last sent bit 6 Parameter_Fault has been rejected by the slave Is set by the master, if the slave bit 5 Invalid_Slave_Response does not respond...
8.2.1.4 Master address Standard diagnosis byte 4 The slave enters the station address of the master into this byte, after the master has sent a valid parameterization telegram. To ensure correct function on the PROFIBUS it is imperative that, in the case of simultaneous access of several masters, their configuration and parameterization information exactly matches.
Troubleshooting and diagnosis options 8.2.2 Extended diagnosis The measuring system also provides a DP standard extended diagnosis report in accordance with the PNO profile for encoders. This report is of varying size dependent on the nominal configuration selected. In "TR-Mode" configurations, the diagnosis report corresponds to PNO Class 2.
8.2.2.2 Operating status Extended diagnosis, byte 9 Significance bit 0 Count direction ascending cw descending cw bit 1 Class 2 Functions no, not supported bit 2 Diagnosis no, not supported bit 3 Scaling function status no, not supported bit 4 not used bit 5 not used...
Troubleshooting and diagnosis options 8.2.2.7 Alarms supported Extended diagnosis, bytes 18-19 Significance bit 0 not supported supported Position error bit 1 Supply voltage monitoring not supported supported bit 2 Monitoring current load not supported supported bit 3 Diagnosis routine not supported supported bit 4 not supported...
8.2.2.11 Software version The diagnosis bytes 26-27 show the internal software version of the encoder. Decoding is performed on the basis of the revision number and revision index (e.g. 1.40 corresponds to 0000 0001 0100 0000 or 0140 (hex) ) Extended diagnosis, bytes 26-27 byte 26 Revision number...
Troubleshooting and diagnosis options 8.2.2.18 Manufacturer's diagnoses The measuring system does not support further manufacturer's diagnoses. Important information According to the PNO profile for encoders, if an internal error in the station status is identified, the encoder must set the bits "ext.Diag" (extended diagnosis information available) and "Stat.Diag"...
Need help?
Do you have a question about the C__-58 Series and is the answer not in the manual?
Questions and answers