Dieses technische Handbuch beschreibt die Konfigurations- und Montage- möglichkeiten der Balluff Absolutwert-Drehgeber mit einer EtherCAT-Schnittstelle. Weitere Informationen zu diesem Produkt finden Sie unter www.balluff.com auf der Produktseite. Lesen Sie das Handbuch vor der Inbetriebnahme. Prüfen Sie zuvor, ob die aktuelle Version des Handbuchs vorliegt.
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 1.1.1 Symbolerklärung • Das INFO-Symbol steht neben einem Abschnitt, der besonders informativ oder wichtig für das weitere Verfahren mit dem Gerät ist. • Das WICHTIG-Symbol steht neben einer Textstelle, in der ein Verfahren Lösen eines...
Inbetriebnahme sollten Sie den Lieferumfang auf Vollständigkeit prüfen. In der Regel gehört zu der Produktreihe BDG mit einer EtherCAT-Schnittstelle folgender Lieferumfang: • Drehgeber mit EtherCAT (mit Bushaube) • Montageanleitung • Die entsprechende ESI-Datei und das passende Datenblatt stehen im Internet zum Download bereit: www.balluff.com deutsch...
Ganzes der EMV- und Maschinenrichtlinie entspricht. Der Drehgeber ist ein Sensor zur Erfassung von Winkelpositionen und Umdrehungen und ist nur in diesem Sinne zu verwenden! Drehgeber der Balluff GmbH werden für den industriellen Einsatz im nicht sicherheitsrelevanten Bereich gefertigt und vertrieben.
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 2.3 Sicheres Arbeiten Der Einbau und die Montage des Drehgebers darf ausschließlich durch eine Elektrofachkraft vorgenommen werden. Zur Errichtung von elektrotechnischen Anlagen sind die nationalen und internationalen Vorschriften unbedingt zu befolgen. Bei einer nicht fachgerechten Inbetriebnahme des Drehgebers, kann es zu Fehlfunktionen oder zum Ausfall kommen.
Deckel signalisieren verschiedene Zustände des Drehgebers während des Einsatzes. Sie unterstützen die Konfiguration des Drehgebers oder die Fehlersuche im Feld. Die Flanschbohrungen bzw. die mitgelieferten Federbleche dienen der Befestigung an der Maschine bzw. in der Anwendung. www.balluff.com | 11 deutsch...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 3.2 EtherCAT EtherCAT ist eine Echtzeit-Ethernet-Technologie, die ursprünglich von der Firma Beckhoff Automation entwickelt wurde. Das im IEC-Standard IEC 61158 offengelegte Protokoll von EtherCAT eignet sich für harte sowie weiche Echtzeitanforderungen in der Automatisierungstechnik, in der Messtechnik und vielen anderen Anwendungen.
Wiegand-Draht-Technologie verwendet. Pufferbatterien und Getriebe, welche einen vergleichsweise großen Bauraum benötigen einen entsprechenden Wartungsaufwand haben, können somit ersetzt werden. 3.3.3 Drehrichtung Durch ein einfaches Zweierkomplement (jedes Bit invertieren und ”1” addieren) des Positionswertes kann die positive Drehrichtung umgekehrt werden. www.balluff.com | 13 deutsch...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 3.3.4 Preset Bei einer bestimmten physikalischen Position, kann dem Drehgeber ein gewünschter Positionswert zugewiesen werden. Dieser muss innerhalb des Messbereichs liegen, so dass der Positionswert mit einer physikalischen Referenzposition korreliert wird. Dazu wird die Differenz des aktuellen Positionswertes mit dem gewünschten Wert berechnet.
Page 17
Ergebnis sonst die Umdrehungszahl der Drehgeberwelle wäre und nicht die der schnelleren Welle der Anlage. • Es ist zu beachten, dass es zu Messfehlern kommt, wenn das Ergebnis dieser Formel eine Kommazahl ist. www.balluff.com | 15 deutsch...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 3.4 Anschluss-Belegungen EtherCAT-Drehgeber 3.4.1 BNE3 – Bushaube mit 3x M12x1 Die Zeichenfolge „BNE3“ im Bestellschlüssel kennzeichnet einen Drehgeber mit Bushaube. Der elektrische Anschluss erfolgt an der Bushaube über die 2x M12- Stecker und 1x M12 Buchse.
Z y k l u s Flackern 10 Hz Z y k l u s 1000 1250 Einfach- Blitzen Z y k l u s www.balluff.com | 17 deutsch...
Page 20
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber Blinksignale Error: Blinken 2,5 Hz Z y k l u s Flackern 10 Hz Z y k l u s 1000 1250 Einfach-...
Im Auslieferungszustand hat der EtherCAT-Drehgeber die IP-Adresse 192.168.1.127. Es besteht die Möglichkeit, die IP-Adresse über den Webbrowser zu ändern, siehe hierzu Unterabschnitt 5.3.1. Die aktuell eingestellte IP-Adresse kann über die EoE Einstellungen in TwinCAT oder die Objekte 2900h..2902h ausgelesen werden. www.balluff.com | 19 deutsch...
Page 24
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber Objekt Name Beschreibung Daten Größe Default (Bit) 10F3h Diagnosis Enthält bis zu 32 Unsigned8 History Nachrichten Max. Anzahl Unsigned8 Nachrichten Subindex neueste Unsigned8 Nachricht Subindex letzte Unsigned8 bestätigte Nachricht Neue Nachricht Bool false...
Page 25
Sub-index 7-8 in der Applikation 1C00h Sync Sync Manager Unsigned8 Manager Konfiguration der Communi- Kommunikations- cation Type kanäle Communication type Unsigned8 Communication type Unsigned8 Communication type Unsigned8 Communication type Unsigned8 Tabelle 4.5: Objektverzeichnis 1A01h - 1C00h www.balluff.com | 23 deutsch...
Page 26
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber Objekt Name Beschreibung Daten Größe Default (Bit) 1C13h Sync Sync Manager PDO Unsigned8 Manager Konfiguration 3 PDO Assignment PDO mapping object Unsigned16 1A00h index of TxPDO1 PDO mapping object Unsigned16 1A01h index of TxPDO2...
Page 27
Restore communication objects Restore application objects Restore manufacturer objects Tabelle 4.9: 1011h – Parameter Ladeoptionen • Das Laden der Ursprungsparameter wird ausgelöst, indem der entsprechende Sub-Index mit dem ASCII Wert „load“ (in hex: 6C6F6164h) beschrieben wird. www.balluff.com | 25 deutsch...
Page 29
Default: 6503h Alarms 4. Output Objekt, Default: 6505h Warnings 5. Output Objekt, Default: 6300h CAM state 6. Output Objekt, Default: 6410h High resolution work area state Tabelle 4.14: 2nd transmit PDO default mapping (EtherCAT Objekt 1A01h) www.balluff.com | 27 deutsch...
Page 30
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 4.3.2.10 1C00h – Sync Manager communication type Sub-Idx Zugriff Bedeutung Unsigned8 Anzahl der abgebildeten Objekte Wert: 4 Unsigned8 Communication type SM0 Wert: 1, Mailbox empfangen (Master an Slave) Unsigned8 Communication type SM1 Wert: 2, Mailbox senden (Slave an Master)
Page 31
Unsigned32 Calc and Copy Time 97000 Unsigned32 Sync0 Cycle Time Unsigned16 Cycle Time Too Small Anzahl der Synchronisationsfehler Bool Sync Error Es ist ein Synchronisationsfehler auf- getreten Tabelle 4.17: Sync Manager 3 synchronisation (EtherCAT Objekt 1C33h) www.balluff.com | 29 deutsch...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 4.3.3 Herstellerspezifische Objekte Die Objekte 2000h bis 5FFFh sind herstellerspezifisch und werden nicht von der CiA festgelegt. Objekt Name Beschreibung Daten Größe Default (Bit) 2105h Integration Sensoreinstellungen Unsigned8 value Position filter Unsigned8 Reserviert...
Page 33
4.3.3.4 2900h – IP adress Beinhaltet die IP-Adresse des Drehgebers. Default: 192.168.1.127 4.3.3.5 2901h – Subnet mask Beinhaltet die Subnet Mask des Drehgebers. Default: 255.255.255.0 4.3.3.6 2902h – Gateway Beinhaltet die Gateway Adresse des Drehgebers. Default: 0.0.0.0 www.balluff.com | 31 deutsch...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 4.3.4 Drehgeberspezifische Objekte Die drehgeberspezifischen Objekte folgen dem CiA-Drehgeber-Profil 406 und können maximal die Objektadressen 6000h bis 9FFFh beinhalten. Objekt Name Beschreibung Daten Größe Default (Bit) 6000h Operating Änderung/Anzeige Unsigned16 0000h Parameters...
Page 35
Umschalt- punktes für den 4. CAM 6314h CAM5 low Unterer Umschalt- Unsigned8 limit punkt für den 5. CAM Änderung des Signed32 0000 0000h unteren Umschalt- punktes für den 5. CAM Tabelle 4.22: Gerätespezifische Objekte 6300h –6314h www.balluff.com | 33 deutsch...
Page 36
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber Objekt Name Beschreibung Daten Größe Default (Bit) 6315h CAM6 low Unterer Umschalt- Unsigned8 limit punkt für den 6. CAM Änderung des Signed32 0000 0000h unteren Umschalt- punktes für den 6.
Page 37
0000 0000h ist abhängig von der Höhe dieses Wertes 6336h CAM7 Hysterese für die Unsigned8 hysteresis Umschaltpunkte des 7. CAM Hysteresegröße Unsigned32 0000 0000h ist abhängig von der Höhe dieses Wertes Tabelle 4.24: Gerätespezifische Objekte 6327h –6336h www.balluff.com | 35 deutsch...
Page 38
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber Objekt Name Beschreibung Daten Größe Default (Bit) 6337h CAM8 Hysterese für die Unsigned8 hysteresis Umschaltpunkte des 8. CAM Hysteresegröße Unsigned32 0000 0000h ist abhängig von der Höhe dieses Wertes 6340h High Unterer Umschalt-...
Page 39
Warnings 6507h Profile and die ersten 4 Stellen = Unsigned32 0100 0400h software Softwareversion, die version nächsten 4 Stellen = Profil 6508h Operating nicht unterstützt Unsigned32 FFFF FFFFh time Tabelle 4.26: Gerätespezifische Objekte 6410h –6508h www.balluff.com | 37 deutsch...
Page 40
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber Objekt Name Beschreibung Daten Größe Default (Bit) 6509h Offset value Enthält den Offset- Signed32 0000 0000h Wert, errechnet aus der Preset-Funktion (6003h) 650Ah Module Herstellerspezifischer Unsigned8 identification Offset Manufacturer Signed32 0000 0000h offset value...
Page 41
> 32 Bit, so muss diese in Objekt 600Ah (s. 4.3.4.8) eingestellt werden. • Für TMR wird immer der Wert verwendet, der zuletzt gesetzt wurde • z.B. wurde 600Ah gesetzt, ist TMR = dem Wert von 600Ah, wird danach 6002h gesetzt, ist TMR = dem Wert von 6002h. www.balluff.com | 39 deutsch...
Page 42
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 4.3.4.4 6003h – Preset value Über die Einstellung des Index 6003h kann der angezeigte Messwert angepasst werden. So kann z. B. der Nullpunkt des Drehgebers dem Nullpunkt Ihrer Anwendung angeglichen werden.
Page 43
Folgendes Beispiel zeigt ein CAM-state-register mit dem Wert 89h: Position 7(MSB) 6 0(LSB) Type CAM 8 CAM 7 CAM 6 CAM 5 CAM 4 CAM 3 CAM 2 CAM 1 Value Logic High High High Tabelle 4.30: CAM-state-register – Wert 89h www.balluff.com | 41 deutsch...
Page 44
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber Wie oben zu sehen ist, definiert der Wert 89h, dass die Nockenschaltpositionen CAM 1, CAM 4 und CAM 8 High und die restlichen Nocken Low sind. Bei einem Weiterdrehen der Welle könnte es z. B. passieren, dass schließlich CAM 4 ebenfalls Low wird.
Page 45
6330h … 6337h – CAM1…CAM8 hysteresis Über die CAM-Hysteresis wird die Breite der Hysterese der Umschaltpunkte definiert. Für jede einzelne Nockenschaltposition (CAM 1 .. CAM 8) kann eine eigene CAM- Hysteresis eingestellt werden (siehe Objektverzeichnis 6320h .. 6327h). www.balluff.com | 43 deutsch...
Page 46
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 4.3.4.19 6340h … 6347h – High resolution CAM1…CAM8 low limit Siehe 4.3.4.16, lediglich mit max. 64 Bit anstelle von max. 32 Bit 4.3.4.20 6350h … 6357h – High resolution CAM1…CAM8 high limit Siehe 4.3.4.17, lediglich mit max.
Page 47
Es liegt ein Fehler im Sensor vor, der Positionswert ist nicht korrekt. Tabelle 4.34: 6503h – Alarms 4.3.4.32 6504h – Supported alarms Das Objekt 6504h zeigt die unterstützen Alarme an. Es wird nur der Positionsfehler unterstützt, somit ist der Wert immer 0x0001h. www.balluff.com | 45 deutsch...
Page 48
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 4.3.4.33 6505h – Warnings Objekt 6505h gibt den Status der unterstützten Warnungen aus. Signal 6505h – Warnings 15 … 9 Inhalt 15 … 9 nicht genutzt immer 0 Jerk range immer 0, da Objekt 6050h nicht unterstützt wird Acceleration range immer 0, da Objekt 6040h nicht unterstützt wird...
Page 49
0000 000Bh. Dies besagt, dass es sich um einen High resolution encoder class 3 handelt ohne Safety-Funktionen. 4.3.4.42 650Fh – Offset value for high resolution encoder Objekt 650Fh enthält den Offset-Wert für hochauflösende Drehgeber, errechnet aus der Preset-Funktion (6009h). www.balluff.com | 47 deutsch...
Page 50
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 4.3.4.43 6510h – Number of high-precision-revolutions Objekt 6510h gibt die Anzahl der vom Sensor unterscheidbaren Umdrehungen an. Aktuell ist der Wert FF FFFF FFFFh. • Die Spezifikation definiert diesen Parameter als Unsigned40 Wert.
192.168.1.100 Subnet-Adresse des PCs: 255.255.255.0 Haben Sie dies durchgeführt öffnet sich die Startseite (Information - Übersicht) des Drehgebers. In den folgenden Unterkapiteln zeigen wir Ihnen die verschiedenen Ansichten des Webservers und erläutern Ihnen die möglichen Funktionen. www.balluff.com | 49 deutsch...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 5.2 Information 5.2.1 Übersicht Abbildung 5.1: Webserver - Übersicht In der Übersicht finden Sie folgende Informationen: • Geräte-Typ: Bezeichnung des Drehgebers • Seriennummer: Geräte-Nummer des Drehgebers • Betriebszeit in Stunden: Anzahl der Stunden im laufenden Betrieb •...
Hier können einige mögliche Fehler-Ursachen angezeigt werden. Falls Sie hier einen Fehler angezeigt bekommen, setzen Sie sich unter Angabe der angezeigten Informationen mit uns in Verbindung. Fieldbus • CPU Load: Hier sehen Sie die CPU-Auslastung des Drehgebers im Betrieb. www.balluff.com | 51 deutsch...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 5.3 Konfiguration 5.3.1 Netzwerk Abbildung 5.4: Netzwerkeinstellungen Hier können Sie den Gerätename, IP-Adresse, Netzwerkmaske sowie Gateway ändern. • Bitte achten Sie darauf, dass Sie die Daten nur im Anlagenstillstand ändern. www.balluff.com | 53 deutsch...
Sollte das Firmware Update fehlschlagen, prüfen sie bitte, ob sie die korrekte Datei ausgewählt haben. Führen sie einen Spannungsreset durch und wiederholen sie den Vorgang. Sollte während dem Update die Spannungsversorgung ausgefallen sein und der Drehgeber nicht mehr reagieren, wenden sie sich bitte an unseren Support. www.balluff.com | 55 deutsch...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 5.4 Lizenzinformation Abbildung 5.7: Lizenzinformationen Hier finden Sie die aktuellen Sicherheitshinweise, sowie Programmpakete der Firmware. Sie können sich den Quellcode dieser Pakete über den Link auf dieser Webseite herunterladen. 5.5 Kontakt Abbildung 5.8: Kontaktinformationen Für weitere Produktinformationen und technischen Support finden Sie hier die...
6.1 Inbetriebnahme • Die XML-Datei muss in das folgende Verzeichnis kopiert werden: ...\TwinCAT\lO\EtherCAT • Die Datei können Sie unter www.balluff.com herunterladen. Starten Sie TwinCAT und ein neues Projekt. Führen Sie nun die folgenden Schritte aus. • Achten Sie bitte darauf, dass Sie in Ihrem PC eine Netzwerkkarte von Intel haben.
Page 60
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber Abbildung 6.2: TwinCAT – Scan / Hinweis Wählen Sie Ihre TwinCAT fähige Netzwerkkarte aus (s. Abbildung 6.3) Abbildung 6.3: TwinCAT – IO devices Bestätigen sie die Frage „Scan for Boxes“ mit „Ja“ (s. Abbildung 6.4) Das System wird nach EtherCAT-Teilnehmer gescannt.
Page 61
Sobald der Scan abgeschlossen ist, bestätigen Sie das folgende Fenster mit „Ja“. (s Abbildung 6.5) Der Drehgeber erscheint in der Baumstruktur und Sie können über den Reiter CoE auf die Prozessdaten zugreifen. (s. Abbildung 6.6) Abbildung 6.6: TwinCAT – Scan abgeschlossen www.balluff.com | 59 deutsch...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 6.2 Skalierungsfunktion einstellen Um die Skalierungsfunktion zu nutzen, stellen sie sicher, dass im Reiter „CoE – Online“ das Objekt mit dem Index 6000 auf z.B. 0x0004 steht. (s. Abbildung 6.7) Wenn nicht, machen Sie einen Doppelklick darauf und ändern den Wert (s.
Page 63
Abbildung 6.10: Skalierung – Total measuring range in measuring units Das Ergebnis sollte wie in Abbildung 6.11 aussehen. Abbildung 6.11: Skalierung – Übersicht der Beispieleinstellungen Damit die Werte nach einem Spannungsreset erhalten bleiben, lesen Sie bitte Kapitel 6.4 Einstellungen speichern. www.balluff.com | 61 deutsch...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Drehgeber 6.3 Preset setzen Um einen Preset zu setzen, müssen Sie den gewünschten Wert in das Objekt mit dem Index 6003 schreiben. Klicken Sie doppelt auf das Objekt 6003 im Reiter „CoE –...
Werte gespeichert werden. Dies geschieht indem man in das Objekt mit dem Index 1010:01 unter „Dec:“ den Wert 1702257011 schreibt und mit OK bestätigt. Dies entspricht dem Wort „save“. (s. Abbildung 6.14) Abbildung 6.14: Einstellungen speichern www.balluff.com | 63 deutsch...
Rotatory Encoder 1 Introduction 1.1 About this manual This technical manual describes the configuration and assembly options for Balluff absolute encoders with an EtherCAT interface. Additional information about this product can be found at www.balluff.com on the product page. Read the manual before using the equipment. Check first that the version of the manual you have is the most recent.
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 1.1.1 Explanation of symbols • The INFO symbol is placed next to a section of text that is particularly informative or important for what to do next with the equipment.
Generally speaking, the BDG product series with an EtherCAT interface comprises the following supplied package: • Rotatory encoder with EtherCAT (with bus cover) • Installation guide The corresponding ESI file and matching datasheet are available • on the Internet to download: www.balluff.com english...
EMC and Machinery directives. The encoder is a sensor for capturing angle positions and revolutions and should only be used for such purposes! Encoders from Balluff GmbH are produced and marketed for industrial use outside the safety/security sector.
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 2.3 Safe working The installation and assembly of the encoder must be carried out exclusively by a qualified electrician. National and international regulations applicable to the setup of electrical systems must be complied with.
They support the configuration of the encoder or troubleshooting in the field. The flange drill holes or supplied spring plates are used to secure the encoder to the machine or while in use. www.balluff.com | 11 english...
Page 80
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 3.2 EtherCAT EtherCAT is a real-time Ethernet technology that was originally discovered by Beckhoff Automation. The EtherCAT protocol published in the IEC standard IEC 61158 is suitable for hard as well as soft real-time requirements in automation technology, in measuring technology and in a number of other applications.
This must be within the measuring range so that the position value correlates to a physical reference position. To do this, the difference between the current position value and the desired value is calculated. This is stored in a non-volatile memory and added to the position value as an offset. www.balluff.com | 13 english...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 3.3.5 Scaling For the precise matching of the position value with the parameter to be measured in physical terms, adaptation can be carried out using the scaling parameters. The scalable parameters are "Measuring units per revolution (MUPR)"...
Page 83
3600 Cts since the result would otherwise be the revolution speed of the encoder shaft and not the speed of the faster shaft in the system. • It should be noted that measuring errors occur if the result of this formula is a decimal. www.balluff.com | 15 english...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 3.4 Things to consider when connecting EtherCAT encoders 3.4.1 BNE3 - bus cover with 3 x M12x1 The " BNE3" code in the order key refers to an encoder with a bus cover. The electrical connection is made at the bus cover via the 2 x M12 plugs and 1 x M12 socket.
C y c l e Flickering 10 Hz C y c l e 1000 1250 Single flash C y c l e www.balluff.com | 17 english...
Page 86
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder Error flashing signals: Flashing 2.5 Hz C y c l e Flickering 10 Hz C y c l e 1000 1250 Single flash...
EtherCAT encoder address 192.168.1.127. The IP address can be configured on the webpage of encoder, see subsection 5.3.1. The currently configured IP address can be determined using TwinCAT EoE settings or by reading objects 2900h..2902h. www.balluff.com | 19 english...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 4 EtherCAT 4.1 Summary of functions Expansion stage EtherCAT Slave V1.0.3 Protocols: CoE (CAN over EtherCAT) EoE (Ethernet over EtherCAT) FoE (File Access over EtherCAT) Profiles Communication Profile Area CiA-406 compatible (encoder class C3) Web server Standard web server...
Manufacturer-specific Unsigned32 0000 0001h content 1018h Identity Data for product Unsigned8 object identification Vendor ID Unsigned32 0000 021Fh Product code Unsigned32 5744 4741h Revision number Unsigned32 Serial number Unsigned32 Table 4.3: Object directory 1000h - 1018h www.balluff.com | 21 english...
Page 90
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder Object Name Description Data size Default (bit) 10F3h Diagnosis Contains the last 5 Unsigned8 history diagnosis messages Max. Nr. of Unsigned8 messages Subindex of recent Unsigned8 message Subindex of last Unsigned8 confirmed message New message...
Page 91
00h 1C00h Sync Sync Manager Unsigned8 Manager Configuration of Communi- communication cation Type channels Communication type Unsigned8 Communication type Unsigned8 Communication type Unsigned8 Communication type Unsigned8 Table 4.5: Object directory 1A01h - 1C00h www.balluff.com | 23 english...
Page 92
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder Object Name Description Data size Default (bit) 1C13h Sync Sync Manager PDO Unsigned8 Manager configuration 3 PDO Assignment PDO mapping object Unsigned16 1A00h index of TxPDO1 PDO mapping object Unsigned16 1A01h index of TxPDO2...
Page 93
Where Restore application objects Where Restore manufacturer objects Table 4.9: 1011h – Parameters loading options • The loading of original parameters is initiated by populating the corresponding sub-index with the ASCII value "load" (in hex: 6C6F6164h). www.balluff.com | 25 english...
Page 94
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 4.3.2.6 1018h - Identity object Sub-index Access Meaning Number of mapped objects default value: 4 Vendor ID Product code Revision number Serial number Table 4.10: 1018h – Identity object 4.3.2.7 10F3h –...
Page 96
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 4.3.2.10 1C00h – Sync Manager communication type Sub-Idx Type Access Meaning Unsigned8 Nr. of objects Value: 4 Unsigned8 Communication type SM0 Value: 1, Mailbox receive (Master to Slave) Unsigned8 Communication type SM1 Value: 2, Mailbox send (Slave to...
Page 97
Bit 7..15: Reserved Unsigned32 Minimum Cycle Time in ns 50000 Unsigned32 Calc and Copy Time 97000 Unsigned32 Sync0 Cycle Time Unsigned16 Cycle Time Too Small Bool Sync Error Table 4.17: Sync Manager 3 synchronisation (EtherCAT Objekt 1C33h) www.balluff.com | 29 english...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 4.3.3 Manufacturer-specific objects The objects 2000h to 5FFFh are manufacturer-specific and are not defined by the CiA. Object Name Description Data size Default (bit) 2105h Integration Sensor settings Unsigned8 value Position filter...
Page 99
4.3.3.4 2900h – IP address Contains the encoder's IP address. Default: 192.168.1.127 4.3.3.5 2901h – Subnet mask Contains the encoder's subnet mask. Default: 255.255.255.0 4.3.3.6 2902h – Gateway Contains the encoder's gateway address. Default: 0.0.0.0 www.balluff.com | 31 english...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 4.3.4 Encoder-specific objects The encoder-specific objects follow the CiA encoder profile 406 and can contain the object addresses 6000h to 9FFFh at most. Object Name Description Data size Default (bit) 6000h...
Page 101
4th CAM 6314h CAM5 low Lower switching point Unsigned8 limit for the 5th CAM Change of the lower Signed32 0000 0000h switching point for the 5th CAM Table 4.22: Device-specific objects 6300h - 6314h www.balluff.com | 33 english...
Page 102
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder Object Name Description Data size Default (bit) 6315h CAM6 low Lower switching point Unsigned8 limit for the 6th CAM Change of the lower Signed32 0000 0000h switching point for the 6th CAM 6316h CAM7 low...
Page 103
6336h CAM7 Hysteresis for the Unsigned8 hysteresis switching points of the 7th CAM The size of the Unsigned3 0000 0000h hysteresis depends on the height of this value Table 4.24: Device-specific objects 6330h - 6336h www.balluff.com | 35 english...
Page 104
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder Object Name Description Data size Default (bit) 6337h CAM8 Hysteresis for the Unsigned8 hysteresis switching points of the 8th CAM The size of the Unsigned32 0000 0000h hysteresis depends on the height of this value...
Page 105
6507h Profile and The first 4 digits = Unsigned3 0100 0400h software software version, the version next 4 digits = profile 6508h Operating Not supported Unsigned3 FFFF FFFFh time Table 4.26: Device-specific objects 6410h - 6508h www.balluff.com | 37 english...
Page 106
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder Object Name Description Data size Default (bit) 6509h Offset value Contains the offset Signed32 0000 0000h value, calculated from the preset function (6003h) 650Ah Module Manufacturer-specific Unsigned8 identification offset Manufacturer Signed32...
Page 107
<= 32 bits. If a higher total resolution is to be set > 32 bits, this must be set in object 600Ah (see 4.3.4.8). • TMR always uses the last value set • e.g. 600Ah was set last, TMR = the value of 600Ah, if 6002h is changed afterwards, TMR = the value of 6002h. www.balluff.com | 39 english...
Page 108
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 4.3.4.4 6003h – Preset value The displayed measured value can be adjusted using the setting of index 6003h. This means that the zero-point of the encoder can be aligned with the zero-point of your application.
Page 109
The following example shows a CAM state register with the value 89h: Position 7(MSB) 6 0(LSB) Type CAM 8 CAM 7 CAM 6 CAM 5 CAM 4 CAM 3 CAM 2 CAM 1 Value Logic High High High Table 4.30: CAM state register - value 89h www.balluff.com | 41 english...
Page 110
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder As can be seen from the above, value 89h defines that the cam switch positions CAM 1, CAM 4 and CAM 8 are high and the remaining cams are low. When the shaft turns further, it could happen that ultimately CAM 4 also becomes low.
Page 111
The CAM hysteresis is used to define the width of the hysteresis of the switching points. For each individual cam switch position (CAM 1 ... CAM 8), a separate CAM hysteresis can be set (see object index 6320h ... 6327h). www.balluff.com | 43 english...
Page 112
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 4.3.4.19 6340h … 6347h – High-resolution CAM1…CAM8 low limit See 4.3.4.16, only with max. 64 bit instead of max. 32 bit 4.3.4.20 6350h … 6357h – High-resolution CAM1…CAM8 high limit See 4.3.4.17, only with max.
Page 113
An error has occurred in the sensor. The position value is incorrect. Table 4.34: 6503h – Alarms 4.3.4.32 6504h – Supported alarms Object 6504h shows the supported alarms. Only the position error is supported, therefore the value is always 0x0001h. www.balluff.com | 45 english...
Page 114
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 4.3.4.33 6505h – Warnings Object 6505h outputs the status of the supported warnings. Signal 6505h – Warnings 15 … 9 Contents 15 … 9 Not used Always 0 Jerk range always 0, since object 6050h is not supported Acceleration range...
Page 115
000Bh. This states that the encoder is a class 3 high-resolution encoder without safety functions. 4.3.4.42 650Fh – Offset value for high-resolution encoder Object 650Fh contains the offset value for high-resolution encoders, calculated from the preset function (6009h). www.balluff.com | 47 english...
Page 116
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 4.3.4.43 6510h – Number of high-precision revolutions Object 6510h specifies the number of revolutions distinguishable by the sensor. Currently the value is FF FFFF FFFFh. • The specification defines this parameter as an Unsigned40 value.
PC sub-net address: 255.255.255.0 Once you have done this, the encoder's start page opens (Information - Summary). In the sub-sections below, we show you the various views of the web server and explain the possible functions to you. www.balluff.com | 49 english...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 5.2 Information 5.2.1 Summary Figure 5.1: Web server – Summary The summary contains the following information: • Device type: Designation of the encoder • Serial number: Device number of the encoder •...
This is where possible causes of errors can be displayed. If you see an error here, contact us and tell us what the information says. Field bus • CPU load: This is where you will see the CPU load of the encoder in operation. www.balluff.com | 51 english...
5.3.1 Network Figure 5.4: Network settings This is where you can change the device name, IP address, network status and gateway. • Please note that you can only change the data when the system is not moving. www.balluff.com | 53 english...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 5.3.2 Encoder Figure 5.5: Encoder information You can check the parametrised values of the encoder in Figure 5.5: • Position (with scaling) • RAW position (without scaling) • Offset •...
If the firmware update fails, please check that you have selected the correct file. Carry out a voltage reset and repeat the process. If the voltage supply fails during the update and the encoder stops responding, please contact our support team. www.balluff.com | 55 english...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 5.4 Licence information Figure 5.7: Licence information This is where you will find the current safety instructions, as well as firmware program packages. You can download the source code of these packages via the link on this website.
6.1 Commissioning • The XML file must be copied into the following directory: ...\TwinCAT\lO\EtherCAT • You can download the file from www.balluff.com. Start TwinCAT and a new project. Now carry out the following steps. • Ensure that you have an Intel network card in your PC.
Page 126
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder Confirm the message shown in Figure 6.2 with "OK". Figure 6.2: TwinCAT - Scan / Message Choose your TwinCAT-enabled network card (see Figure 6.3) Figure 6.3: TwinCAT - IO devices 58 | english...
Page 127
Once the scan is complete, confirm the following window with "Yes". (see Figure 6.5) The encoder appears in the tree structure and you can access the process data via the CoE tab. (see Figure 6.6) Figure 6.6: TwinCAT - Scan complete www.balluff.com | 59 english...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 6.2 Scaling To use the scaling function, make sure that the object with index 6000 is set to e.g. 0x0004 in the "CoE - Online" tab. (see Figure 6.7) If not, double-click it and change the value (see Figure 6.8) to your desired setting (see 4.3.4.1 6000h –...
Page 129
Figure 6.10: Scaling – Total measuring range in measuring units The result should look like in Figure 6.11. Figure 6.11: Scaling - Overview of the example settings To ensure that the values are saved after a voltage reset, please read Chapter 6.4 Save settings. www.balluff.com | 61 english...
BDG FBJ58-_ _ _ _-NE_ _ _-_ _ _ _-0000-BNE3 Rotatory Encoder 6.3 Preset To set a preset, you must set the desired value to the object with index 6003. Double- click object 6003 in the tab "CoE - Online". Enter the desired value (in the example "0") and confirm with OK.
To ensure that settings are retained even after a voltage reset, the values must be saved. This is done by setting the value of object 1010:01 to 1702257011 as "Dec:" and confirming with OK (see Figure 6.14). This corresponds to the word "save". Figure 6.14: Save settings www.balluff.com | 63 english...
Need help?
Do you have a question about the BDG FBJ58-NE-0000-BNE3 Series and is the answer not in the manual?
Questions and answers