advertisement
Rotary Encoders
Linear
Encoders
Motion
System
D
GB
LP
System
LA
System
LMP
System
•
Software/Support DVD: 490-01001
- Soft-No.: 490-00423
+ Multi-Sensor
5615
Benutzerhandbuch / User Manual
Absolute linear encoder series LA, LP, LMP with
EtherNet/IP
interface
•
Zusätzliche Sicherheitshinweise
•
Installation
•
Inbetriebnahme
•
Konfiguration / Parametrierung
•
Fehlerursachen und Abhilfen
•
Additional safety instructions
•
Installation
•
Commissioning
•
Configuration / Parameterization
•
Cause of faults and remedies
TR-Electronic GmbH
D-78647 Trossingen
Eglishalde 6
Tel.: (0049) 07425/228-0
Fax: (0049) 07425/228-33
E-mail: [email protected] http://www.tr-electronic.de
Urheberrechtsschutz
Dieses Handbuch, einschließlich den darin enthaltenen Abbildungen, ist urheberrechtlich geschützt. Drittanwendungen dieses Handbuchs, welche von den urheberrechtlichen Bestimmungen abweichen, sind verboten. Die Reproduktion,
Übersetzung sowie die elektronische und fotografische Archivierung und
Veränderung bedarf der schriftlichen Genehmigung durch den Hersteller.
Zuwiderhandlungen verpflichten zu Schadenersatz.
Änderungsvorbehalt
Jegliche Änderungen, die dem technischen Fortschritt dienen, vorbehalten.
Dokumenteninformation
Schreibweisen
Ausgabe-/Rev.-Datum: 03/14/2013
Dokument-/Rev.-Nr.:
Dateiname:
Verfasser:
TR - ELA - BA - DGB - 0009 - 03
TR-ELA-BA-DGB-0009-03.DOC
MÜJ
Kursive oder fette Schreibweise steht für den Titel eines Dokuments oder wird zur
Hervorhebung benutzt.
Courier-Schrift zeigt Text an, der auf dem Display bzw. Bildschirm sichtbar ist und
Menüauswahlen von Software.
< >
weist auf Tasten der Tastatur Ihres Computers hin
(wie etwa <RETURN>).
Marken
EtherNet/IP
™ ist ein eingetragenes Warenzeichen, das unter Lizenz von der ODVA verwendet wird (Open DeviceNet Vendor Association).
CIP™, Common Industrial Protocol™ und DeviceNet™ sind eingetragene
Warenzeichen der ODVA, Inc.
EtherNet/IP CONFORMANCE TESTED™ ist eine Zertifizierungsmarke der ODVA.
ControlNet
™ ist ein eingetragenes Warenzeichen der ControlNet International, Ltd.
TR-Electronic GmbH 2008, All Rights Reserved
Page 2 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Inhaltsverzeichnis
Inhaltsverzeichnis
2.2 Ergänzende Hinweise zur bestimmungsgemäßen Verwendung .................................... 10
4.2.1 Explicit Messaging, Austausch von Informationen .......................................... 14
6.3.4 Zusammenhang IP-Adresse und Default-Subnetzmaske ............................... 22
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 3 of 156
Inhaltsverzeichnis
8.4.3.2 Attribute 0x03, Status + Position 1 .................................................. 40
8.4.3.3 Attribute 0x03, Status + Position 1-2 ............................................... 40
8.4.3.4 Attribute 0x03, Status + Position 1-3 ............................................... 41
8.6.3.2 Attribute 0x0B, Position Sensor Type .............................................. 47
8.6.3.3 Attribute 0x0C, Direction Counting Toggle ...................................... 47
8.6.3.4 Attribute 0x10, Measuring Units per Span ....................................... 48
8.6.3.5 Attribute 0x64-0x66, Position Value 1-3 .......................................... 48
8.6.3.6 Attribute 0x67-0x69, Preset Value 1-3 ............................................. 49
8.6.3.7 Attribute 0x6A-0x6C, Preset 1-3 Release ........................................ 50
8.6.3.9 Attribute 0x6E, Number of Magnets ................................................. 51
8.6.3.10 Attribute 0x6F, Position Status ...................................................... 52
8.6.3.11 Attribute 0x70, Accept Parameter .................................................. 52
TR-Electronic GmbH 2008, All Rights Reserved
Page 4 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Inhaltsverzeichnis
8.8.3.2 Attribute 0x02, Configuration Capability .......................................... 58
8.8.3.3 Attribute 0x03, Configuration Control............................................... 58
8.8.3.4 Attribute 0x04, Physical Link Object ................................................ 59
8.8.3.5 Attribute 0x05, Interface Configuration ............................................ 59
8.8.3.5.1 IP-Parameter beziehen .................................................... 60
8.8.3.5.2 IP-Parameter setzen und speichern ................................ 61
8.9.3.1 Attribute 0x02, Interface Flags ......................................................... 63
10.2 IP-Parameter über TRWinProg programmieren und im FLASH speichern .................. 68
10.2.1 Anbindung an den PC (Programmierung) ..................................................... 68
10.3 Lesen/Schreiben von Attributen über Rockwell Steuerung „RSLogix5000“ ................. 70
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 5 of 156
Änderungs-Index
Änderungs-Index
Änderung
Erstausgabe
, „Verbindungstypen“, Seite 64
Magnetabstand: 50 mm --> 80 mm
- Warnhinweise aktualisiert
- LA, LP, LMP EDS-Dateien separiert
- EDS-Version neutral gehalten
Datum Index
26.11.08 00
17.12.08 01
15.07.09 02
14.03.13 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 6 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Allgemeines
1 Allgemeines
Das vorliegende schnittstellenspezifische Benutzerhandbuch beinhaltet folgende
Themen:
● Ergänzende Sicherheitshinweise zu den bereits in der Montageanleitung definierten grundlegenden Sicherheitshinweisen
● Elektrische Kenndaten
● Installation
● Inbetriebnahme
● Konfiguration / Parametrierung
● Fehlerursachen und Abhilfen
Da die Dokumentation modular aufgebaut ist, stellt dieses Benutzerhandbuch eine
Ergänzung zu anderen Dokumentationen wie z.B. Produktdatenblätter,
Maßzeichnungen, Prospekte und der Montageanleitung etc. dar.
Das Benutzerhandbuch kann kundenspezifisch im Lieferumfang enthalten sein, oder kann auch separat angefordert werden.
1.1 Geltungsbereich
Dieses Benutzerhandbuch gilt ausschließlich für folgende Mess-System-Baureihen mit EtherNet/IP Schnittstelle:
● LA
● LP
● LMP
Die Produkte sind durch aufgeklebte Typenschilder gekennzeichnet und sind
Bestandteil einer Anlage.
Es gelten somit zusammen folgende Dokumentationen:
● anlagenspezifische Betriebsanleitungen des Betreibers,
● dieses Benutzerhandbuch,
● und die bei der Lieferung beiliegende
Montageanleitung TR-ELA-BA-DGB-0004
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 7 of 156
Allgemeines
1.2 Referenzen
IEC 61158:2003, Type 2 Definiert u.a. den CIP Application Layer,
1. welcher EtherNet/IP benutzt
2.
IEC 61784-1:2003,
CP 2/2 Type 2
Definiert das Kommunikationsprofil von EtherNet/IP
3.
ISO/IEC 8802-3
4. RFC768
5. RFC791
6. RFC792
7. RFC793
8. RFC826
RFC894
9.
10. RFC1112
11.
RFC2236
12. ODVA
Carrier Sense Multiple Access with Collision Detection
(CSMA/CD) Access Method and Physical Layer Specifications
Definiert das User Datagram Protocol (UDP)
Definiert das Internet Protocol (IP)
Definiert das Internet Control Message Protocol (ICMP)
Definiert das Transmission Control Protocol (TCP)
Definiert das Ethernet Address Resolution Protocol (ARP)
Standard für die Übermittlung von IP-Datagrammen
über Ethernet-Netzwerke
Host Erweiterungen für IP Multicasting
Definiert das Internet Group Management Protocol (ICMP),
Version 2
EtherNet/IP-Spezifikation
TR-Electronic GmbH 2008, All Rights Reserved
Page 8 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
1.3 Verwendete Abkürzungen / Begriffe
CAN
Controller Area Network
(herstellerunabhängiger, offener Feldbusstandard)
CIP
DHCP
Allgemeines
Common Industrial Protocol, Protokoll für die Übertragung von
Echtzeitdaten und Konfigurationsdaten.
Dynamic Host Configuration Protocol, dynamische Zuweisung einer IP-Adresse
DNS Domain Name System, Namensauflösung in eine IP-Adresse
EDS
EMV
Gateway
Electronic-Data-Sheet (elektronisches Datenblatt)
Elektro-Magnetische-Verträglichkeit
Verbindungsstelle zwischen zwei Netzwerken
Halbduplex
IGMP
LA
LMP
LP
MAC-ID
Multicast
ODVA
Port
Router
Switch
TCP/IP
UDP
Vollduplex
Wechselseitige Datenübermittlung
Internet Group Management Protocol,
Protokoll zur Verwaltung von Gruppen
Linear-Absolutes-Mess-System, Ausführung mit Rohr-Gehäuse
Linear-Absolutes-Mess-System, Ausführung mit Profil-Gehäuse
Linear-Absolutes-Mess-System, Ausführung mit Profil-Gehäuse
Media Access Control Identifier
(Knoten-Adresse)
Mehrpunktverbindung, die Nachricht wird an eine bestimmte
Gruppe von Teilnehmern gesendet.
Open DeviceNet Vendor Association
(CAN Nutzerorganisation, speziell für DeviceNet
, EtherNet/IP
™)
Anschluss,
Teil einer Adresse, die Datensegmente einem Netzwerkprotokoll zuordnet.
Netzwerk-Komponente zur Kopplung mehrerer Subnetze.
Netzwerk-Komponente zur Verbindung mehrerer Computer bzw.
Netz-Segmente in einem lokalen Netzwerk, verhindert Kollisionen.
Transmission Control Protocol/Internet Protocol
User Datagram Protocol
Beidseitige Datenübermittlung
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 9 of 156
Zusätzliche Sicherheitshinweise
2 Zusätzliche Sicherheitshinweise
2.1 Symbol- und Hinweis-Definition
bedeutet, dass Tod oder schwere Körperverletzung eintreten 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 getroffen werden. bezeichnet wichtige Informationen bzw. Merkmale und
Anwendungstipps des verwendeten Produkts.
2.2 Ergänzende Hinweise zur bestimmungsgemäßen Verwendung
Das Mess-System ist ausgelegt für den Betrieb in 100Base-TX Fast Ethernet
Netzwerken mit max. 100 MBit/s, spezifiziert in ISO/IEC 8802-3. Die Kommunikation
über EtherNet/IP erfolgt gemäß IEC 61158 ff, Typ 2 und IEC 61784-1,
CP 2/2 Typ 2. Das Geräteprofil entspricht dem
„Encoder Device Profile 0x22“ der
ODVA EtherNet/IP-Spezifikation.
Die technischen Richtlinien zum Aufbau des Fast Ethernet Netzwerks sind für einen sicheren Betrieb zwingend einzuhalten.
Zur bestimmungsgemäßen Verwendung gehört auch:
● das Beachten aller Hinweise aus diesem Benutzerhandbuch,
● das Beachten der Montageanleitung, insbesondere das dort enthaltene Kapitel
"Grundlegende Sicherheitshinweise" muss vor Arbeitsbeginn gelesen und verstanden worden sein
TR-Electronic GmbH 2008, All Rights Reserved
Page 10 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Zusätzliche Sicherheitshinweise
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 Arbeitsbeginn
– die Montageanleitung, insbesondere das Kapitel "Grundlegende
Sicherheitshinweise",
– und dieses Benutzerhandbuch, insbesondere das Kapitel "Zusätzliche
gelesen und verstanden haben.
Dies gilt in besonderem Maße für nur gelegentlich, z.B. bei der Parametrierung des
Mess-Systems, tätig werdendes Personal.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 11 of 156
Technische Daten
3 Technische Daten
3.1 Elektrische Kenndaten
EMV
≤ 3
Abstand zwischen 2 Magneten: .....................
über EtherNet/IP:
- Positionsmittelung
- Anzahl Magnete
- Presetausführung
- Zählrichtung
- Auflösung
- Presetwert
* parametrierbar über EtherNet/IP
TR-Electronic GmbH 2008, All Rights Reserved
Page 12 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
EtherNet/IP Informationen
4 EtherNet/IP Informationen
4.1 Allgemeines
EtherNet/IP wurde von Rockwell Automation und der ODVA als offener
Feldbusstandard, basierend auf dem Ethernet Industrial Protocol entwickelt und ist in den internationalen Normen IEC 61158:2003 Typ 2 und IEC 61784-1:2003 CP 2/2
Typ 2 standardisiert.
Spezifikation und Pflege des EtherNet/IP-Standards obliegen der ODVA.
EtherNet/IP gehört wie ControlNet und DeviceNet zur Familie der CIP-basierten
Netzwerke. CIP (Common Industrial Protocol) bildet die gemeinsame
Applikationsschicht dieser 3 industriellen Netzwerke. DeviceNet, ControlNet und
EtherNet/IP sind daher gut aufeinander abgestimmt und stellen dem Anwender ein abgestuftes Kommunikationssystem für die Leitebene (EtherNet/IP), Zellenebene
(ControlNet) und Feldebene (DeviceNet) zur Verfügung. EtherNet/IP ist ein objektorientiertes Bussystem und arbeitet nach dem Producer/Consumer Verfahren.
Abbildung 1: Beziehungen zwischen CIP, DeviceNet, ControlNet und EtherNet/IP
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 13 of 156
EtherNet/IP Informationen
4.2 EtherNet/IP Übertragungsarten
Das auf TCP und UDP aufgesetzte EtherNet/IP-Kommunikationsprotokoll CIP dient drei Zwecken:
1. der Steuerung,
2. der Konfiguration
3. und dem Beobachten bzw. Sammeln von Daten
Der Steuerungsteil von CIP wird für zyklische Echtzeit-I/O-Nachrichtenübertragung
Implicit Messaging verwendet. Der Konfigurations- und Beobachtungsteil von
CIP dient der expliziten Informationsübertragung Explicit Messaging.
Abbildung 2:TCP/IP Stack Handling
4.2.1 Explicit Messaging, Austausch von Informationen
Nicht zeitkritische Datenübertragungen, oft große Datenpakete. Bei der Übertragung von Informationsdaten handelt es sich um transiente Kommunikationsbeziehungen
Unconnected Messaging oder langfristige Kommunikationsbeziehungen
Connected Messaging zwischen einem Sender und einem einzelnen Zielgerät.
Informationsdatenpakete verwenden das TCP/IP-Protokoll über den Port 44818 und nutzen die TCP-Funktionen zur Datenverarbeitung.
4.2.2 Implicit Messaging, Austausch von I/O-Daten
Zeitkritische Datenübertragungen, typischerweise kleinere Datenpakete. Bei der
Übertragung von I/O-Daten handelt es sich um langfristige implizite Verbindungen zwischen einem Sender und einer beliebigen Zahl von Zielgeräten. I/O-Datenpakete verwenden das UDP/IP-Protokoll über den Port 2222 und nutzen den extrem schnellen Datendurchsatz. Diese Art des Datenaustausches wird verwendet für die
Kommunikation mit I/O-Geräten, aber auch für die Echtzeit-Verriegelung zwischen
Steuerungen.
TR-Electronic GmbH 2008, All Rights Reserved
Page 14 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
4.3 EtherNet/IP Geräteprofile
EtherNet/IP Informationen
Über die Spezifikation der reinen Kommunikationsfunktionen hinaus, beinhaltet
EtherNet/IP auch die Definition von Geräteprofilen. Diese Profile legen für die jeweiligen Gerätetypen die minimal verfügbaren Objekte und
Kommunikationsfunktionen fest. Für das EtherNet/IP Mess-System wurde die Geräte-
Typ-Nummer 22hex für Encoder festgelegt.
4.4 Vendor ID
Die Vendor IDs (Herstellerkennungen) werden von der ODVA vergeben und verwaltet.
Die Vendor ID von TR-Electronic für EtherNet/IP ist "1137" (dez).
4.5 Weitere Informationen
Weitere Informationen zum EtherNet/IP erhalten Sie auf Anfrage von der Open
DeviceNet Vendor Association (ODVA) unter nachstehender Internet-Adresse:
ODVA, Inc.
4220 Varsity Drive, Suite A
Ann Arbor, MI 48108-5006 USA
Phone +1 734.975.8840
Fax +1 734.922.0027 http://www.odva.org
e-mail: mailto:[email protected]
Downloads: http://www.ethernetip.de
http://literature.rockwellautomation.com
http://www.rockwellautomation.com/knowledgebase/
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 15 of 156
Installation / Inbetriebnahmevorbereitung
5 Installation / Inbetriebnahmevorbereitung
EtherNet/IP-Netzwerke nutzen in der Regel eine aktive Sterntopologie, in der die
Geräte über eine Punkt-zu-Punkt-Verbindung an einen Switch angeschlossen sind.
Ein Vorteil einer Sterntopologie liegt darin, dass sie Geräte mit einer Übertragungsrate von 10 Mbit/s, wie auch von 100 Mbit/s unterstützt. Ebenso kann man Geräte beider
Übertragungsraten miteinander kombinieren, da die meisten Ethernet-Switches die
Übertragungsgeschwindigkeit automatisch aushandeln.
Für die Übertragung nach dem 100Base-TX Fast Ethernet Standard sind Patch-Kabel der Kategorie STP CAT5e zu benutzen (2 x 2 paarweise verdrillte und geschirmte
Kupferdraht-Leitungen). Die Kabel sind ausgelegt für Bitraten von bis zu 100 Mbit/s.
Die Übertragungsgeschwindigkeit wird vom Mess-System automatisch erkannt und muss nicht durch Schalter eingestellt werden. Der Schirm ist nur auf einer Seite zu erden.
Für die Übertragung ist Voll-Duplex Betrieb zu benutzen. Für den Aufbau des
EtherNet/IP-Netzwerks wird der Einsatz von Switches mit folgenden Eigenschaften empfohlen:
● für die E/A-Kommunikation:
– Voll-Duplex tauglich, auf allen Ports
– IGMP-Snooping - beschränkt Multicast-Datenverkehr auf die Ports mit zugehöriger IP Multicast Gruppe.
– IGMP Query – Router (oder Switch) mit aktiver IGMP-Funktion verschicken periodisch Anfragen (Query), um zu erfahren, welche IP-Multicast-Gruppen-
Mitglieder im LAN angeschlossen sind.
– Port Mirroring – erlaubt das Spiegeln von Datenverkehr von einem Port auf einen anderen, wichtig zur Fehlersuche.
● sonstige Switch-Funktionen:
– z.B. Redundante Stromversorgung
– Ferndiagnosemöglichkeiten
Die EtherNet/IP Node-ID kann entweder über zwei Drehschalter, Flash-Konfiguration oder DHCP eingestellt werden.
Die Kabellänge zwischen zwei Teilnehmern darf max. 100 m betragen.
Um einen sicheren und störungsfreien Betrieb zu gewährleisten, sind die
-
ISO/IEC 11801, EN 50173 (europäische Standard)
-
-
-
-
-
ISO/IEC 8802-3
IAONA Richtlinie „Industrial Ethernet Planning and Installation“ http://www.iaona-eu.com
Rockwell Publikation „EtherNet/IP Performance and Application Guide“
Nr.: ENET-AP001A-EN-P
Rockwell Publikation
„Ethernet/IP-Medien Handbuch zur Planung und
Installation
“, Nr.: ENET-IN001A-DE-P
Rockwell Publikation
„Richtlinien zur störungsfreien Verdrahtung und Erdung von industriellen Automatisierungssystemen
“, Nr.: 1770-4.1DE
-
und sonstige einschlägige Normen und Richtlinien zu beachten!
Insbesondere sind die EMV-Richtlinie sowie die Schirmungs- und Erdungsrichtlinien
in den jeweils gültigen Fassungen zu beachten!
TR-Electronic GmbH 2008, All Rights Reserved
Page 16 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
5.1 Anschluss
Installation / Inbetriebnahmevorbereitung
X1 EtherNet/IP IN / OUT; Flanschdose (M12x1-4 pol. D-coded)
1 TxD+ Sendedaten +
2
3
4
RxD+
TxD
–
RxD
–
Empfangsdaten +
Sendedaten
–
Empfangsdaten
–
X2 Versorgung; Flanschstecker (M8x1-4 pol.)
1 19
– 27 V DC
Versorgung
2 TRWinProg + nur für Servicezwecke
3 GND, 0V
Versorgung
4 TRWinProg
– nur für Servicezwecke
Für die Versorgung sind paarweise verdrillte und geschirmte Kabel zu verwenden !
Die Schirmung ist großflächig auf das Gegensteckergehäuse aufzulegen!
Bestellangaben zur Ethernet Flanschdose M12x1-4 pol. D-kodiert
Hersteller Bezeichnung Bestell-Nr.:
Binder Series 825 99-3729-810-04
Phoenix Contact SACC-M12MSD-4CON-PG 7-SH (PG 7) 15 21 25 8
Phoenix Contact SACC-M12MSD-4CON-PG 9-SH (PG 9) 15 21 26 1
Harting
HARAX
M12-L
21 03 281 1405
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 17 of 156
Installation / Inbetriebnahmevorbereitung
5.2 Node-Adresse (Host-ID)
Jeder EtherNet/IP Knoten wird über eine 8 Bit Node-Adresse in einem EtherNet/IP
Segment adressiert. Innerhalb eines EtherNet/IP Segmentes darf diese Adresse nur einmal vergeben werden und hat daher nur für das lokale EtherNet/IP Segment eine
Bedeutung. Die eingestellte Node-Adresse entspricht der Host-ID und ist Bestandteil der IP-Adresse, siehe auch
Kapitel „Netzwerkkonfiguration“ auf Seite 21.
Standard IP-Adresse, wenn Schalter aktiv
192.168.1.
Netz-ID
<eingestellte EtherNet/IP Node-Adresse>
Host-ID
Tabelle 1: Aufbau der Ipv4 Adresse
Die Node-Adresse wird über zwei HEX-Drehschalter eingestellt, welche nur im
Einschaltmoment gelesen werden. Nachträgliche Einstellungen während des Betriebs werden daher nicht erkannt.
Schalter Aktivierung
Schalter = 0x00 oder 0xFF Konfiguration aus dem FLASH bzw. über DHCP
Schalter
≠ 0x00 oder 0xFF
Schalter aktiv
Tabelle 2: Schalter-Aktivierung
Für das Mess-System dürfen die Node-
Adressen 1…254 vergeben werden.
Abbildung 3: EtherNet/IP Node-Adresse, Schalterzuordnung
Sind die HEX-Drehschalter aktiv geschaltet, gelten folgende Festlegungen:
● IP-Adresse = 192.168.1.<eingestellte Node-Adresse>
● Subnetzmaske = 255.255.255.0
● Default Gateway = 192.168.1.254
Konfiguration aus dem FLASH bzw. über einen DHCP-Server beziehen, siehe
„Attribute 0x05, Interface Configuration“ ab Seite 59.
TR-Electronic GmbH 2008, All Rights Reserved
Page 18 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Inbetriebnahme
6 Inbetriebnahme
6.1 EDS-Datei
Die EDS-Datei (elektronisches Datenblatt) enthält alle Informationen über die Mess-
System-spezifischen Parameter sowie Betriebsarten des Mess-Systems. Die EDS-
Datei wird durch das EtherNet/IP-Netzwerkkonfigurationswerkzeug eingebunden, um das Mess-System ordnungsgemäß konfigurieren bzw. in Betrieb nehmen zu können.
Die EDS-Dateien sind gerätespezifisch und haben den Dateinamen:
-
LA:
„04710022_LA46_XXXXXX.eds“
-
LP:
„04710022_LP46_XXXXXX.eds“
-
LMP:
„04710022_LMP46_XXXXXX.eds“
Die Dateien befindet sich auf der Software/Support DVD:
-
Art.-Nr.: 490-01001
-
Soft-Nr.: 490-00423
6.2 Bus-Statusanzeige
Das EtherNet/IP-Mess-System ist mit drei Diagnose-LEDs ausgestattet.
Abbildung 4: EtherNet/IP Diagnose-LEDs
6.2.1 Link / Data Activity LED
LED Status Beschreibung
ON = Link Ethernet Verbindung hergestellt
Blinkend = Data Activity Datenübertragung TxD/RxD
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 19 of 156
Inbetriebnahme
6.2.2 Network-Status LED
LED Status Ursache Beschreibung
OFF keine Versorgungsspannung, oder IP-
Adresse
Das Gerät ist nicht mit Spannung versorgt, oder es wurde keine IP-Adresse zugewiesen.
1 Hz
ON
1 Hz grün/rot keine Verbindungen
Verbindung hergestellt
Selbsttest
Es wurden keine Verbindungen hergestellt, aber eine IP-Adresse wurde zugewiesen.
Gerät hat mindestens eine Verbindung hergestellt, z.B. zum Message Router.
Gerät führt im Einschaltmoment einen
Selbsttest durch.
6.2.3 Error LED
LED Status Ursache Beschreibung
1 Hz
ON
Verbindungs-Timeout
Duplizierte IP
1 Hz grün/rot
Selbsttest
Eine oder mehrere Verbindungen zum Gerät sind im Timeout Zustand. Der Zustand wird nur verlassen, wenn alle Verbindungen wieder hergestellt wurden, oder ein Geräte-
RESET vorgenommen wurde.
Gerät hat festgestellt, dass seine eigene IP-
Adresse mehrfach im Netzwerk vergeben wurde.
Gerät führt im Einschaltmoment einen
Selbsttest durch.
TR-Electronic GmbH 2008, All Rights Reserved
Page 20 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Inbetriebnahme
6.3 Netzwerkkonfiguration
6.3.1 MAC-Adresse
Jedem EtherNet/IP-Gerät wird bereits bei TR-Electronic eine weltweit eindeutige
Geräte-Identifikation zugewiesen und dient zur Identifizierung des Ethernet-Knotens.
Diese 6 Byte lange Geräte-Identifikation ist die MAC-Adresse und ist nicht veränderbar.
Die MAC-Adresse teilt sich auf in:
● 3 Byte Herstellerkennung und
● 3 Byte Gerätekennung, laufende Nummer
Die MAC-Adresse steht im Regelfall auf der Anschluss-Haube des Gerätes. z.B.: „00-03-12-04-00-60“
6.3.2 IP-Adresse
Damit ein EtherNet/IP-Gerät als Teilnehmer am Industrial Ethernet angesprochen werden kann, benötigt dieses Gerät zusätzlich eine im Netz eindeutige IP-Adresse.
Die IP-Adresse besteht aus 4 Dezimalzahlen mit dem Wertebereich von 0 bis 255.
Die Dezimalzahlen sind durch einen Punkt voneinander getrennt.
Die IP-Adresse setzt sich zusammen aus
● Der Adresse des (Sub-) Netzes und
● Der Adresse des Teilnehmers, im Allgemeinen auch Host oder Netzknoten genannt
6.3.3 Subnetzmaske
Die gesetzten Bits der Subnetzmaske bestimmen den Teil der IP-Adresse, der die
Adresse des (Sub-) Netzes enthält.
Allgemein gilt:
● Die Netzadresse ergibt sich aus der UND-Verknüpfung von IP-Adresse und
Subnetzmaske.
● Die Teilnehmeradresse ergibt sich aus der Verknüpfung
IP-Adresse
UND (NICHT Subnetzmaske)
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 21 of 156
Inbetriebnahme
6.3.4 Zusammenhang IP-Adresse und Default-Subnetzmaske
Es gibt eine Vereinbarung hinsichtlich der Zuordnung von IP-Adressbereichen und so genannten „Default-Subnetzmasken“. Die erste Dezimalzahl der IP-Adresse (von links) bestimmt den Aufbau der Default-Subnetzmaske hinsichtlich der Anzahl der
Werte „1“ (binär) wie folgt:
Netzadressbereich (dez.) IP-Adresse (bin.) Adressklasse
Default
Subnetzmaske
1.0.0.0 – 126.0.0.0 0xxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
A 255.0.0.0
128.1.0.0 – 191.254.0.0 10xx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
B 255.255.0.0
192.0.1.0 – 223.255.254.0 110x xxxx xxxx xxxx xxxx xxxx xxxx xxxx
IP-Adresse
Class A-Netz: 1 Byte Netzadresse, 3 Byte Hostadresse
Class B-Netz: 2 Byte Netzadresse, 2 Byte Hostadresse
Class C-Netz: 3 Byte Netzadresse, 1 Byte Hostadresse
Beispiel zur Subnetzmaske
IP-Adresse = 130.094.122.195,
Netzmaske = 255.255.255.224
Dezimal Binär
130.094.122.195
10000010 01011110 01111010 11000011
Netzmaske 255.255.255.224
11111111 11111111 11111111 111 00000
Netzadresse 130.094.122.192
10000010 01011110 01111010 110 00000
IP-Adresse 130.094.122.195
10000010 01011110 01111010 11000011
C 255.255.255.0
Berechnung
IP-Adresse
UND Netzmaske
= Netzadresse
IP-Adresse
Netzmaske 255.255.255.224
11111111 11111111 11111111 111 00000
UND (NICHT Netzmaske)
(00000000 00000000 00000000 000 11111 )
00000000 00000000 00000000 000 00011
Hostadresse 3 = Hostadresse
6.3.5 Default Gateway
Ein Default Gateway ist ein Knoten (Router/Gateway) im EtherNet/IP-Netzwerk und ermöglicht den Zugriff auf ein anderes Netzwerk, außerhalb des EtherNet/IP-Netzwerks.
Ist im EtherNet/IP-Netzwerk ein Router/Gateway vorhanden, ist die dort benutzte IP-
Adresse zu verwenden.
TR-Electronic GmbH 2008, All Rights Reserved
Page 22 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Objekt-Modell
7 Objekt-Modell
Für die Netzwerkkommunikation verwendet EtherNet/IP ein so genanntes Objekt-
Modell, in welchem alle Funktionen und Daten eines Gerätes definiert sind. Jeder
Knoten im Netz wird als Sammlung von Objekten dargestellt. Die folgenden Objektmodellierungsbezogenen Ausdrücke sind üblich, wenn CIP-Services und Protokolle beschrieben werden:
Objekt (Object):
Das Objekt-Modell besteht aus Klassen von Objekten. Ein Objekt ist eine abstrakte
Darstellung von einzelnen, zusammengehörigen Bestandteilen innerhalb eines
Gerätes. Es ist bestimmt durch seine Daten oder Eigenschaften (Attributes), seine nach außen bereitgestellten Funktionen oder Dienste (Services) und durch sein definiertes Verhalten (Behavior).
Klasse (Class):
Eine Klasse beinhaltet zusammengehörige Bestandteile (Objects) eines Gerätes, organisiert in Instanzen.
Instanz (Instance):
Eine Instanz besteht aus verschiedenen Variablen (Attributes), die die Eigenschaften dieser Instanz beschreiben. Unterschiedliche Instanzen einer Klasse haben die gleichen Dienste (Services), das gleiche Verhalten (Behavior) und die gleichen
Variablen (Attributes). Sie können jedoch unterschiedliche Variablenwerte haben.
Variable (Attribute):
Die Variablen (Attributes) repräsentieren die Daten, die ein Gerät über EtherNet/IP zur
Verfügung stellt. Diese enthalten die aktuellen Werte z. B. einer Konfiguration oder eines Eingangs. Typische Attribute sind beispielsweise Konfigurations- oder
Statusinformationen.
Verhalten (Behavior):
Das Verhalten definiert, wie ein Gerät aufgrund äußerer Ereignisse, wie veränderte
Prozessdaten, oder aufgrund innerer Ereignisse, wie ablaufende Timer, reagiert.
Dienst (Service):
Um auf Klassen oder auf die Attribute einer Klasse zuzugreifen, bzw. bestimmte
Ereignisse zu erzeugen, werden Dienste verwendet. Diese Dienste führen festgelegte
Aktionen durch, z. B. das Lesen von Variablen oder das Zurücksetzten einer Klasse.
Dabei existiert für jede Klasse ein bestimmter Satz an Services.
Class Instances Attributes Attribute Werte
Mensch
Marion
Josef
Geschlecht
Alter
Geschlecht
Alter weiblich
31 männlich
50
Tabelle 3: Beispiel, Objekt-Modell Terminologie
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 23 of 156
Objekt-Modell
7.1 Objekt-Modell, Encoder Device
Nach der EtherNet/IP-Spezifikation entspricht das TR-Mess-
System einem „Encoder
Device, Device Type 0x22“. Abbildung 5 beschreibt daher das Objekt-Modell eines
TR-Mess-Systems.
7.1.1 Classes
Abbildung 5: Objekt-
Modell „Encoder Device“
Object Classes
0x01: Identity Object
0x02: Message Router Object
0x04: Assembly Object
0x06: Connection Manager Object
0x23: Position Sensor Object
0xF4: Port Object
0xF5: TCP/IP Interface Object
0xF6: Ethernet Link Object
Tabelle 4: Unterstützte Klassen
Anzahl Instances
1
1
1
1
1
1
4
1
TR-Electronic GmbH 2008, All Rights Reserved
Page 24 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Objekt-Modell
7.1.2 I/O Assembly Instances
Über die IO Assembly Instances werden die Prozessdaten bzw. Positionswert des Mess-Systems übertragen:
● Instanz 1: 1x 32 Bit Positionsdaten, Magnet 1
● Instanz 101: 1x 32 Bit Positionsdaten, 1x 32 Bit Status; Anzahl Magnete = 1
● Instanz 102: 2x 32 Bit Positionsdaten, 1x 32 Bit Status; Anzahl Magnete = 2
● Instanz 103: 3x 32 Bit Positionsdaten, 1x 32 Bit Status; Anzahl Magnete = 3
Instance Typ Name Beschreibung
1
100
101
102
103
Input Position 1
- Heartbeat
Input Status+Position 1
Input Status+Position 1-2
Input Status+Position 1-3
Betrieb mit einem Magnet
Heartbeat
Betrieb mit einem Magnet
Betrieb mit zwei Magneten
Betrieb mit drei Magneten
Tabelle 5: Übersicht I/O Assembly Instanzen
7.1.3 I/O Assembly Data Attribute Format
Die Prozessdaten werden mit folgendem Format übertragen:
Instance Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1
101
0 Position 1, Low Byte
1 Position 1
2 Position 1
3 Position 1, High Byte
0 Status, Low Byte
1 Status
2 Status
3 Status, High Byte
4 Position 1, Low Byte
5 Position 1
6 Position 1
7 Position 1, High Byte
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 25 of 156
Objekt-Modell
Fortsetzung
Instance Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
102
103
0 Status, Low Byte
1 Status
2 Status
3 Status, High Byte
4 Position 1, Low Byte
5 Position 1
6 Position 1
7 Position 1, High Byte
8 Position 2, Low Byte
9 Position 2
10 Position 2
11 Position 2, High Byte
0 Status, Low Byte
1 Status
2 Status
3 Status, High Byte
4 Position 1, Low Byte
5 Position 1
6 Position 1
7 Position 1, High Byte
8 Position 2, Low Byte
9 Position 2
10 Position 2
11 Position 2, High Byte
12 Position 3, Low Byte
13 Position 3
14 Position 3
15 Position 3, High Byte
Tabelle 6: Prozessdaten Ausgabeformat
7.1.3.1 Status
Der Status meldet, ob sich der Magnet innerhalb des zulässigen Messbereichs befindet. Wird der Fehler
„Kein Magnet erkannt“ gemeldet, ist entweder kein Magnet installiert, der Magnet befindet sich in der Dämpfungszone, oder die konfigurierte
Anzahl der Magnete stimmt nicht mit der betriebenen Anzahl überein. Innerhalb der
Dämpfungszone wird vom Mess-System kein auswertbares Mess-Signal ausgegeben.
0x00 00 00 00 = Kein Fehler
0x00 00 00 01 = Kein Magnet erkannt
TR-Electronic GmbH 2008, All Rights Reserved
Page 26 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8 Parametrierung
Begrifflichkeiten zur Objektbeschreibung
Begriff Beschreibung
Attribute-ID (Attr.-ID)
Access
NV (non volatile), V (volatile)
Name
Datentyp
Beschreibung
Default
Parametrierung
Integerwert, der dem entsprechenden Attribut zugeordnet ist
Zugriffsregel
Set:
Auf das Attribut kann mittels Set_Attribute
Service zugegriffen werden und entspricht einem
Schreibdienst.
Hinweis:
Alle Set Attribute können auch mittels
Get_Attribute Services angesprochen werden.
Get:
Auf das Attribut kann mittels Get_Attribute
Services zugegriffen werden und entspricht einem
Lesedienst.
Speicherung der Attribute (Parameter)
NV:
Das Attribut wird im nichtflüchtigen Speicher dauerhaft abgespeichert.
V:
Das Attribut wird im flüchtigen Speicher nur temporär abgespeichert.
Attribut-Name
Datentyp des Attributes
Attribut-Beschreibung
Attribut-Standardwert
Tabelle 7: Begriffsdefinition
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 27 of 156
Parametrierung
8.1 Klassen-Übersicht
Object Classes
0x01: Identity Object
0x02: Message Router Object
0x04: Assembly Object
0x06: Connection Manager Object
0x23: Position Sensor Object
0xF4: Port Object
0xF5: TCP/IP Interface Object
0xF6: Ethernet Link Object
Zweck
Enthält alle gerätespezifischen Daten wie z.B. Vendor ID, Gerätetyp, Gerätestatus etc.
Enthält alle unterstütze Klassencodes des
Mess-Systems und die max. Anzahl von
Verbindungen.
Liefert den Positionswert des Mess-System zurück.
Enthält verbindungsspezifische Attribute für die Triggerung, Transport, Verbindungstyp etc.
Enthält alle Attribute für die
Programmierung der Mess-System
–
Parameter wie z.B. Skalierung und
Zählrichtung.
Enthält die verfügbaren Ports, Port-Name und Knotenadresse auf dem Port.
Enthält alle Attribute für die Konfiguration der TCP/IP Netzwerkschnittstelle wie z.B.
IP-Adresse, Subnetzmaske und Gateway.
Legt die Art fest, wie das Mess-System diese Parameter erhält: FLASH, DHCP oder Hardware-Schalter.
Enthält verbindungsspezifische Attribute wie z.B. Übertragungsgeschwindigkeit,
Schnittstellenstatus und die MAC-Adresse.
Zugriff
Get
Get
Get
Get
Seite
Set/Get
Get
Set/Get
Get
Tabelle 8: Klassenübersicht
TR-Electronic GmbH 2008, All Rights Reserved
Page 28 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parametrierung
8.2 Object 0x01, Identity
Das Identity Object enthält alle Identifizierungs-Attribute des Mess-Systems.
8.2.1 Gemeinsame Services
Service Code Service Name Beschreibung
0x01
0x05
0x0E
Get_Attributes_All
RESET
Get_Attribute_Single
Liefert den Inhalt aller Attribute zurück.
Die Reihenfolge entspricht der Attr.-ID.
Entsprechend dem Datentyp wird der
LOW-Anteil zuerst geschrieben.
Gerät führt einen RESET aus, mit
POWER-ON Verhalten.
Liefert den Inhalt des entsprechenden
Attributes zurück
8.2.2 Class Attributes
Nr. Access
1 Get
2
3
4
5
6
7
Get
Get
Get
-
Get
Get
Name
Revision
Max Instance UINT
Number of
Instances
Optional attribute list
Number of attributes
Optional attributes
-
Maximum
ID Number
Class
Attributes
Maximum ID
Number
Instance
Attributes
Datentyp Attribut Beschreibung
UINT
UINT
STRUCT of:
UINT
ARRAY of
UINT
-
UINT
UINT
Objekt Revisions-Index
Max. Instanznummer eines Objekts, welches gegenwärtig in dieser
Klassenebene erzeugt wurde.
Anzahl der Objektinstanzen, welche gegenwärtig in dieser Klassenebene erzeugt wurden.
Liste von optionalen Instanzattributen, welche in einer Objekt-Klassen-
Implementierung benutzt werden.
Anzahl der Attribute in der optionalen
Attributliste.
Liste der optionalen Attributnummern. nicht implementiert
Höchste vorkommende
Klassen Attribut-ID
Höchste vorkommende
Instanz Attribut-ID
Default
0x00 01
0x00 01
0x00 01
0x00 00
0x00
-
0x00 07
0x00 07
Tabelle 9: Identity, Übersicht der Klassen Attribute
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 29 of 156
Parametrierung
8.2.3 Instance 1, Attributes
Attr.-ID Access Name
0x01
0x02
0x03
0x04
0x05
0x06
Get
Get
Get
Get
Get
Get
Vendor ID
Device Type
Product Code
Revision
STRUCT of:
Major Revision USINT
Minor Revision
Status
Serial Number
Datentyp Beschreibung
UINT
UINT
UINT
USINT
WORD
UDINT
TR-Herstellerkennung = 1137
Bezeichnung des
Gerätetyps = 34 für „Encoder“
Herstellerbezogener Produkt
Code
Geräte
Revisions-Index
Versions-Nr.
Index der
Versions-Nr.
Gerätegesamtstatus
Geräte
Serien-Nr.
0x07 Get Product Name
SHORT_
STRING
Produktname
Default
0x04 71
0x00 22
320 = LP-46
321 = LA-46
322 = LMP-30
0x01
0x01
0x00 64
0xXX XX XX XX
LA-
46: „TR-LA46_EIP“
LP-
46: „TR-LP46_EIP“
LMP-
30: „TR-LMP30_EIP“
Tabelle 10: Identity, Übersicht der Instanz Attribute
TR-Electronic GmbH 2008, All Rights Reserved
Page 30 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.2.3.1 Attribute 0x05, Status
Status liefert den Gesamtstatus des Mess-Systems zurück:
Bit Funktion Beschreibung
Parametrierung
0
1
2
Owned
-
Configured
Unter EtherNet/IP ohne Bedeutung
0, Reserviert
TRUE: Zeigt an, dass das Gerät unterschiedlich zur definierten Standard Anfangs-Konfiguration konfiguriert wurde.
0, Reserviert 3 -
4-7
Extended
Device Status
Erweiterter Gerätestatus, siehe Tabelle unten
8
9
Minor
Recoverable Fault
Minor
Unrecoverable
Fault
TRUE: Zeigt einen behebbaren internen Gerätefehler an, wird jedoch nicht in den Fehlerzustand versetzt
(keine Zustandsänderung)
TRUE: Zeigt einen nicht behebbaren internen
Gerätefehler an, wird jedoch nicht in den Fehlerzustand versetzt (keine Zustandsänderung)
10
11
Major
Recoverable Fault
Major
Unrecoverable
Fault
TRUE: Zeigt einen behebbaren internen Gerätefehler an und wird in den Fehlerzustand versetzt
(Zustandsänderung)
TRUE: Zeigt einen nicht behebbaren internen
Gerätefehler an und wird in den Fehlerzustand versetzt
(Zustandsänderung)
12-15 - 0, Reserviert
Bit Definitionen für den erweiterten Gerätestatus:
Bits 4-7 Beschreibung
0000
0001
0010
0011
0100
0101
0110
0111
Selbsttest oder unbekannt
Firmware Update in Bearbeitung mindestens eine fehlerhafte I/O-Verbindung keine I/O-Verbindung hergestellt nichtflüchtige Konfiguration fehlgeschlagen
Major Fault, entweder Bit 10 oder Bit 11 ist TRUE (1) mindestens eine I/O-Verbindung in Betrieb mindestens eine I/O-Verbindung hergestellt, alle im Ruhezustand
1000
1001
0, Reserviert
0, Reserviert
1010-1111 0, nicht unterstützt
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 31 of 156
Parametrierung
8.2.4 Behavior
Das Verhalten des Identity Object wird durch das Zustands-Übergangs-
Diagramm veranschaulicht. Dieses Zustands-Übergangs-Diagramm verbindet den
Gerätezustand mit dem durch das Status-Attribut gemeldeten Status mit dem Zustand der Modul Status-LED.
Befindet sich das Mess-System im Major Unrecoverable Fault Zustand, ist keine Kommunikation mehr möglich. Daher ist es nicht möglich, einen Major
Unrecoverable Fault zu melden. Es wird kein Reset-Service ausgeführt, dass
Mess-System muss neu eingeschaltet werden.
Heartbeat-Nachrichten werden nur ausgelöst, nach dem das Mess-System den
Hochlaufprozess erfolgreich beendet hat und sich im Betriebsmodus befindet.
Abbildung 6: Zustands-Übergangs-Diagramm [Quelle: ODVA EtherNet/IP Spezifikation]
TR-Electronic GmbH 2008, All Rights Reserved
Page 32 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parametrierung
Für das Identity Object integrierte Geräte-Zustände:
Zustand Beschreibung
Nonexistent
Gerät ist nicht mit Spannung versorgt
Device Self
Testing
Gerät führt Selbsttests aus
Standby
Gerät benötigt eine Inbetriebnahme, aufgrund einer fehlerhaften oder unvollständigen Konfiguration.
Operational
Gerät befindet sich im normalen Betriebszustand
Major
Recoverable
Fault
Gerät hat einen Fehler wahrgenommen, welcher behebbar ist.
Major
Unrecoverable
Fault
Gerät hat einen Fehler wahrgenommen, welcher nicht behebbar ist.
Tabelle 11: Geräte-Zustände
Für das Identity Object integrierte Zustandsänderungen:
Ereignis
Deactivated
Beschreibung
Power Applied Gerät eingeschaltet
Passed Tests Gerät hat alle Selbsttests erfolgreich beendet
Activated
Gerätekonfiguration ist gültig, Gerät ist betriebsbereit
Gerätekonfiguration ist nicht mehr gültig, Gerät führt keine
Funktion aus
Minor Fault
Fehler, welcher entweder als Minor Unrecoverable Fault oder als Minor Recoverable Fault klassifiziert ist, ist aufgetreten.
Major
Recoverable
Fault
Ein Ereignis, klassifiziert als Major Recoverable Fault, ist aufgetreten.
Major
Unrecoverable
Fault
Ein Ereignis, klassifiziert als Major Unrecoverable Fault, ist aufgetreten.
Tabelle 12: Geräte-Ereignisse
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 33 of 156
D0
Parametrierung
8.2.5 Objekt-spezifische Status Codes
Angaben in HEX
Allgemeiner
Status Code
Erweiterter
Status Code
00
– CF
00
– EE
F0 - FE
Name
Allgemein-
Codes
Herstellerspezifisch
FF reserviert
Hardware
Diagnose
09
0A
0B
0C
0D
0E
0F
10
11
12
13
14
– EF
00
01
02
03
04
05
06
07
08
Beschreibung
reserviert
Hersteller-spezifische Codes
Wird in Zusammenhang mit allen
Allgemein-Codes verwendet und wenn kein erweiterter Code zugeordnet ist.
Geräte-Selbsttest und Hardware-
Diagnose Zustände. reserviert
CRC-Fehler,
Code space/ROM
– Boot Ebene
CRC-Fehler
Code space/ROM
– Applikation
CRC-Fehler
FLASH, EEPROM ungültiger nichtflüchtiger Speicher, fehlerhafte Konfiguration ungültiger nichtflüchtiger Speicher, keine Konfiguration hergestellt fehlerhafter RAM-Speicher fehlerhafter ROM, FLASH-Speicher fehlerhafter FLASH, EEPROM-
Speicher
Verbindungsfehler, Signal Pfad
Problem
Versorgungsproblem, Überstrom
Versorgungsproblem,
Überspannung
Versorgungsproblem,
Unterspannung internes Sensorproblem
Systemuhrfehler
Hardwarekonfiguration unterschiedlich zur internen
Konfiguration
Watchdog ausgeschaltet, in Ruhe
Watchdoch Timer abgelaufen
Geräte-Übertemperatur
Umgebungstemperatur außerhalb
Betriebsgrenzen
TR-Electronic GmbH 2008, All Rights Reserved
Page 34 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parametrierung
D1
Fortsetzung
Allgemeiner
Status Code
D2
F0
– EF
– FF
05
06
07
08
01
02
03
04
09
Erweiterter
Status Code
F0
– FE
FF
0A
0B
0C
0D
0E
0F
10
– EF
F0 - FE
FF
Name
Geräte Status/
Zustände reserviert
Herstellerspezifisch
Beschreibung
Hersteller-spezifische Codes
Wird in Zusammenhang mit allen allgemeinen Status Codes verwendet und wenn kein erweiterter Code zugeordnet ist.
Geräte-
Statusereignisse und Zustände
Spannung angelegt
Geräte-RESET
Geräteversorgung ausgefallen
Aktiviert
Deaktiviert
Selbsttest-Zustand
Standby-Zustand
Betriebs-Zustand nicht spezifizierter Minor
Recoverable Fehler erkannt nicht spezifizierter Minor
Unrecoverable Fehler erkannt nicht spezifizierter Major
Recoverable Fehler erkannt nicht spezifizierter Major
Unrecoverable Fehler erkannt
Fehler korrigiert
CCV verändert
Heartbeat Intervall verändert
Hersteller-spezifisch
Wird in Zusammenhang mit allen allgemeinen Status Codes verwendet und wenn kein erweiterter Code zugeordnet ist.
00 - FF
00
– FF
Objektspezifische
Allgemein-
Codes reserviert
Herstellerspezifische
Allgemein-
Codes
Herstellerspezifische
Erweiterungs-
Codes reserviert durch CIP
-
-
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 35 of 156
Parametrierung
8.3 Object 0x02, Message Router
Das
Message Router Object erzeugt einen Nachrichtenvermittlungs-
Verbindungspunkt, durch welchen ein Client ein Service an ein Klassen-Objekt oder
Instanz adressieren kann.
8.3.1 Gemeinsame Services
Service Code Service Name
0x01
0x0E
Get_Attributes_All
Get_Attribute_Single
Beschreibung
Liefert den Inhalt aller Attribute zurück.
Die Reihenfolge entspricht der Attr.-ID.
Entsprechend dem Datentyp wird der
LOW-Anteil zuerst geschrieben.
Liefert den Inhalt des entsprechenden
Attributes zurück
8.3.2 Class Attributes
Nr. Access Name Datentyp Attribut Beschreibung Default
1 Get
2 Get
3 Get
4 Get
Revision
Max Instance UINT
Number of
Instances
Optional attribute list
UINT
UINT
STRUCT of:
UINT
Objekt Revisions-Index
Max. Instanznummer eines Objekts, welches gegenwärtig in dieser
Klassenebene erzeugt wurde.
Anzahl der Objektinstanzen, welche gegenwärtig in dieser Klassenebene erzeugt wurden.
Liste von optionalen Instanzattributen, welche in einer Objekt-Klassen-
Implementierung benutzt werden.
Anzahl der Attribute in der optionalen
Attributliste.
0x00 01
0x00 01
0x00 01
0x02 00
5 -
6 Get
7 Get
Number of attributes
Optional attributes
-
Maximum
ID Number
Class
Attributes
Maximum ID
Number
Instance
Attributes
ARRAY of
UINT
-
UINT
UINT
Liste der optionalen Attributnummern. nicht implementiert
Höchste vorkommende
Klassen Attribut-ID
Höchste vorkommende
Instanz Attribut-ID
0x01 00,
0x02 00
0x00 00
0x00 07
0x00 02
Tabelle 13: Message Router, Übersicht der Klassen Attribute
TR-Electronic GmbH 2008, All Rights Reserved
Page 36 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.3.3 Instance 1, Attributes
Attr.-ID Access Name
Parametrierung
Object_list
Number
Datentyp Beschreibung
STRUCT of:
UINT
Liste der unterstützten
Objekte
Anzahl der unterstützten
Klassen
Default
-
0x00 09
0x01 Get
Classes
ARRAY of UINT
Liste der unterstützten
Klassen-Codes
0x00 01, 0x00 02,
0x00 04, 0x00 06,
0x00 67, 0x00 F4,
0x00 F5, 0x00 F6,
0x00 23
0x02 Get
Number
Available
UINT
Max. Anzahl der unterstützten Verbindungen
0x00 0A
Tabelle 14: Message Router, Übersicht der Instanz Attribute
8.3.4 Behavior
Das Message Router Object empfängt Explicit Messages und führt folgende
Funktionen aus:
● Interpretiert die in der Nachricht angegebene Klassen-Instanz.
Klassen-Instanzen, die nicht interpretiert werden können, bewirken die
Fehlermeldung Object_Not_Found.
● Routet ein Service an das angegebene Objekt
● Interpretiert an sich gerichtete Services
● Routet eine Antwort zur korrekten Service-Quelle
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 37 of 156
Parametrierung
8.4 Object 0x04, Assembly
Das Assembly Object liefert den Positionswert des Mess-Systems zurück.
Es wird nur eine statische Konfiguration, Static Assembly genannt, unterstützt.
Die Anzahl der Instanzen und Attribute sind daher fest voreingestellt und sind nicht veränderbar.
8.4.1 Gemeinsame Services
Service Code Service Name Beschreibung
0x0E Get_Attribute_Single
Liefert den Inhalt des entsprechenden
Attributes zurück
8.4.2 Class Attributes
Nr. Access Name
1 Get
2 Get
3 Get
4 Get
5 -
6 Get
7 Get
Revision
Max Instance UINT
Number of
Instances
Optional attribute list
Datentyp Attribut Beschreibung
UINT
UINT
STRUCT of:
UINT
Objekt Revisions-Index
Max. Instanznummer eines Objekts, welches gegenwärtig in dieser
Klassenebene erzeugt wurde.
Anzahl der Objektinstanzen, welche gegenwärtig in dieser Klassenebene erzeugt wurden.
Liste von optionalen Instanzattributen, welche in einer Objekt-Klassen-
Implementierung benutzt werden.
Anzahl der Attribute in der optionalen
Attributliste.
Number of attributes
Optional attributes
-
Maximum
ID Number
Class
Attributes
Maximum ID
Number
Instance
Attributes
ARRAY of
UINT
-
UINT
UINT
Liste der optionalen Attributnummern. nicht implementiert
Höchste vorkommende
Klassen Attribut-ID
Höchste vorkommende
Instanz Attribut-ID
Default
0x00 02
0x00 67
0x00 04
0x00 01
0x00 04
-
0x00 07
0x00 04
Tabelle 15: Assembly, Übersicht der Klassen Attribute
TR-Electronic GmbH 2008, All Rights Reserved
Page 38 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.4.3 Instance, Attributes
Instance Attr.-ID Access NV Name
1
100
101
102
103
0x03
0x04
0x03
0x03
0x03
0x03
Get
Get
-
Get
Get
Get
Parametrierung
NV
NV
-
NV
NV
NV
Position1
Size
Status +
Position1-2
Status +
Position1-3
Datentyp Beschreibung
ARRAY of
Byte
32 Bit Positionswert Magnet 1
UINT
Heartbeat -
Status +
Position1
ARRAY of
Byte
ARRAY of
Byte
ARRAY of
Byte
Liefert die Anzahl Bytes von
Attribut 3 zurück: 0x00 04
Heartbeat
32 Bit Status +
32 Bit Positionswert Magnet 1
32 Bit Status +
32 Bit Positionswert Magnet 1 +
32 Bit Positionswert Magnet 2
32 Bit Status +
32 Bit Positionswert Magnet 1 +
32 Bit Positionswert Magnet 2 +
32 Bit Positionswert Magnet 3
Tabelle 16:Assembly, Übersicht der Instanz Attribute
8.4.3.1 Attribute 0x03, Position 1
Position 1 (Instance 1) liefert den Mess-System Positionswert des 1. Magneten zurück.
Position 32 Bit, Magnet 1
Byte 0
2
7
bis 2
0
Byte 1
2
15
bis 2
8
Byte 2
2
23
bis 2
16
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x04 0x24 0x1
Logical Type
= Class
Class #4
Logical Type
= Instance
Instance #1
0x30
Logical Type
=Attr.-ID
Byte 3
2
31
bis 2
24
0x03
Attr.-ID #3
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 39 of 156
Parametrierung
8.4.3.2 Attribute 0x03, Status + Position 1
Status + Position 1 (Instance 101) liefert den Mess-System Status und den
Positionswert des 1. Magneten zurück.
Status 32 Bit
Byte 0
2
7
bis 2
0
Byte 1
2
15
bis 2
8
Byte 2
2
23
bis 2
16
Byte 3
2
31
bis 2
24
Position 32 Bit, Magnet 1
Byte 4
2
7
bis 2
0
Byte 5
2
15
bis 2
8
Byte 6
2
23
bis 2
16
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x04 0x24 0x65 0x30
Byte 7
2
31
bis 2
24
0x03
Logical Type
= Class
Class #4
Logical Type
= Instance
Instance
#101
Logical Type
=Attr.-ID
Attr.-ID #3
8.4.3.3 Attribute 0x03, Status + Position 1-2
Status + Position 1-2 (Instance 102) liefert den Mess-System Status und den
Positionswert des 1. und 2. Magneten zurück.
Status 32 Bit
Byte 0
2
7
bis 2
0
Byte 1
2
15
bis 2
8
Byte 2
2
23
bis 2
16
Byte 3
2
31
bis 2
24
Byte 4
2
7
bis 2
0
Position 32 Bit, Magnet 1
Byte 5
2
15
bis 2
8
Byte 6
2
23
bis 2
16
Byte 7
2
31
bis 2
24
Position 32 Bit, Magnet 2
Byte 8
2
7
bis 2
0
Byte 9
2
15
bis 2
8
Byte 10
2
23
bis 2
16
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x04 0x24 0x66
Logical Type
= Class
Class #4
Logical Type
= Instance
Instance
#102
0x30
Logical Type
=Attr.-ID
Byte 11
2
31
bis 2
24
0x03
Attr.-ID #3
TR-Electronic GmbH 2008, All Rights Reserved
Page 40 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parametrierung
8.4.3.4 Attribute 0x03, Status + Position 1-3
Status + Position 1-3 (Instance 103) liefert den Mess-System Status und den
Positionswert des 1., 2. und 3. Magneten zurück.
Status 32 Bit
Byte 0
2
7
bis 2
0
Byte 1
2
15
bis 2
8
Byte 2
2
23
bis 2
16
Byte 3
2
31
bis 2
24
Byte 4
2
7
bis 2
0
Position 32 Bit, Magnet 1
Byte 5
2
15
bis 2
8
Byte 6
2
23
bis 2
16
Byte 7
2
31
bis 2
24
Byte 8
2
7
bis 2
0
Position 32 Bit, Magnet 2
Byte 9
2
15
bis 2
8
Byte 10
2
23
bis 2
16
Byte 11
2
31
bis 2
24
Position 32 Bit, Magnet 3
Byte 12
2
7
bis 2
0
Byte 13
2
15
bis 2
8
Byte 14
2
23
bis 2
16
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x04 0x24 0x67 0x30
Byte 15
2
31
bis 2
24
0x03
Logical Type
= Class
Class #4
Logical Type
= Instance
Instance
#103
Logical Type
=Attr.-ID
Attr.-ID #3
8.4.4 Status
Der Status meldet, ob sich der Magnet innerhalb des zulässigen Messbereichs befindet. Wird der Fehler
„Kein Magnet erkannt“ gemeldet, ist entweder kein Magnet installiert, der Magnet befindet sich in der Dämpfungszone, oder die konfigurierte
Anzahl der Magnete stimmt nicht mit der betriebenen Anzahl überein. Innerhalb der
Dämpfungszone wird vom Mess-System kein auswertbares Mess-Signal ausgegeben.
0x00 00 00 00 = Kein Fehler
0x00 00 00 01 = Kein Magnet erkannt
8.4.5 Connection Points
Connection Points (Verbindungspunkte) innerhalb des Assembly Object sind identisch zu den Instanzen. Zum Beispiel, Connection Point 4 des Assembly Objekts ist der gleiche wie Instanz 4.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 41 of 156
Parametrierung
8.5 Object 0x06, Connection Manager
Über das Connection Manager Object werden die intern zugehörigen
Ressourcen sowohl I/O als auch Explicit Messaging Connections zugeordnet und verwaltet.
8.5.1 Gemeinsame Services
Service Code Service Name Beschreibung
0x01
0x0E
Get_Attributes_All
Get_Attribute_Single
Liefert den Inhalt aller Attribute zurück.
Die Reihenfolge entspricht der Attr.-ID.
Entsprechend dem Datentyp wird der
LOW-Anteil zuerst geschrieben.
Liefert den Inhalt des entsprechenden
Attributes zurück
8.5.2 Class Attributes
Nr. Access Name
1 Get
2 Get
3 Get
Revision
Max Instance UINT
Number of
Instances
Optional attribute list
Number of attributes
Datentyp Attribut Beschreibung
UINT
UINT
STRUCT of:
UINT
Objekt Revisions-Index
Max. Instanznummer eines Objekts, welches gegenwärtig in dieser
Klassenebene erzeugt wurde.
Anzahl der Objektinstanzen, welche gegenwärtig in dieser Klassenebene erzeugt wurden.
Liste von optionalen Instanzattributen, welche in einer Objekt-Klassen-
Implementierung benutzt werden.
Anzahl der Attribute in der optionalen
Attributliste.
Default
0x00 01
0x00 01
0x00 01
0x00 08
4 Get
5 -
Optional attributes
ARRAY of
UINT
-
Liste der optionalen Attributnummern. nicht implementiert
0x0001,
0x0002,
0x0003,
0x0004,
0x0005,
0x0006,
0x0007,
0x0008
-
6 Get
7 Get
-
Maximum
ID Number
Class
Attributes
Maximum ID
Number
Instance
Attributes
UINT
UINT
Höchste vorkommende
Klassen Attribut-ID
Höchste vorkommende
Instanz Attribut-ID
0x00 07
0x00 08
Tabelle 17: Connection Manager, Übersicht der Klassen Attribute
TR-Electronic GmbH 2008, All Rights Reserved
Page 42 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.5.3 Instance 1, Attributes
Attr.-ID Access NV Name
Parametrierung
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
Get
Get
Get
Get
Get
Get
Get
Get
V
V
V
V
V
V
V
V
Open
Requests
Open Format
Rejects
Open
Resource
Rejects
Open Other
Rejects
Close
Requests
Close Format
Rejects
Close Other
Requests
Connection
Timeouts
Datentyp Beschreibung
UINT
UINT
UINT
UINT
UINT
UINT
UINT
UINT
Anzahl der empfangenen
Forward_Open Service Anfragen.
Anzahl der abgelehnten Forward_Open Service Anfragen wegen fehlerhaftem Format.
Anzahl der abgelehnten
Forward_Open Service Anfragen wegen mangelnden Ressourcen.
Anzahl der abgelehnten Forward_Open Service Anfragen aufgrund anderer Gründe.
Anzahl der empfangenen Forward_Close Service Anfragen.
Anzahl der abgelehnten
Forward_Close Service
Anfragen wegen fehlerhaftem
Format.
Anzahl der abgelehnten Forward_Close Service Anfragen aufgrund anderer Gründe.
Gesamtanzahl der aufgetretenen
Verbindungs-Timeouts
Default
0x00 01
0x00 00
0x00 00
0x00 00
0x00 00
0x00 00
0x00 00
0x00 00
Tabelle 18: Connection Manager, Übersicht der Instanz Attribute
8.5.4 Instanz-spezifische Service Codes
Vom Mess-System werden folgende Instanz-Objekt
– spezifische Services unterstützt und dienen für den Verbindungsaufbau bzw. Verbindungsabbau von expliziten
Nachrichten:
Service Code Service Name Beschreibung
0x4E
0x52
0x54
Forward_Close
Unconnected_Send
Forward_Open
Schließt eine Verbindung
Unconnected Send Service, für verbindungslose explizite Nachrichten.
Öffnet eine Verbindung, maximal
511 Bytes Datengröße.
0x5B Large_Forward_Open
Öffnet eine Verbindung, maximal
65635 Bytes Datengröße.
Die angegebenen Service Codes werden in der Regel von der Steuerung bzw. von einem Netzwerkkonfigurationswerkzeug eingebunden, um die geforderten Aktionen automatisiert auszuführen.
Die für den Verbindungsaufbau/Verbindungsabbau erforderlichen Netzwerk-
Verbindungs-Parameter sind in der EDS-Datei definiert und werden von dem
Netzwerkkonfigurationswerkzeug entsprechend interpretiert.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 43 of 156
Parametrierung
8.6 Object 0x23, Position Sensor
Das Position Sensor Object enthält alle Mess-System
–spezifischen Attribute.
8.6.1 Gemeinsame Services
Service Code Service Name Beschreibung
0x0E
0x10
Get_Attribute_Single
Set_Attribute_Single
Liefert den Inhalt des entsprechenden
Attributes zurück
Modifiziert den Wert eines entsprechenden Attributes
8.6.2 Class Attributes
Nr. Access Name
1 Get
2 Get
3 Get
Revision
Number of
Instances
Datentyp Attribut Beschreibung
UINT
Max Instance UINT
UINT
Objekt Revisions-Index
Max. Instanznummer eines Objekts, welches gegenwärtig in dieser
Klassenebene erzeugt wurde.
Anzahl der Objektinstanzen, welche gegenwärtig in dieser Klassenebene erzeugt wurden.
Default
0x00 02
0x00 01
0x00 01
Tabelle 19: Position Sensor, Übersicht der Klassen Attribute
TR-Electronic GmbH 2008, All Rights Reserved
Page 44 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.6.3 Instance 1, Attributes
Attr.-ID Access NV Name
Parametrierung
0x02
0x03
0x0B
0x0C
Get
Get
Get
Set
NV
NV
NV
V
Attribute List
Position Value
Unsigned
Position Sensor
Type
Direction
Counting Toggle
Datentyp Beschreibung Default
ARRAY
(USINT)
Listet alle unterstützten
Attribute als
HEX-Wert
0x02, 0x03,
0x0B, 0x0C,
0x10, 0x64,
0x65, 0x66,
0x67, 0x68,
0x69, 0x6A,
0x6B, 0x6C,
0x6D, 0x6E,
0x6F, 0x70
UDINT
Positionswert,
Magnet 1
≙ Attr.-ID 0x64
-
UINT
BOOL
Definiert den
Gerätetyp
Zählrichtung des
Positionswertes
0x00 0A:
Multi-Sensor
Encoder
Interface
0:
Zählrichtung steigend
UDINT Auflösung -
Seite
0x10 Set V
Measuring Units per Span
0x64
0x65
0x66
0x67
0x68
0x69
0x6A
0x6B
0x6C
0x6D
0x6E
0x6F
Get
Get
Get
Set
Set
Set
Set
Set
Set
Set
Set
Get
NV
NV
NV
V
V
V
V
V
V
V
V
NV
Position Value1
Position Value2
Position Value3
Preset Value1
Preset Value2
Preset Value3
Preset 1
Release
Preset 2
Release
Preset 2
Release
Position Filter
Number of
Magnets
Position Status
DINT
DINT
DINT
DINT
DINT
DINT
USINT
USINT
USINT
USINT
USINT
UDINT
Positionswert,
Magnet 1
Positionswert,
Magnet 2
Positionswert,
Magnet 3
Preset Wert,
Magnet 1
Preset Wert,
Magnet 2
Preset Wert,
Magnet 3
Preset Freigabe,
Magnet 1
Preset Freigabe,
Magnet 2
Preset Freigabe,
Magnet 3
Mittelung des
Positionswertes
Anzahl der betriebenen
Magnete
Status zur ausgegebenen
Position
Parameter
übernehmen
-
-
-
0x0000 0000
0x0000 0000
0x0000 0000
0x00
0x00
0x00
0x00
0x00
0x0000 0000
0x00 0x70 Set V
Accept
Parameter
USINT
Tabelle 20: Position Sensor, Übersicht der Instanz Attribute
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 45 of 156
Parametrierung
8.6.3.1 Attribute 0x02, Attribute List
Attribute List liefert die unterstützten Attribute des Position Sensor Object als HEX-Wert zurück:
ARRAY (USINT), nur lesen
Attr.-ID Name
0x02
0x03
0x0B
0x0C
0x10
Attribute List
Position Value Unsigned
Position Sensor Type
Direction Counting Toggle
Measuring Units per Span
0x64
0x65
0x66
0x67
0x68
0x69
0x6A
0x6B
Position Value1
Position Value2
Position Value3
Preset Value1
Preset Value2
Preset Value3
Preset 1 Release
Preset 2 Release
0x6C
0x6D
0x6E
0x6F
Preset 3 Release
Position Filter
Number of Magnets
Position Status
0x70 Accept Parameter
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x23 0x24 0x01
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
0x30
Logical Type
=Attr.-ID
0x02
Attr.-ID #2
TR-Electronic GmbH 2008, All Rights Reserved
Page 46 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.6.3.2 Attribute 0x0B, Position Sensor Type
Position Sensor Type liefert den Gerätetyp zurück:
UINT, nur lesen
Parametrierung
Wert Definition
01
02
Absoluter Single-Turn Encoder
Absoluter Multi-Turn Encoder
04
06
08
Inkremental Encoder
Inkremental Linear Encoder
Absoluter Linear Encoder
10 Multi-Sensor Encoder Interface
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x23 0x24 0x01 0x30 0x0B
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
Logical Type
=Attr.-ID
Attr.-ID #11
8.6.3.3 Attribute 0x0C, Direction Counting Toggle
Direction Counting Toggle setzt die Zählrichtung des Mess-Systems:
BOOL
Access Wert Beschreibung Default
= 0 Position steigend zum Stabende
X
Set/Get
= 1 Position fallend zum Stabende
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x23 0x24 0x01 0x30 0x0C
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
Logical Type
=Attr.-ID
Attr.-ID #12
Damit dieses Attribut dauerhaft gespeichert wird, muss 0x70 Accept Parameter ausgeführt werden.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 47 of 156
Parametrierung
8.6.3.4 Attribute 0x10, Measuring Units per Span
Measuring Units per Span setzt die Auflösung des Mess-Systems in 0.001µm-
Schritten. Die Eingabe 5000 z.B. würde die Auflösung auf 5µm setzen.
Über die im Mess-System hinterlegte Messlänge und die hier festgelegte Auflösung, wird die Gesamtschrittzahl über den gesamten Messbereich des Mess-Systems festgelegt.
Messlänge in Schritten
Messlänge
[
mm
]
Auflösung
[
mm
]
Attr.-ID
Datentyp
Access
0x10
UDINT
Set / Get
Untergrenze
0
Obergrenze
10 000 000 (
≙ 1 cm)
Default
0
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x23 0x24 0x01 0x30 0x10
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
Logical Type
=Attr.-ID
Attr.-ID #16
Damit dieses Attribut dauerhaft gespeichert wird, muss 0x70 Accept Parameter ausgeführt werden.
8.6.3.5 Attribute 0x64-0x66, Position Value 1-3
Position Value liefert die Istposition der einzelnen Magneten als Binär kodierten
Wert zurück:
DINT, nur lesen
Position 32 Bit, Magnet x
Byte 0
2
7
bis 2
0
Byte 1
2
15
bis 2
8
Byte 2
2
23
bis 2
16
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x23 0x24 0x01
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
0x30
Logical Type
=Attr.-ID
Byte 3
2
31
bis 2
24
0x64-0x66
Attr.-ID
#100-102
TR-Electronic GmbH 2008, All Rights Reserved
Page 48 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parametrierung
8.6.3.6 Attribute 0x67-0x69, Preset Value 1-3
Preset Value definiert die Positionswerte für die Presetfunktion und wird verwendet, um den Mess-System-Wert der unterstützten Kanäle auf einen beliebigen
Positionswert innerhalb des Messbereiches zu setzen. Die Presetfunktion wird über
„Attribute 0x6A-0x6C, Preset 1-3 Release“ ausgeführt, siehe Seite 50.
Presetwert, Magnet x
Byte 0
2
7
bis 2
0
Attr.-ID
Datentyp
0x67-0x69
DINT
Byte 1
2
15
bis 2
8
Access
Set / Get
Untergrenze
-2147483647
Byte 2
2
23
bis 2
16
Obergrenze
2147483647
Default
0
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x23 0x24 0x01
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
0x30
Logical Type
=Attr.-ID
Byte 3
2
31
bis 2
24
0x67-0x69
Attr.-ID
#103-105
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 49 of 156
Parametrierung
8.6.3.7 Attribute 0x6A-0x6C, Preset 1-3 Release
Gefahr von Körperverletzung und Sachschaden durch einen
Istwertsprung bei Ausführung der Preset-Justage-Funktion!
Die Preset-Justage-Funktion sollte nur im Mess-System-Stillstand ausgeführt werden, bzw. muss der resultierende Istwertsprung programmtechnisch und anwendungstechnisch erlaubt sein!
Die Presetfunktion wird verwendet, um den Mess-System-Wert der unterstützten
Kanäle auf einen beliebigen Positionswert innerhalb des Messbereiches zu setzen.
Der Positionswert wird auf den Parameter Preset Value gesetzt, wenn
1. das Preset-Freigabebit 2
7
= 1 ist
2. und die positive Flanke des Bits 2
0
erkannt wird
Wird die negative Flanke des Bits 2
0
erkannt, wird für den betreffenden Magneten der
Preset gelöscht. Die ausgegebene Position bezieht sich auf den physikalischen
Nullpunkt.
Die Presetwerte werden unter
„Attribute 0x67-0x69, Preset Value 1-3“ definiert, siehe
Attr.-ID 0x6A-0x6C
Datentyp
Access
USINT
Set / Get
Untergrenze
0
Obergrenze
255
Funktion
0x81 --> 0x00: zuvor ausgeführter Preset wird gelöscht
0x00 --
> 0x01: „alter“ Presetwert wird gesetzt
0xXX --> 0x80: ungültig
0x00 --> 0x81: aktuelle Presetwert wird gesetzt
Default
0
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x23 0x24 0x01
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
0x30
Logical Type
=Attr.-ID
0x6A-0x6C
Attr.-ID
#106-108
TR-Electronic GmbH 2008, All Rights Reserved
Page 50 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parametrierung
8.6.3.8 Attribute 0x6D, Position Filter
Position Filter mittelt den ausgegebenen Positionswert und hält somit den
Ausgabe-Jitter gering.
Attr.-ID 0x6D
Datentyp
Access
USINT
Set / Get
Untergrenze
0
Obergrenze
255
Funktion
1 = keine Mittelung,
2 = Mittelung von 2 Werten,
4 = Mittelung von 4 Werten
8 = Mittelung von 8 Werten
Default
0
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x23 0x24 0x01 0x30 0x6D
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
Logical Type
=Attr.-ID
Attr.-ID
#109
8.6.3.9 Attribute 0x6E, Number of Magnets
Number of Magnets legt die Anzahl der Magnete fest, mit der das Mess-System betrieben werden soll. Stimmt die Eingabe nicht mit der betriebenen Anzahl der
Magneten überein, wird keine Position ausgegeben und im
“ Seite 52, der Fehler „Kein Magnet erkannt“ gemeldet.
Attr.-ID 0x6E
Datentyp
Access
USINT
Set / Get
Untergrenze
0
Obergrenze
255
Funktion
1 = 1 Magnet,
2 = 2 Magnete,
3 = 3 Magnete
Default
0
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x23 0x24 0x01
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
0x30
Logical Type
=Attr.-ID
0x6E
Attr.-ID
#110
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 51 of 156
Parametrierung
8.6.3.10 Attribute 0x6F, Position Status
Es wird erkannt, ob sich der Magnet innerhalb des zulässigen Messbereichs befindet.
Wird der Fehler
„Kein Magnet erkannt“ gemeldet, ist entweder kein Magnet installiert, der Magnet befindet sich in der Dämpfungszone, oder die konfigurierte Anzahl der
Magnete stimmt nicht mit der betriebenen Anzahl überein. Innerhalb der
Dämpfungszone wird vom Mess-System kein auswertbares Mess-Signal ausgegeben.
Attr.-ID 0x6F
Datentyp
Access
UDINT
Get
Untergrenze
0
Obergrenze
4294967295
Funktion
0x00 00 00 00 = Kein Fehler
0x00 00 00 01 = Kein Magnet erkannt
Default
0
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x23 0x24 0x01 0x30 0x6F
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
Logical Type
=Attr.-ID
Attr.-ID
#111
8.6.3.11 Attribute 0x70, Accept Parameter
Accept Parameter speichert die Mess-System Parameter in den nichtflüchtigen
Speicher (EEPROM). Mit Schreibzugriff
≠ 0 werden alle geänderten Attribute dauerhaft gespeichert.
Attr.-ID 0x70
Datentyp
Access
USINT
Set / Get
Untergrenze
0
Obergrenze
255
Default
0
Verbindungspfad, Packed EPATH mit 8 Bit Klasse
0x20 0x23 0x24 0x01
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
0x30
Logical Type
=Attr.-ID
0x70
Attr.-ID #112
TR-Electronic GmbH 2008, All Rights Reserved
Page 52 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parametrierung
8.7 Object 0xF4, Port
Das Port Object spezifiziert die vorhandenen CIP-Ports des Mess-Systems. Für jeden CIP-Port existiert eine Instanz.
8.7.1 Gemeinsame Services
Service Code Service Name Beschreibung
Liefert den Inhalt aller Attribute zurück.
Die Reihenfolge entspricht der Attr.-ID.
Entsprechend dem Datentyp wird der
LOW-Anteil zuerst geschrieben.
Liefert den Inhalt des entsprechenden
Attributes zurück
8.7.2 Class Attributes
Nr. Access Name
1 Get
2 Get
3 Get
4 -
5 -
6 Get
7 Get
Revision
Max Instance UINT
Number of
Instances
-
-
Maximum
ID Number
Class
Attributes
Maximum
ID Number
Instance
Attributes
Datentyp Attribut Beschreibung
UINT
UINT
-
-
UINT
UINT
Objekt Revisions-Index
Max. Instanznummer eines Objekts, welches gegenwärtig in dieser
Klassenebene erzeugt wurde.
Anzahl der gegenwärtig vorhandenen Ports. nicht implementiert nicht implementiert
Höchste vorkommende
Klassen Attribut-ID
Höchste vorkommende
Instanz Attribut-ID
8 Get
0x01
0x0E
Entry Port
Port Instance
Info
Get_Attributes_All
Get_Attribute_Single
UINT
ARRAY of
STRUCT of:
Liefert die Instanz des Port-Objekts zurück, welche den Geräte-Zugangs-
Port beschreibt.
Ein ARRAY von Strukturen, welches die Instanz-Attribute 1 und 2 jeder einzelnen Instanz beinhaltet.
Default
0x00 01
0x00 02
0x00 02
-
-
0x00 09
0x00 07
0x00 02
9 Get
Port Type UINT
Port Number UINT
Aufzählung der Porttypen
CIP Portnummer welcher, mit diesem
Port verbunden ist. siehe Instanzattribut #1 siehe Instanzattribut #2
Tabelle 21: Port, Übersicht der Klassen Attribute
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 53 of 156
Parametrierung
8.7.3 Instance 1, Attributes
Attr.-ID Access NV Name
0x01
0x02
0x03
0x04
0x05
0x06
0x07
Get
Get
Get
Get
-
-
Get
NV
NV
NV
NV
-
-
NV
Port Type
Port Number
Link Object
Path Length
Link Path
Port Name
-
-
Node
Address
Datentyp Beschreibung
UINT
UINT
STRUCT of:
UINT
Padded
EPATH
SHORT_
STRING
-
-
Padded
EPATH
Aufzählung des
Porttyps
CIP Portnummer, welcher mit diesem Port verbunden ist.
Default
0x 00 01: reserviert
0x 00 01
Zuordnung eines eindeutigen Wertes zur
Identifikation der einzelnen Kommunikationsports.
Anzahl der 16 Bit
Worte im folgenden Pfad
0x00 02
Logisches
Pfadsegment, welches das
Objekt für diesen
Port bestimmt.
Der Pfad besteht aus einem logischen
Klassensegment und einem logischen
Instanzsegment:
0x20 64, 0x24 01
Zeichenkette, welche das physikalische
Netzwerk benamt. nicht implementiert nicht implementiert
Knotennummer des Gerätes auf dem Port
„Backplane“
-
-
0x00 10
Tabelle 22: Port, Übersicht der Instanz 1 Attribute
TR-Electronic GmbH 2008, All Rights Reserved
Page 54 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.7.4 Instance 2, Attributes
Attr.-ID Access NV Name
0x01
0x02
0x03
0x04
0x05
0x06
0x07
Get
Get
Get
Get
-
-
Get
Parametrierung
NV
NV
NV
NV
-
-
NV
Port Type
Port Number
Link Object
Path Length
Link Path
Port Name
-
-
Node
Address
Datentyp Beschreibung
UINT
UINT
STRUCT of:
UINT
Padded
EPATH
SHORT_
STRING
-
-
Padded
EPATH
Aufzählung des
Porttyps
CIP Portnummer, welcher mit diesem Port verbunden ist.
Default
0x00 04: EtherNet/IP
0x00 02
Zuordnung eines eindeutigen Wertes zur
Identifikation der einzelnen Kommunikationsports.
Anzahl der 16 Bit
Worte im folgenden Pfad
0x00 02
Logisches
Pfadsegment, welches das
Objekt für diesen
Port bestimmt.
Der Pfad besteht aus einem logischen
Klassensegment und einem logischen
Instanzsegment:
0x20 F5, 0x24 01
(TCP/IP Interface)
Zeichenkette, welche das physikalische
Netzwerk benamt. nicht implementiert nicht implementiert
Knotennummer des Gerätes auf dem Port
„Ethernet/IP Port“
-
-
0x00 10
Tabelle 23: Port, Übersicht der Instanz 2 Attribute
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 55 of 156
Parametrierung
8.8 Object 0xF5, TCP/IP Interface
Das TCP/IP Interface Object unterstützt die Konfiguration der TCP/IP
Netzwerk Schnittstelle und enthält u.a. z.B. die Geräte IP-Adresse, Netzwerkmaske und Gateway Adresse.
Das Mess-System unterstützt exakt eine TCP/IP Schnittstellen Objekt Instanz für jede
TCP/IP-fähige Kommunikationsschnittstelle auf dem Modul.
8.8.1 Gemeinsame Services
Service Code Service Name Beschreibung
0x01
0x0E
0x10
Get_Attributes_All
Get_Attribute_Single
Set_Attribute_Single
Liefert den Inhalt aller Attribute zurück.
Die Reihenfolge entspricht der Attr.-ID.
Entsprechend dem Datentyp wird der
LOW-Anteil zuerst geschrieben.
Liefert den Inhalt des entsprechenden
Attributes zurück
Modifiziert den Wert eines entsprechenden Attributes
8.8.2 Class Attributes
Nr. Access Name
1 Get
2 Get
3 Get
4 -
5 -
6 Get
7 Get
Revision
Max Instance UINT
Number of
Instances
Datentyp Attribut Beschreibung
UINT
UINT
-
-
Objekt Revisions-Index
Max. Instanznummer eines Objekts, welches gegenwärtig in dieser Klassenebene erzeugt wurde.
Anzahl der Objektinstanzen, welche gegenwärtig in dieser Klassenebene erzeugt wurden. nicht implementiert nicht implementiert
-
-
Maximum
ID Number
Class
Attributes
Maximum
ID Number
Instance
Attributes
UINT
UINT
Höchste vorkommende
Klassen Attribut-ID
Höchste vorkommende
Instanz Attribut-ID
Default
0x00 01
0x00 01
0x00 01
-
-
0x00 07
0x00 06
Tabelle 24: TCP/IP Interface, Übersicht der Klassen Attribute
TR-Electronic GmbH 2008, All Rights Reserved
Page 56 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.8.3 Instance 1, Attributes
Attr.-ID Access Name
0x01
0x02
0x03
0x04
0x05
0x06
Get
Get
Set/Get
Get
Set/Get
Get
Parametrierung
Datentyp Beschreibung Default
Status
0x00 00 00 02
Gerät bezieht IP-
Parameter über
DHCP, wenn
Hardwareschalter
= 0x00 oder 0xFF
Configuration
Capability
Configuration
Control
DWORD
DWORD
Schnittstellen
Capability-Flags, zeigen die Konfigurationsmöglichkeiten an.
Schnittstellen
Steuer-Flags, stellen die Konfigurationsmöglichkeiten ein.
0x00 00 0014
Gerät entspricht einem DHCP-
Client, Konfiguration kann ver-
ändert werden
0x00 00 00 02
Gerät bezieht IP-
Parameter über
DHCP, wenn
Hardwareschalter
= 0x00 oder 0xFF
Physical Link
Object
Path size
STRUCT of:
UINT
Pfad zum physikalischen Verbindungsobjekt
Größe des Pfades, enthält die Anzahl der 16 Bit Worte im
Pfad.
0x00 02
Path
Padded
EPATH
Logische Segmente kennzeichnen das physikalische Verbindungsobjekt.
Der Pfad besteht aus einem logischen Klassensegment und einem logischen
Instanzsegment:
0x20 0xF6,
0x24 0x01
Interface
Configuration
IP Address
Network Mask
Gateway
Address
STRUCT of:
UDINT
UDINT
UDINT
Konfiguration der
TCP/IP Netzwerk
Schnittstelle. konfiguriert die
Geräte IP-Adresse konfiguriert die
Geräte Subnetzmaske konfiguriert die
Geräte Gatewayadresse
FLASH Inhalt
FLASH Inhalt
FLASH Inhalt
Name Server
Name Server
UDINT
UDINT nicht implementiert nicht implementiert
0x00 00 00 00
0x00 00 00 00
Domain Name STRING nicht implementiert 0
Host Name
DWORD
STRING
Schnittstellenstatus enthält den
Hostnamen
„TR_EIP_Encoder“
Seite
-
-
-
-
Tabelle 25: TCP/IP Interface, Übersicht der Instanz Attribute
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 57 of 156
Parametrierung
8.8.3.1 Attribute 0x01, Status
Das Status Attribut ist bitkodiert und zeigt den TCP/IP Netzwerk Schnittstellenstatus an:
Bit Funktion Beschreibung
0-3
Schnittstellen-
Konfigurationsstatus
0:
Das Schnittstellen Konfigurationsattribut wurde nicht konfiguriert.
1:
2:
Das Schnittstellen Konfigurationsattribut enthält eine gültige Konfiguration (DHCP, FLASH)
Das Schnittstellen Konfigurationsattribut enthält eine gültige Konfiguration (Hardware Schalter)
3-15: Reserviert
4 Mcast Pending -
Zeigt eine noch nicht abgeschlossene
Konfiguration an (TTL-Wert Mcast Config). Das
Bit wird gesetzt, wenn entweder das TTL Value oder Mcast Config Attribut gesetzt ist. Das Bit wird beim nächsten Geräte-Hochlauf gelöscht.
5-31 Reserviert 0 -
8.8.3.2 Attribute 0x02, Configuration Capability
Das Configuration Capability Attribut ist bitkodiert und zeigt die vom Gerät unterstützten optionalen Netzwerk-Konfigurationsmöglichkeiten an:
Bit Funktion Beschreibung
0 BOOTP Client
1 DNS Client
2 DHCP Client
3 DHCP-DNS Update
0 (FALSE): wird nicht unterstützt
0 (FALSE): wird nicht unterstützt
1 (TRUE): Gerät entspricht einem DHCP-Client
0 (FALSE): wird nicht unterstützt
4 Configuration Settable 1 (TRUE): Gerät unterstützt variable Konfiguration
5-31 Reserviert 0
8.8.3.3 Attribute 0x03, Configuration Control
Das Configuration Control Attribut ist bitkodiert und legt fest, auf welche Art das Mess-System in der Hochlaufphase seine IP-Parameter zugewiesen bekommt.
siehe auch „IP-Parameter beziehen“ auf Seite 60.
Bit Funktion Beschreibung
0-3 Startup Configuration
0:
Mess-System erhält IP-Parameter aus dem
FLASH, bzw. über die Hardware Schalter.
1: wird nicht unterstützt
2: Mess-System erhält IP-Parameter über DHCP
3-15: Reserviert
0 (FALSE): wird nicht unterstützt
0
4 DNS Enable
5-31 Reserviert
TR-Electronic GmbH 2008, All Rights Reserved
Page 58 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parametrierung
8.8.3.4 Attribute 0x04, Physical Link Object
Das Physical Link Object Attribut enthält den Pfad zum physikalischen Link-
Objekt und wird mit zwei Parametern beschrieben:
● Path Size in UINTs, Pfadgröße
● Path, der Pfad selbst
Der Pfad enthält ein logisches Segment, Typ = Klasse und ein logisches Segment,
Typ = Instanz, welche das physikalische Link-Objekt bestimmen. Das Link-Objekt selbst enthält alle verbindungsspezifischen Konfigurationsattribute.
Da der CIP-Port, zughörig zum TCP/IP Interface Object, einen Ethernet
Physical Layer besitzt, zeigt dieses Attribut auf eine Instanz des Ethernet Link
Object, Klassencode 0xF6:
Pfad Beschreibung
[20]: 8 Bit Klassen-Segment-Typ
[20] [F6] [24] [01]
[F6]: Ethernet Link Object Klasse
[24]: 8 Bit Instanz-Segment-Typ
[01]: Instanz 1
8.8.3.5 Attribute 0x05, Interface Configuration
Das Interface Configuration Attribut enthält die Konfigurationsparameter (IP-
Parameter), welche für den Betrieb des Mess-Systems als TCP/IP Knoten erforderlich sind. Um unvollständige oder inkompatible Konfigurationen zu vermeiden, können die
IP-Parameter nicht einzeln gesetzt werden. Um eine Änderung vorzunehmen, sollte das Interface Configuration Attribute zuerst mit dem Get-Service gelesen werden, die gewünschten Parameter geändert werden, dann mit dem Set-Service geschrieben werden.
Name Beschreibung
IP address
Network mask
Gateway address
Name server
Name server 2
Domain name
Setzt die IP-Adresse
Setzt die Subnetzmaske
Setzt die IP-Adresse für das Default-Gateway
0, wird nicht unterstützt
0, wird nicht unterstützt
0, wird nicht unterstützt
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 59 of 156
Parametrierung
8.8.3.5.1 IP-Parameter beziehen
In der Hochlaufphase des Mess-Systems wird die gespeicherte Konfiguration aus
Attribut 0x05, der gespeicherte Wert aus Attribut 0x03 Configuration Control
(Seite 58) und der Wert der Hardware-Schalter (Seite 18) gelesen, und
folgendermaßen ausgewertet:
Config. Control Schalter Aktion Beschreibung
0x00
0x00
0x02
0x02 andere
0x00 oder 0xFF andere
0x00 oder 0xFF andere
-
FLASH aktiv
Schalter aktiv
DHCP-Anfrage
Schalter aktiv keine
Konfiguration wird aus dem
FLASH bezogen.
IP-Adresse: 192.168.1.<Schalterstellung>
Subnetzmaske: 255.255.255.0
Default-Gateway: 192.168.1.254
Konfiguration wird von einem DHCP-
Server bezogen. Es werden so lange
DHCP-Anfragen gesendet, bis eine
Antwort erhalten wird.
IP-Adresse: 192.168.1.<Schalterstellung>
Subnetzmaske: 255.255.255.0
Default-Gateway: 192.168.1.254
Unzulässig!
Anfrage wird mit Fehlercode 0x20 beantwortet.
Ablaufdiagramm
TR-Electronic GmbH 2008, All Rights Reserved
Page 60 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parametrierung
8.8.3.5.2 IP-Parameter setzen und speichern
Das Setzen bzw. Speichern der IP-Parameter kann auf zwei Arten über das TCP/IP
Interface Object, Klassencode 0xF5, erfolgen:
1. Ein Set_Attribute_Single Service auf das Attribut 0x05 Interface
Configuration bewirkt das Setzen der als Parameter übergebenen Werte.
Ist der Wert des Attributs 0x03 Configuration Control beim Ausführen der Aktion = 0x00, wird die Konfiguration zusätzlich dauerhaft im FLASH abgelegt.
2. Wenn das Mess-System über DHCP eine Konfiguration erhalten hat, aktueller
Wert von Attribut 0x03 Configuration Control = 0x02, und der Wert des
Configuration Control anschließend auf 0x00 gesetzt wird, wird die aktuelle Konfiguration dauerhaft im FLASH gespeichert.
Ablaufdiagramme
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 61 of 156
Parametrierung
8.9 Object 0xF6, Ethernet Link
Das Ethernet Link Object unterhält verbindungsspezifische Zähler und
Statusinformationen für eine Ethernet 802.3 Kommunikationsschnittstelle. Das Mess-
System unterstützt exakt eine Ethernet Link Objekt Instanz für jede Ethernet IEEE
802.3 Kommunikationsschnittstelle auf dem Modul.
8.9.1 Gemeinsame Services
Service Code Service Name Beschreibung
0x01
0x0E
Get_Attributes_All
Get_Attribute_Single
Liefert den Inhalt aller Attribute zurück.
Die Reihenfolge entspricht der Attr.-ID.
Entsprechend dem Datentyp wird der
LOW-Anteil zuerst geschrieben.
Liefert den Inhalt des entsprechenden
Attributes zurück
8.9.2 Class Attributes
Nr. Access
1 Get
2
3
4
5
6
7
Get
Get
-
-
Get
Get
Name
Revision
Datentyp Attribut Beschreibung
UINT
Max Instance UINT
Number of
Instances
-
-
Maximum
ID Number
Class
Attributes
Maximum
ID Number
Instance
Attributes
UINT
-
-
UINT
UINT
Objekt Revisions-Index
Max. Instanznummer eines Objekts, welches gegenwärtig in dieser Klassenebene erzeugt wurde.
Anzahl der Objektinstanzen, welche gegenwärtig in dieser Klassenebene erzeugt wurden. nicht implementiert nicht implementiert
Höchste vorkommende
Klassen Attribut-ID
Höchste vorkommende
Instanz Attribut-ID
Default
0x00 02
0x00 01
0x00 01
-
-
0x00 07
0x00 03
Tabelle 26: Ethernet Link, Übersicht der Klassen Attribute
TR-Electronic GmbH 2008, All Rights Reserved
Page 62 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.9.3 Instance 1, Attributes
Attr.-ID Access Name
0x01
0x02
0x03
Get
Get
Get
Datentyp Beschreibung
Interface Speed UDINT
Interface Flags
Physical
Address
DWORD
ARRAY of
6 USINTs
Momentane Übertragungsgeschwindigkeit in
MBit/s
Schnittstellen-
Statusflags, siehe unten
MAC Layer Adresse
(HEX),
Default
Parametrierung
0x00 00 00 64
0x00 00 00 0F geräteabhängig z.B.:
00 03 12 07 00 0D
Tabelle 27: Ethernet Link, Übersicht der Instanz Attribute
8.9.3.1 Attribute 0x02, Interface Flags
Das Interface Flags Attribut enthält Status- und Konfigurationsinformationen
über die physikalische Schnittstelle und ist wie folgt definiert:
Bit Funktion Beschreibung
0
1
2-4
5
6
Verbindungsstatus
Halb-/Vollduplex
Erkennungsstatus
(Auto-Detect)
Manuelles Setzen erfordert Reset
Lokaler
Hardwarefehler
7-31 Reserviert
0: keine aktive Verbindung
1: aktive Verbindung
siehe auch Bus-Statusanzeige, Seite 19
0: Halbduplex aktiv
1: Vollduplex aktiv
0: Auto-Erkennung aktiv
1:
Auto-Erkennung und Geschwindigkeitserkennung fehlerhaft. Es sind Standardwerte für die Geschwindigkeit und Duplex zu verwenden.
2:
3:
Fehler Auto-Erkennung, Geschwindigkeit erkannt.
Duplex wurde auf den Standardwert gesetzt.
Erfolgreiche Erkennung von Geschwindigkeit und
Duplex
4:
0:
Auto-Erkennung konnte nicht vorgenommen werden. Geschwindigkeit und Duplex werden erzwungen.
Schnittstelle kann Änderungen der Verbindungsparameter Auto-Erkennung, Duplex-Mode und Geschwindigkeit automatisch aktivieren.
1:
Gerät benötigt einen Reset-Service, damit die Änderungen aktiv werden.
0: kein Hardwarefehler vorhanden
1: lokaler Hardwarefehler aufgetreten
0 -
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 63 of 156
Verbindungstypen
9 Verbindungstypen
Der Verbindungstyp legt die Verbindungsart zwischen Absender = Steuerungssystem
(Originator) und dem Ziel = Mess-System (Target) fest.
Hierbei wird auch der Datenfluss unterschieden:
● O -> T: Datenpakete vom Originator zum Target
● T -> O: Datenpakete vom Target zum Originator
Das Mess-System unterstützt folgende Verbindungstypen:
1. Exclusive Owner
Exclusive Owner bezeichnet eine unabhängige Verbindung, bei der ein einzelnes Gerät die Ausgangszustände im Zielgerät steuert. Wenn bereits eine
Exclusive Owner Verbindung zum Zielgerät besteht, kann keine weitere
Exclusive Owner Verbindung mehr zu diesem Zielgerät definiert werden.
2. Input Only
Input Only bezeichnet eine unabhängige Verbindung, bei der ein Gerät
Eingänge des Zielgerätes empfängt und Konfigurationsdaten in das Netzwerk versendet. Eine Input Only Verbindung sendet keine Ausgänge, es können nur
Eingänge empfangen werden. Es können aber mehrere Input Only
Verbindungen von unterschiedlichen Absendern zum Zielgerät definiert werden.
3. Listen Only
Listen Only bezeichnet eine abhängige Verbindung, bei der ein Gerät Eingänge des Zielgerätes empfängt, aber keine Konfigurationsdaten in das Netzwerk versendet. Eine Listen Only Verbindung funktioniert nur, wenn bereits eine weitere Nicht-Listen Only Verbindung zum selben Zielgerät existiert. Eine
Listen Only Verbindung sendet keine Ausgänge, es können nur Eingänge empfangen werden. Es können aber mehrere Listen Only Verbindungen von unterschiedlichen Absendern zum Zielgerät definiert werden.
O -> T
Connection Point [dez.] Datengröße [Byte] Beschreibung
100
254
255
0
0
0
Exclusive Owner
Input Only
Listen Only
T -> O
Connection Point [dez.] Datengröße [Byte] Beschreibung
1
100
101
102
103
4
0
8
12
16
Positionsdaten, Magnet 1
Heartbeat
Status+Positionsdaten Magnet 1
Status+Positionsdaten Magnet 1-2
Status+Positionsdaten Magnet 1-3
TR-Electronic GmbH 2008, All Rights Reserved
Page 64 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Inbetriebnahme-Hilfen
10 Inbetriebnahme-Hilfen
10.1 IP-Parameter über DHCP-Server beziehen
10.1.1 Voraussetzungen
● Für den DHCP-Server wird zunächst eine entsprechende Software benötigt, welche von der Firma Rockwell Automation kostenlos bezogen werden kann:
– Programm: BOOTP/DHCP Server Utility
– Download: http://www.ab.com/networks/bootp.html
– Wird das Rockwell Steuerungssystem „Logix“ benutzt, ist das BOOTP/DHCP
Server Utility Bestandteil der Steuerungssoftware.
● Das Programm ist geeignet für die Installation auf einem PC mit WINDOWS
®
-
Betriebssystem. Der PC, welcher als DHCP-Server fungiert, muss sich im selben
Netz befinden, wie das zu parametrierende Mess-System.
10.1.2 Vorgehensweise
1. Mess-System mit dem DHCP-Server verbinden
Sicherstellen, dass das Mess-System als DHCP-Client fungiert:
– Hardwareschalter = 0x00 oder 0xFF
– Instance Attribute 0x03 Configuration Control = 0x00 00 00 02 --> entspricht dem Auslieferungszustand!
2. BOOTP/DHCP Server Utility starten
3. Im Menü Tools --> Network Settings folgende Eintragungen vornehmen:
Subnet Mask: gewünschte Subnetzmaske
Gateway: gewünschte IP-Adresse des Default Gateways
Primary DNS, Secondary DNS, Domain Name: werden nicht unterstützt
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 65 of 156
Inbetriebnahme-Hilfen
4. Versorgungsspannung einschalten
– Das Mess-System startet zyklisch DHCP-Anfragen, welche mit Angabe der
MAC-Adresse in die Request History eingetragen werden:
5. Einer der Einträge doppelklicken:
● Die New Entry Dialog Box erlaubt folgende Eintragungen vorzunehmen:
Ethernet Address (MAC): wird automatisch übernommen!
IP Address: gewünschte IP-Adresse
Hostname: wird nicht unterstützt
Description: optionale Beschreibungsmöglichkeit
TR-Electronic GmbH 2008, All Rights Reserved
Page 66 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Inbetriebnahme-Hilfen
Der neue Eintrag wird in der Relation List angezeigt und die vorgegebenen IP-
Parameter bei der nächsten DHCP-Anfrage dem Mess-System zugewiesen. Das
Ergebnis dieser Zuweisung wird in die Request History eingetragen:
6. Über den Button Disable BOOTP/DHCP die IP-Parameter in das FLASH abspeichern.
– Die erfolgreiche Ausführung wird mit der Statusmeldung (Disable DHCP)
Command succesfull quittiert, die Konfiguration ist damit abgeschossen.
– Disable BOOTP/DHCP setzt Instance Attribute 0x03 Configuration
Control auf 0x00 00 00 00 --> nach POWER ON führt das Mess-System keine DHCP-Anfragen mehr aus.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 67 of 156
Inbetriebnahme-Hilfen
10.2 IP-Parameter über TRWinProg programmieren und im FLASH speichern
Besteht keine Möglichkeit die IP-Parameter über einen DHCP-Server zu beziehen, können diese auch über das TR-Programm TRWinProg programmiert werden und dauerhaft im FLASH abgelegt werden.
10.2.1 Anbindung an den PC (Programmierung)
Was wird von TR-Electronic benötigt?
Schaltschrankmodul Art.-Nr.: 490-00101
Programmier-Set Art.-Nr.: 490-00310:
● Kunststoff-Koffer, mit nachfolgenden Komponenten:
– USB PC-Adapter V4
Umsetzung USB <--> RS485
– USB-Kabel 1,00 m
Verbindungskabel zwischen
PC-Adapter und PC
– Flachbandkabel 1,30 m
Verbindungskabel zwischen
PC-Adapter und TR-Schaltschrank-Modul
(15-pol. SUB-D Buchse/Stecker)
– Steckernetzteil 24 V DC, 1A
Versorgungsmöglichkeit des angeschlossenen Gerätes
über den PC-Adapter
– Software- und Support-DVD
- USB-Treiber, Soft-Nr.: 490-00421
- TRWinProg, Soft-Nr.: 490-00416
- EPROGW32, Soft-Nr.: 490-00418
- LTProg, Soft-Nr.: 490-00415
– Installationsanleitung
TR-E-TI-DGB-0074, Deutsch/Englisch
TR-Electronic GmbH 2008, All Rights Reserved
Page 68 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Inbetriebnahme-Hilfen
10.2.2 Programmierung
Ist das Mess-System ordnungsgemäß mit dem PC verbunden, kann über Menü
Gerät --> Online in den Online-Modus übergewechselt werden. Das Mess-System meldet sich daraufhin mit den einstellbaren Parametern. In der Registerkarte
Gerätedaten können die gewünschten IP-Parameter eingestellt werden. Die
Abspeicherung der IP-Parameter geschieht über Menü Gerät --> Daten an Gerät senden.
Die IP-Parameter werden als HEX-Werte in die Programm-Maske eingetragen.
Beispiel:
IP-Adresse 192.168.1.2 = 0xC0 A8 01 02
Der Eintrag ConfigControl (F5/3) greift direkt auf das TCP/IP Interface
Object 0xF5, Attribut 3 Configuration Control zu. Es ist also nicht notwendig, diese Steuerungsbits vorher manuell zu setzen.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 69 of 156
Inbetriebnahme-Hilfen
10.3 Lesen/Schreiben von Attributen über
Rockwell Steuerung „RSLogix5000“
Für nachstehendes Beispielprojekt wurde das Rockwell Steuerungssystem
„RSLogix5000“ V16 benutzt, mit „ControlLogix Controller 1756-L55“.
Es wird vorausgesetzt, dass die Hardware bereits konfiguriert wurde, ein EtherNet/IP
Projekt besteht und eigenständig Variablen erstellt werden können, die
Empfangsdaten speichern können.
10.3.1 Vorgehensweise
1. Unter der Ordnerstruktur I/O Configuration ein neues Modul anlegen und der
Eintrag ETHERNET-MODULE Generic Ethernet Module auswählen.
2. In der Module Properties Dialog Box folgende Einstellungen vornehmen:
● Comm Format: Input Data - DINT
● Input: 101, Size: 2, entspricht dem Attribut Status + Position 1 des
Assembly Object
● Output: 100, entspricht dem Attribut Heartbeat des Assembly Object
● Configuration: 1, Size: 0, wird nicht unterstützt
● IP Address: aktive IP-Adresse des Mess-Systems
Unter der Ordnerstruktur I/O Configuration --> Ethernet wird das neu erzeugte
Modul mit dem abgespeicherten Namen angezeigt.
TR-Electronic GmbH 2008, All Rights Reserved
Page 70 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Inbetriebnahme-Hilfen
3. Unter der Ordnerstruktur Controller Tags ein neuer Steuerungs-Tag erstellen und folgende Einstellungen vornehmen:
● Type: Base
● Data_Type: Message
● Scope: angelegter Projektname zuweisen
4. Unter der Ordnerstruktur Tasks --> MainRoutine im Reiter Input/Output -->
MSG ein neuer Message-Befehl erstellen. Dem MSG-Befehl den oben erstellen
Steuerungs-Tag zuweisen.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 71 of 156
Inbetriebnahme-Hilfen
5. Die Message in der Message Configuration Dialog Box im Reiter
Configuration wie folgt konfigurieren. Nachstehendes Beispiel liest den
Positionswert, Attribut 0x64 Position Value 1, aus dem Position Sensor
Object 0x23 aus:
● Message_Type: CIP Generic
● Service Type: gewünschter Service, hier z.B. Get Attribute Single für das Lesen eines einzelnen Attributes.
● Service Code: 0x0E für Lesen
● Instance: 1 = Instanz des Position Sensor Objekts
● Class: 23 = Position Sensor Objekt
● Attribute: 64 = Positionswert 1. Magnet
● Destination: zuvor erstellte Variable für das Ziel
6. In der Message Configuration Dialog Box im Reiter Communication die
Verbindung zum angelegten Modul herstellen:
TR-Electronic GmbH 2008, All Rights Reserved
Page 72 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Fehlerursachen und Abhilfen
11 Fehlerursachen und Abhilfen
11.1 Optische Anzeigen
Die Zuordnung der LED
s kann aus dem Kapitel „Bus-Statusanzeige“, Seite 19
entnommen werden.
Link LED Ursache Abhilfe
Spannungsversorgung fehlt oder wurde unterschritten
- Spannungsversorgung, Verdrahtung prüfen
- Liegt die Spannungsversorgung im zulässigen
Bereich? aus
Keine Ethernet-Verbindung Ethernet-Kabel überprüfen
Hardwarefehler,
Mess-System defekt
Mess-System tauschen blinkend
Mess-System betriebsbereit,
Ethernet-Verbindung hergestellt, es werden momentan Daten übermittelt. an
Mess-System betriebsbereit,
Ethernet-Verbindung hergestellt, es werden momentan keine Daten
übermittelt.
Status LED Ursache
-
-
OFF
1 Hz keine Versorgungsspannung, oder keine IP-Adresse zugewiesen
Es wurden keine
Verbindungen hergestellt, aber eine IP-Adresse wurde zugewiesen.
Abhilfe
- Spannungsversorgung, Verdrahtung prüfen
- Liegt die Spannungsversorgung im zulässigen Bereich?
- Eine der drei Möglichkeiten nutzen, um die IP-Adresse zu vergeben:
Konfiguration über Hardware-Schalter, siehe Seite 18
Konfiguration aus dem FLASH, siehe Seite 58
Konfiguration über DHCP, siehe Seite 58
- Versuchen den Status des Identity Object auszulesen, um den Fehler einzukreisen.
- Steuerung konnte aufgrund falscher IP-Parameter keine
Verbindung aufbauen. IP-Adresse, Subnetzmaske und
Default Gateway Einstellungen zwischen Steuerung und
Mess-System abgleichen.
- Steuerung konnte aufgrund falscher Verbindungsparameter keine Verbindung aufbauen. Steuerungseinstellungen bezüglich Klassen-Code, Instanzangabe und
Attribut-ID überprüfen (Connection Point, Object 0x04
Assembly).
Mess-System betriebsbereit, normaler Betriebszustand ON Verbindung hergestellt
1 Hz grün/rot
Selbsttest, im
Einschaltmoment
Error LED Ursache
1 Hz
Eine oder mehrere Verbindungen zum Gerät sind im Timeout
Zustand.
–
Abhilfe
Der Zustand wird nur verlassen, wenn alle Verbindungen wieder hergestellt wurden, oder ein Geräte-RESET vorgenommen wurde.
ON
Gerät hat festgestellt, dass seine eigene IP-Adresse mehrfach im
Netzwerk vergeben wurde.
1 Hz grün/rot Selbsttest, im Einschaltmoment
Sicherstellen, dass die IP-Adresse innerhalb eines
EtherNet/IP Segments nur einmal vergeben wird.
–
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 73 of 156
Fehlerursachen und Abhilfen
11.2 Allgemeine Status Codes
Nachfolgende Tabelle listet die allgemeinen Status Codes auf, welche im Fehlerfall in das Feld General Status Code Field einer Error Response Nachricht eingetragen werden. Der erweiterte Status Code ist objektspezifisch und wird, wenn das Objekt diesen unterstützt, unter dem jeweiligen Objekt definiert.
Angaben in HEX
Allgemeiner
Status Code
Name Beschreibung
00
01
02
03
04
05
06
07
08
09
0A
Success
Der durch das Objekt spezifizierte Service wurde erfolgreich ausgeführt.
Connection failure Verbindungsbezogener Service fehlgeschlagen.
Resource unavailable
Invalid parameter value
Benötige Ressourcen für die Ausführung des angefragten Service nicht verfügbar. siehe Status Code 0x20, welcher der bevorzugte
Wert für diesen Zustand ist.
Path segment error
Die Pfadsegmentbezeichnung oder die
Segmentsyntax wurde vom auszuführenden
Knoten nicht verstanden.
Path destination unknown
Der Pfad bezieht sich auf eine Objekt Klasse,
Instanz oder Strukturelement, welcher dem
Knoten nicht bekannt ist oder nicht enthalten ist.
Partial transfer
Connection lost
Service not supported
Nur ein Teil der erwarteten Daten wurde
übertragen.
Die Nachrichtenverbindung ist verloren gegangen.
Der für diese Objekt Klasse bzw. Instanz angefragte Service wurde nicht implementiert oder nicht definiert.
Invalid attribute value
Ungültige Attributdaten festgestellt.
Attribute list error
Ein Attribute in der Get_Attribute_List oder
Set_Attribute_List Rückmeldung liefert einen Status
≠ 0.
0B
0C
0D
0E
0F
10
Already in requested mode/state
Das Objekt befindet sich bereits im angefragten
Mode bzw. Zustand.
Object state conflict
Angefragter Service kann durch das Objekt im momentanen Mode bzw. Zustand nicht ausgeführt werden.
Object already exists
Attribute not settable
Die angefragte Instanz des zu erstellenden
Objekts besteht bereits.
Für dieses Attribut kann nur ein Get-Service ausgeführt werden.
Privilege violation Zugriffsrecht verletzt.
Device state conflict
Der momentane Mode bzw. Zustand des Gerätes verhindert die Ausführung des angefragten
Services.
TR-Electronic GmbH 2008, All Rights Reserved
Page 74 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Fehlerursachen und Abhilfen
Fortsetzung
Allgemeiner
Status Code
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D
1E
1F
20
21
Name Beschreibung
Reply data too large
Fragmentation of a primitive value
Die zu übertragenen Daten im Eingangspuffer sind größer als der zugewiesene Puffer.
Der Service spezifiziert ein Vorgehen, welcher einen einfachen Datenwert fragmentiert, d.h. halbiert einen REAL Datentyp.
Not enough data
Attribute not supported
Too much data
Object does not exist
Service fragmentation sequence not in progress
No stored attribute data
Store operation failure
Routing failure, request packet too large
Routing failure, response packet too large
Der Service unterstützt nicht genug Daten, um den angefragten Vorgang auszuführen.
Das in der Anfrage spezifizierte Attribut wird nicht unterstützt.
Der Service liefert mehr Daten als erwartet.
Das spezifizierte Objekt ist nicht im Gerät implementiert.
Die Fragmentierungsabfolge für diesen Service ist momentan nicht aktiv für diese Daten.
Die Attributdaten für dieses Objekt wurden zuvor nicht gespeichert für den angefragten Service.
Aufgrund eines Fehlers wurden die Attributdaten für dieses Objekt nicht gespeichert.
Das Service Anfragepaket im Pfad zum Ziel war zu groß für die Übertragung auf dem Netzwerk.
Das Service Antwortpaket im Pfad vom Ziel war zu groß für die Übertragung auf dem Netzwerk.
Missing attribute list entry data
Invalid attribute value list
In der Attributliste wird ein Attribut nicht vom
Service unterstützt, welches aber vom Service benötigt wird, um das angefragte Verhalten auszuführen.
Der Service liefert eine Attributliste mit
Statusinformationen zurück, welche aber für diese Daten nicht gültig sind.
Bei einem eingebetteten Service hat sich ein
Fehler ergeben.
Embedded service error
Vendor specific error
-
Invalid parameter
Ein mit der Anfrage verknüpfter Parameter war ungültig. Dieser Code wird benutzt, wenn ein
Parameter nicht den Anforderungen der ODVA
Spezifikation entspricht, bzw. einer Application
Object Spezifikation.
Write-once value or medium already written
Es wurde versucht schreibend auf ein Medium zuzugreifen, welches nur einmalig geschrieben werden kann, z.B. WORM Drive, PROM. Oder es wurde versucht einen Wert zu ändern, der nur einmalig gesetzt werden kann.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 75 of 156
Fehlerursachen und Abhilfen
Fortsetzung
Allgemeiner
Status Code
22
23
24
25
26
27
28
29
Name Beschreibung
Invalid Reply
Received
Buffer Overflow
Message Format
Error
Key Failure in path
Path Size Invalid
Unexpected attribute in list
Invalid Member ID
Member not settable
Es wurde eine ungültige Antwort empfangen, z.B.
Rückmelde Service Code passt nicht zum angefragten Service Code oder die zurückgemeldete Nachricht ist kleiner als die erwartete Größe.
Die empfangene Nachricht ist größer, als der
Empfangspuffer verarbeiten kann. Die komplette
Nachricht wurde verworfen.
Das Format der empfangenen Nachricht wird vom Server nicht unterstützt.
Das Schlüsselsegment, welches als erstes
Segment im Pfad eingebunden wurde, passt nicht zum Zielmodul. Der objektspezifische Status zeigt den entsprechenden fehlerhaften Teil an.
Die Größe des Pfades, welche mit der
Serviceanfrage gesendete wurde, ist entweder nicht groß genug um den Service zu ermöglichen, oder es wurden zu viele Routing-Daten eingefügt.
Es wurde versucht ein Attribut zu setzen, welches im Moment nicht gesetzt werden kann.
Die in der Anfrage angegebene Member ID existiert nicht in der spezifizierten
Klasse/Instanz/Attribut.
Es wurde versucht schreibend auf ein Member zuzugreifen, welcher nur gelesen werden kann.
TR-Electronic GmbH 2008, All Rights Reserved
Page 76 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Fehlerursachen und Abhilfen
11.3 Positions-Status
Zusätzlich zur ausgegebenen Position wird über das Statusregister Bit 2
0
gemeldet, ob sich die Magneten im zulässigen Bereich befinden.
Siehe auch:
● I/O Assembly Data Attribute Format, Seite 25
● Object 0x04, Assembly, Seite 38
● Attribute 0x6F, Position Status, Seite 52
Bit Störung Ursache Abhilfe
Das Mess-System hat keinen
Magneten erkannt.
Magnet in den zulässigen Messbereich bringen.
0 Bit 0 = 1
11.4 Sonstige Störungen
Störung
Die angegebene Anzahl der
Magneten in
Programmierte Anzahl Magnete
mit der Anzahl der verwendeten
Magneten überein.
Anzahl abgleichen.
Ursache Abhilfe
starke Vibrationen
Vibrationen, Schläge und Stöße z.B. an Pressen, werden mit so genannten "Schockmodulen" gedämpft. Wenn der
Fehler trotz dieser Maßnahmen wiederholt auftritt, muss das Mess-System getauscht werden.
Positionssprünge des
Mess-Systems elektrische Störungen
EMV
Gegen elektrische Störungen helfen eventuell isolierende
Flansche und Kupplungen aus Kunststoff, sowie Kabel mit paarweise verdrillten Adern für Daten und Versorgung. Die
Schirmung und die Leitungsführung müssen nach den
Aufbaurichtlinien gemäß der Spezifikation ausgeführt sein.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 77 of 156
Anhang
12 Anhang
12.1 Elementare Datentypen
Datentyp Code Beschreibung
BOOL
SINT
INT
DINT
LINT
USINT
UINT
UDINT
ULINT
REAL
LREAL
STRING
BYTE
WORD
DWORD
LWORD
0xC1 Boolesche Variable mit den Werten TRUE und FALSE
0xC2 Signed 8 Bit Integer
0xC3 Signed 16 Bit Integer
0xC4 Signed 32 Bit Integer
0xC5 Signed 64 Bit Integer
0xC6 Unsigned 8 Bit Integer
0xC7 Unsigned 16 Bit Integer
0xC8 Unsigned 32Bit Integer
0xC9 Unsigned 64 Bit Integer
0xCA 32 Bit Floating Point
0xCB 64 Bit Floating Point
0xD0 Character String, 1 Byte/Zeichen
0xD1 Bit String, 8 Bit
0xD2 Bit String, 16 Bit
0xD3 Bit String, 32 Bit
0xD4 Bit String, 64 Bit
SHORT_STRING 0xDA Character String, 1 Byte/Zeichen, 1 Byte Längenindex
EPATH 0xDC CIP Pfad Segment
STRINGI 0xDE International Character String
TR-Electronic GmbH 2008, All Rights Reserved
Page 78 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
User Manual
LA, LP, LMP EtherNet/IP
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 79 of 156
TR-Electronic GmbH
D-78647 Trossingen
Eglishalde 6
Tel.: (0049) 07425/228-0
Fax: (0049) 07425/228-33
E-mail: [email protected] http://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 forbidden. Reproduction, translation as well as electronic and photographic archiving and modification require the written content of the manufacturer. Offenders will be liable for damages.
Subject to amendments
Any technical changes that serve the purpose of technical progress, reserved.
Document information
Release date/Rev. date: 03/14/2013
Document rev. no.:
File name:
Author:
TR - ELA - BA - DGB - 0009 - 03
TR-ELA-BA-DGB-0009-03.DOC
MÜJ
Font styles
Italic or bold font styles are used for the title of a document or are used for highlighting.
Courier font displays text, which is visible on the display or screen and software menu selections.
< >
indicates keys on your computer keyboard (such as <RETURN>).
Trademarks
EtherNet/IP
™ is a trademark used under license by ODVA.
(Open DeviceNet Vendor Association)
CIP™, Common Industrial Protocol™ and DeviceNet™ are trademarks of ODVA, Inc.
E therNet/IP CONFORMANCE TESTED™ is a certification mark of ODVA.
ControlNet™ is a trademark of ControlNet International, Ltd.
TR-Electronic GmbH 2008, All Rights Reserved
Page 80 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Contents
Contents
6.3.4 Combination IP-Address and Default Subnet mask ........................................ 100
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 81 of 156
Contents
8.4.3.2 Attribute 0x03, Status + Position 1 .................................................. 118
8.4.3.3 Attribute 0x03, Status + Position 1-2 ............................................... 118
8.4.3.4 Attribute 0x03, Status + Position 1-3 ............................................... 119
8.6.3.2 Attribute 0x0B, Position Sensor Type .............................................. 125
8.6.3.3 Attribute 0x0C, Direction Counting Toggle ...................................... 125
8.6.3.4 Attribute 0x10, Measuring Units per Span ....................................... 126
8.6.3.5 Attribute 0x64-0x66, Position Value 1-3 .......................................... 126
8.6.3.6 Attribute 0x67-0x69, Preset Value 1-3 ............................................. 127
8.6.3.7 Attribute 0x6A-0x6C, Preset 1-3 Release ........................................ 128
8.6.3.9 Attribute 0x6E, Number of Magnets ................................................. 129
8.6.3.10 Attribute 0x6F, Position Status ...................................................... 130
8.6.3.11 Attribute 0x70, Accept Parameter .................................................. 130
TR-Electronic GmbH 2008, All Rights Reserved
Page 82 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Contents
8.8.3.2 Attribute 0x02, Configuration Capability .......................................... 136
8.8.3.3 Attribute 0x03, Configuration Control............................................... 136
8.8.3.4 Attribute 0x04, Physical Link Object ................................................ 137
8.8.3.5 Attribute 0x05, Interface Configuration ............................................ 137
8.8.3.5.1 Obtaining of the IP parameter .......................................... 138
8.8.3.5.2 Set and store the IP parameter ........................................ 139
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 83 of 156
Revision index
Revision index
Revision
First release
Magnet distance: 50 mm --> 80 mm
- Modification of the warnings
- Separating the EDS file into LA, LP, LMP
- EDS file without revision index
Date Index
11/26/08 00
12/17/08 01
07/15/09 02
03/14/13 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 84 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
1 General information
This interface-specific User Manual includes the following topics:
General information
● Safety instructions in additional to the basic safety instructions defined in the
Assembly Instructions
● Electrical characteristics
● Installation
● Commissioning
● Configuration / parameterization
● Causes of faults and remedies
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 User Manual may be included in the customer's specific delivery package or it may be requested separately.
1.1 Applicability
This User Manual applies exclusively to the following measuring system models with
EtherNet/IP
interface:
● LA
● LP
● LMP
The products are labelled with affixed nameplates and are components of a system.
The following documentation therefore also applies:
● the operator's operating instructions specific to the system,
● this User Manual,
● and the assembly instructions TR-ELA-BA-DGB-0004, which is enclosed when the device is delivered
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 85 of 156
General information
1.2 References
IEC 61158:2003, Type 2 Defines among others the CIP Application Layer,
13. which is used in EtherNet/IP
14.
IEC 61784-1:2003,
CP 2/2 Type 2
Defines the communication profile of EtherNet/IP
15.
ISO/IEC 8802-3
16. RFC768
17. RFC791
18. RFC792
19. RFC793
20. RFC826
RFC894
21.
22. RFC1112
23.
RFC2236
24. ODVA
Carrier Sense Multiple Access with Collision Detection
(CSMA/CD) Access Method and Physical Layer Specifications
Defines the User Datagram Protocol (UDP)
Defines the Internet Protocol (IP)
Defines the Internet Control Message Protocol (ICMP)
Defines the Transmission Control Protocol (TCP)
Defines the Ethernet Address Resolution Protocol (ARP)
Standard for the transmission of IP-
Datagram’s over
Ethernet Networks
Host extensions for IP Multicasting
Defines the Internet Group Management Protocol (ICMP),
Version 2
EtherNet/IP specification
TR-Electronic GmbH 2008, All Rights Reserved
Page 86 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
1.3 Abbreviations used / Terminology
CAN
General information
Controller Area Network
(manufacturer independent, open field bus standard)
CIP
DHCP
Common Industrial Protocol, protocol for transmission of real time data and configuration data.
Dynamic Host Configuration Protocol, dynamic assignment of an IP address
DNS Domain Name System, Name resolution into an IP address
EDS
EMC
Electronic-Data-Sheet
Electro Magnetic Compatibility
Full-Duplex Bidirectional data transmission
Gateway Interconnect point between two networks
Half-Duplex Unidirectional data transmission
IGMP
LA
Internet Group Management Protocol, protocol for management of groups
Linear Absolute Measuring System, tubular housing type
Linear Absolute Measuring System, profile housing type LMP
LP
MAC-ID
Multicast
ODVA
Port
Router
Switch
TCP/IP
Linear Absolute Measuring System, profile housing type
Media Access Control Identifier
(node address)
Multi-Point-Connection, the message is sent to a certain group of subscribers in the network.
Open DeviceNet Vendor Association
(CAN User Organization, especially for DeviceNet
, EtherNet/IP™)
Connection,
Part of an address, which allocates data segments to a network protocol.
Network component to couple several subnets.
Network component to connect several computers or net segments within a local network, avoid collisions.
Transmission Control Protocol/Internet Protocol
UDP User Datagram Protocol
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 87 of 156
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. indicates important information or features and application tips for the product used.
2.2 Additional instructions for proper use
The measuring system is designed for operation in 100Base-TX Fast Ethernet networks with max. 100 Mbit/s, specified in ISO/IEC 8802-3. Communication via
EtherNet/IP occurs in accordance with IEC 61158 et seqq., Type 2 and IEC 61784-1,
CP 2/2 Type 2. The device profile corresponds to the "Encoder Device Profile 0x22" of the ODVA EtherNet/IP specification.
The technical guidelines for configuration of the Fast Ethernet network must be adhered to in order to ensure safe operation.
Proper use also includes:
● observing all instructions in this User Manual,
● compliance with the Assembly Instructions, particularly the chapter "Basic
Safety Instructions" contained therein, must have been read and understood prior to commencement of work
TR-Electronic GmbH 2008, All Rights Reserved
Page 88 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Additional safety instructions
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".
This particularly applies for personnel who are only deployed occasionally, e.g. at the parameterization of the measurement system.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 89 of 156
Technical data
3 Technical data
3.1 Electrical characteristics
EMC
≤ 3 mm
Distance between 2 magnets: .................... via EtherNet/IP:
- Position filter
- Number of magnets
- Preset release
- Counting direction
- Resolution
- Preset value
* parameterizable via EtherNet/IP
TR-Electronic GmbH 2008, All Rights Reserved
Page 90 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
EtherNet/IP information
4 EtherNet/IP information
4.1 General
EtherNet/IP was developed by Rockwell Automation and the ODVA as an open field bus standard, based on the Ethernet Industrial Protocol and is standardized in the international standards IEC 61158:2003 Type 2 and IEC 61784-1:2003 CP 2/2
Type 2.
Specification and maintenance of the EtherNet/IP standard is regulated by the ODVA.
EtherNet/IP, along with ControlNet and DeviceNet, belongs to the family of CIP-based networks. The CIP (Common Industrial Protocol) forms a common application layer for these 3 industrial networks. DeviceNet, ControlNet and Ethernet/IP are therefore well matched to one another and present the user with a graduated communication system for the physical layer (Ethernet/IP), cell layer (ControlNet) and field layer
(DeviceNet). EtherNet/IP is an object-oriented bus system and works according to the producer/consumer model.
Figure 1: Relations between CIP, DeviceNet, ControlNet and EtherNet/IP
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 91 of 156
EtherNet/IP information
4.2 EtherNet/IP transmission types
The EtherNet/IP communication protocol CIP above TCP and UDP is used for following purposes:
1. Control
2. Configuration
3. and Monitoring or Collection of data
The control portion of CIP is used for real-time I/O messaging or Implicit
Messaging. The information portion of CIP is used for message exchange or
Explicit Messaging.
Figure 2:TCP/IP Stack Handling
4.2.1
Explicit Messaging, exchange of information’s
Non-time critical data transfers, typically large packet size. Information data exchanges are short-lived explicit connections between one originator and one target device. Information data packets use the TCP/IP protocol about the port 44818 and take advantage of the TCP data handling features.
4.2.2 Implicit Messaging, exchange of I/O data
Time-critical data transfers, typically smaller packet size. I/O data exchanges are longterm implicit connections between one originator and any number of target devices.
I/O data packets use the UDP/IP protocol about the port 2222 and take advantage of high-speed throughput capability of UDP.
TR-Electronic GmbH 2008, All Rights Reserved
Page 92 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
EtherNet/IP information
4.3 EtherNet/IP Device Profiles
Beyond the specification of the pure communication functions, EtherNet/IP also includes the definition of device profiles. These profiles define the respective device types for minimally available objects and communication functions. The device type number 22hex was defined for EtherNet/IP Encoders.
4.4 Vendor ID
The vendor IDs (manufacturer’s identifiers) are assigned and administrated by the
ODVA.
The TR-Electronic Vendor ID for EtherNet/IP is "1137" (dec).
4.5
Further information’s
You can obtain further information on EtherNet/IP from the Open DeviceNet Vendor
Association (ODVA) or the following Internet addresses:
ODVA, Inc.
4220 Varsity Drive, Suite A
Ann Arbor, MI 48108-5006 USA
Phone +1 734.975.8840
Fax +1 734.922.0027 http://www.odva.org
e-mail: mailto:[email protected]
Downloads: http://www.ethernetip.de
http://literature.rockwellautomation.com
http://www.rockwellautomation.com/knowledgebase/
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 93 of 156
Installation / Preparation for start-up
5 Installation / Preparation for start-up
Typically an EtherNet/IP network uses an active star topology in which groups of devices are connected point-to-point to a switch. The benefit of a star topology is in its support of both 10 Mbit/s and 100 Mbit/s products. Mixing 10 Mbit/s and 100 Mbit/s is possible, and most Ethernet switches will negotiate the speed automatically.
For transmission according to the 100Base-TX Fast Ethernet standard, patch cables in category STP CAT5e must be used (2 x 2 shielded twisted pair copper wire cables).
The cables are designed for bit rates of up to 100 Mbit/s. The transmission speed is automatically detected by the measuring system and does not have to be set by means of a switch. The screen is to be grounded only on one side.
For the transmission Full Duplex operation is to be used. It is recommended to use switches with specific features to build an EtherNet/IP network:
● for I/O communication:
– Full Duplex capable, on all ports
– IGMP-Snooping - limits multicast data traffic for the ports with associated IP multicast group.
– IGMP Query – Router (or Switch) with active IGMP function send queries periodically, in order to experience, which IP-Multicast-Group-Members are connected in the LAN.
– Port Mirroring – permits reflecting the data traffic from a port to another port, important for the fault diagnosis.
● other switch functions:
– e.g. redundant current supply
– remote diagnostics possibilities
The EtherNet/IP Node-ID can be adjusted either by means of two rotary switches,
Flash configuration or DHCP request.
The cable length between two subscribers may be max. 100 m.
In order to ensure safe, fault-free operation,
-
-
-
-
-
-
ISO/IEC 11801, EN 50173 (European standard)
ISO/IEC 8802-3
IAONA Directive
„Industrial Ethernet Planning and Installation“ http://www.iaona-eu.com
Rockwell Public ation „EtherNet/IP Performance and Application Guide“
No.: ENET-AP001A-EN-P
Rockwell Public ation „Ethernet/IP Media Planning and Installation Manual“,
No.: ENET-IN001A-EN-P
Rockwell Public ation „Industrial Automation Wiring and Grounding
Guidelines
“, No.: 1770-4.1EN
-
and other pertinent standards and directives must be complied with!
In particular, the applicable EMC directive and the shielding and grounding directives
must be observed!
TR-Electronic GmbH 2008, All Rights Reserved
Page 94 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
5.1 Connection
Installation / Preparation for start-up
X1 EtherNet/IP IN / OUT; Flange socket (M12x1-4 pol. D-coded)
1 TxD+ transmitted data +
2
3
4
RxD+
TxD
–
RxD
– received data + transmitted data
– received data
–
X2 Supply; Flange connector (M8x1-4 pol.)
1 19
– 27 V DC
Voltage Supply
2 TRWinProg + for service purposes only
3 GND, 0V
Voltage Supply
4 TRWinProg
– for service purposes only
Shielded twisted pair cables must be used for the supply!
The shielding is to be connected with large surface on the mating connector housing!
Order data for Ethernet flange socket M12x1-4 pin D-coded
Manufacturer Designation Order no.:
Binder Series 825 99-3729-810-04
Phoenix Contact SACC-M12MSD-4CON-PG 7-SH (PG 7) 15 21 25 8
Phoenix Contact SACC-M12MSD-4CON-PG 9-SH (PG 9) 15 21 26 1
Harting
HARAX
M12-L
21 03 281 1405
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 95 of 156
Installation / Preparation for start-up
5.2 Node address (Host-ID)
Each EtherNet/IP node is addressed by an 8 bit Node address in an EtherNet/IP segment. This address has only local significance, i.e. it is unique within an
EtherNet/IP segment. The adjusted Node address corresponds to the Host-ID and is part of the IP address, see also chapter
“Network configuration” on page 99.
Standard IP address, when switches are active
192.168.1.
Net-ID
<adjusted EtherNet/IP Node address>
Host-ID
Table 1: Construction of the IPv4 address
The Node address is adjusted by means of two HEX rotary switches, which are readin only in the POWER-ON momentum. Additional adjustments during operation are not recognized therefore.
Switch activation
Switch = 0x00 or 0xFF
Switch
≠ 0x00 or 0xFF
Configuration from FLASH or DHCP server
Switch active
Table 2: Switch activation
Node addresses
1…254 may used for the measuring system.
Figure 3: EtherNet/IP Node address, switch assignment
If the HEX rotary switches are active, the following definitions are valid:
● IP address = 192.168.1.<adjusted Node address>
● Subnet mask = 255.255.255.0
● Default Gateway = 192.168.1.254
Configuration via FLASH or DHCP server, see
“Attribute 0x05, Interface Configuration” from page 137.
TR-Electronic GmbH 2008, All Rights Reserved
Page 96 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Commissioning
6 Commissioning
6.1 EDS file
The EDS (electronic datasheet) contains all information on the measuring systemspecific parameters and the measuring system
’s operating modes. The EDS file is integrated using the EtherNet/IP network configuration tool to correctly configure or operate the measuring system.
The EDS files are device specific and have the file names:
-
LA: "04710022_LA46_XXXXXX.eds"
-
LP: "04710022_LP46_XXXXXX.eds"
-
-
LMP: "04710022_LMP30_XXXXXX.eds"
The files are on the Software/Support DVD:
Order number: 490-01001
-
Soft-No.: 490-00423
6.2 Bus status display
The EtherNet/IP measuring system is equipped with three diagnostic LEDs.
Figure 4: EtherNet/IP diagnostic LEDs
6.2.1 Link / Data Activity LED
LED Status Description
ON = Link Ethernet connection established
Flashing = Data Activity Data transfer TxD/RxD
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 97 of 156
Commissioning
6.2.2 Network Status LED
LED Status Cause
OFF
Not powered, no IP address
1 Hz No connections
ON Connected
Description
Device is not powered or does not have an IP address.
Device has no established connections, but has obtained an IP address.
The device has at least one established connection, e.g. to the Message Router.
Valid, while the device is performing its power up testing.
1 Hz green/red Self-test
6.2.3 Error LED
LED Status Cause
1 Hz
Description
Connection Timeout
One or more of the connections in which this device is the target has timed out. This state is left only if all timed out connections are reestablished or if the device is reset.
ON Duplicate IP
1 Hz green/red Self-test
The device has detected that its IP address is already in use
Valid, while the device is performing its power up testing.
TR-Electronic GmbH 2008, All Rights Reserved
Page 98 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Commissioning
6.3 Network configuration
6.3.1 MAC-Address
Already by TR-Electronic each EtherNet/IP device a worldwide explicit device identification is assigned und serves for the identification of the Ethernet node. This 6 byte long device identification is the MAC-Address and is not changeable.
The MAC-Address is divided in:
● 3 Byte Manufacturer-ID and
● 3 Byte Device-ID, current number
Normally the MAC-Address is printed on the connection hood of the device.
E.g.: “00-03-12-04-00-60”
6.3.2 IP-Address
So that an EtherNet/IP device as a subscriber at the Industrial Ethernet can be controlled, this device additionally needs an explicit IP-Address in the network. The IPaddress consists of 4 decimal numbers with the value range from 0 to 255. The decimal numbers are separated by a point from each other.
The IP-Address consists of
● the address of the (sub) net and
● the address of the subscriber, called host or net node
6.3.3 Subnet mask
The “1-bits” of the subnet mask determine the part of the IP-Address which contains the address of the (sub) network.
General it is valid:
● The network address results from the AND-conjunction of IP-Address and
Subnet mask.
● The subscriber address results from the conjunction
IP-Address
AND (NOT Subnet mask)
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 99 of 156
Commissioning
6.3.4 Combination IP-Address and Default Subnet mask
There is a declaration regarding the assignment of IP-address ranges and so-called
“Default Subnet masks”. The first decimal number of the IP-Address (from left) determines the structure of the Default Subnet mask regarding the number of “1” values (binary) as follows:
Net address range (dec.) IP-Address (bin.)
Address
Class
Default
Subnet mask
1.0.0.0 - 126.0.0.0 0xxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
128.1.0.0 - 191.254.0.0 10xx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
192.0.1.0 - 223.255.254.0
110x xxxx xxxx xxxx xxxx xxxx xxxx xxxx
IP-Address
Net mask
Class A-Net: 1 Byte Net address, 3 Byte Host address
Class B-Net: 2 Byte Net address, 2 Byte Host address
Class C-Net: 3 Byte Net address, 1 Byte Host address
Example Subnet mask
IP-Address = 130.094.122.195,
Net mask = 255.255.255.224
Decimal Binary
130.094.122.195
10000010 01011110 01111010 11000011
255.255.255.224
11111111 11111111 11111111 111 00000
Net address 130.094.122.192
10000010 01011110 01111010 110 00000
A
B
C
255.0.0.0
255.255.0.0
255.255.255.0
Calculation
IP-Address
AND Net mask
= Net address
IP-Address 130.094.122.195
10000010 01011110 01111010 11000011
IP-Address
Net mask 255.255.255.224
11111111 11111111 11111111 111 00000
(00000000 00000000 00000000 000 11111 )
00000000 00000000 00000000 000 00011
AND (NOT Net mask)
Host address 3
= Host address
6.3.5 Default Gateway
A default gateway is a node (Router/Gateway) in the EtherNet/IP network and makes possible the access to another network, outside of the EtherNet/IP network.
If a Router/Gateway is present in the EtherNet/IP network, whose IP address is to be used.
TR-Electronic GmbH 2008, All Rights Reserved
Page 100 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Object Model
7 Object Model
For network communication, EtherNet/IP uses an object model, in which are described all of the functions and data of a device. Each node in the network is represented as a collection of objects. The following Object Modeling related terms are used when describing CIP services and protocol:
Object:
The object model consists of classes of objects. An object is an abstract representation of individual related components within a device. It is defined by its data or attributes, the functions or services it provides externally and by its defined behavior.
Class:
A class contains related components (objects) of a product, organized in instances.
Instance:
An instance consists of different variables (attributes) that describe the properties of this instance. Different instances of a class have the same services, the same behavior and the same variables (attributes). They can, however, have different variable values.
Attribute:
The variables (attributes) represent the data a device provides over EtherNet/IP.
These include the current values of, for example, a configuration or an input. Typical attributes are configuration or status information.
Behavior:
The behavior defines how a device reacts as a result of external events such as changed process data or internal events such as lapsing timers.
Service:
Services are used to access classes or the attributes of a class or to generate specific events. These services execute defined actions such as the reading of variables or the resetting of a class. For each class, there exists a fixed set of services.
Class Instances Attributes Attribute Values
Human
Mary
Jerry
Gender
Age
Gender
Age female
31 male
50
Table 3: Example, Object Model Terminology
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 101 of 156
Object Model
7.1 Object Model, Encoder Device
According to the EtherNet/IP specification the TR measuring system corresponds to
an “Encoder Device, Device Type 0x22”. Figure 5 therefore describes the Object
Model of a TR measuring system.
7.1.1 Classes
Figure 5
: Object Model “Encoder Device”
Object Classes
0x01: Identity Object
0x02: Message Router Object
0x04: Assembly Object
0x06: Connection Manager Object
0x23: Position Sensor Object
0xF4: Port Object
0xF5: TCP/IP Interface Object
0xF6: Ethernet Link Object
Table 4: Supported Classes
Number of Instances
1
1
1
1
1
1
4
1
TR-Electronic GmbH 2008, All Rights Reserved
Page 102 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Object Model
7.1.2 I/O Assembly Instances
About the IO Assembly Instances the process data (current position) of the measuring system are transmitted.
● Instance 1: 1x 32 bit Position data, Magnet 1
● Instance 101: 1x 32 bit Position data, 1x 32 bit Status; Number of magnets = 1
● Instance 102: 2x 32 bit Position data, 1x 32 bit Status; Number of magnets = 2
● Instance 103: 3x 32 bit Position data, 1x 32 bit Status; Number of magnets = 3
Instance Type Name Description
1
100
101
102
103
Input Position 1
- Heartbeat
Input Status+Position 1
Input Status+Position 1-2
Input Status+Position 1-3
Operation with one magnet
Heartbeat
Operation with one magnet
Operation with two magnets
Operation with three magnets
Table 5: Overview I/O Assembly Instances
7.1.3 I/O Assembly Data Attribute Format
The process data are transmitted with the following format:
Instance Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1
101
0 Position 1, Low Byte
1 Position 1
2 Position 1
3 Position 1, High Byte
0 Status, Low Byte
1 Status
2 Status
3 Status, High Byte
4 Position 1, Low Byte
5 Position 1
6 Position 1
7 Position 1, High Byte
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 103 of 156
Object Model
Continuation
Instance Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
102
103
0 Status, Low Byte
1 Status
2 Status
3 Status, High Byte
4 Position 1, Low Byte
5 Position 1
6 Position 1
7 Position 1, High Byte
8 Position 2, Low Byte
9 Position 2
10 Position 2
11 Position 2, High Byte
0 Status, Low Byte
1 Status
2 Status
3 Status, High Byte
4 Position 1, Low Byte
5 Position 1
6 Position 1
7 Position 1, High Byte
8 Position 2, Low Byte
9 Position 2
10 Position 2
11 Position 2, High Byte
12 Position 3, Low Byte
13 Position 3
14 Position 3
15 Position 3, High Byte
Table 6: Process data output format
7.1.3.1 Status
The status reports whether the magnet is located within the permissible measuring range. If the error "No magnet detected" is reported, either no magnet is installed, the magnet is located in the damping zone or the number of magnets configured does not agree with the real number. No analyzable measuring signal can be output by the measuring system within the damping zone.
0x00 00 00 00 = No error
0x00 00 00 01 = No magnet detected
TR-Electronic GmbH 2008, All Rights Reserved
Page 104 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8 Parameterization
Conceptualities for the object description
Term Description
Attribute-ID (Attr.-ID)
Access
NV (non volatile), V (volatile)
Name
Data type
Description
Default
Parameterization
Integer value which is assigned to the corresponding attribute
Access rule
Set:
The attribute can be accessed by means of
Set_Attribute services (writing).
Note:
Set attributes can also be accessed by means of
Get_Attribute services.
Get:
The attribute can be accessed by means of
Get_Attribute services (reading)
Storage of the attributes (parameter)
NV:
The attribute is permanently stored in the measuring system
V:
The attribute is not permanently stored in the measuring system
Attribute name
Data type of the attributes
Attribute description
Attribute standard value
Table 7: Terminology
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 105 of 156
Parameterization
8.1 Overview of available classes
Object Classes Purpose
0x01: Identity Object
0x02: Message Router Object
Contains all device specific data, such as
Vendor ID, Device type, Device status etc.
Contains the measuring system
’s supported class codes and the max. number of connections.
Access Page
Get
Get
0x04: Assembly Object
0x06: Connection Manager Object
0x23: Position Sensor Object
0xF4: Port Object
0xF5: TCP/IP Interface Object
0xF6: Ethernet Link Object
Returns the position value of the measuring system.
Contains connection specific attributes for triggering, transport, connection type etc.
Contains all attributes for programming the measuring system parameter, such as scaling and count direction.
Contains the available Ports, Port name and Node address on the port.
Contains all attributes for the configuration of the TCP/IP network interface such as IP address, Subnet mask and Gateway.
Defines how the measuring system gets these parameters: FLASH, DHCP or hardware switch.
Contains connection specific attributes, such as Transmission rate, Interface status and the MAC-Address.
Get
Get
Set/Get
Get
Set/Get
Get
Table 8: Overview of available classes
TR-Electronic GmbH 2008, All Rights Reserved
Page 106 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parameterization
8.2 Object 0x01, Identity
The Identity Object contains all identification attributes of the measuring system.
8.2.1 Common Services
Service Code Service Name Description
0x01
0x05
0x0E
Get_Attributes_All
RESET
Get_Attribute_Single
Returns the contents of all attributes.
The order corresponds to the Attr.-ID.
According to the data type the Low part is written first.
Device performs a RESET, with
POWER-ON behavior.
Returns the contents of the specified attribute.
8.2.2 Class Attributes
No. Access Name
1 Get
2
3
4
5
6
7
Get
Get
Get
-
Get
Get
Revision
Data type Attribute Description
UINT
Max Instance UINT
Number of
Instances
Optional attribute list
Number of attributes
Optional attributes
-
Maximum
ID Number
Class
Attributes
Maximum ID
Number
Instance
Attributes
UINT
STRUCT of:
UINT
ARRAY of
UINT
-
UINT
UINT
Revision of this object
Maximum instance number of an object currently created in this class level of the device.
Number of object instances currently created at this class level of the device.
List of optional instance attributes utilized in an object class implementation.
Number of attributes in the optional attribute list.
List of optional attribute numbers. not implemented
The attribute ID number of the last class attribute of the class definition implemented in the device.
The attribute ID number of the last instance attribute of the class definition implemented in the device.
Default
0x00 01
0x00 01
0x00 01
0x00 00
0x00
-
0x00 07
0x00 07
Table 9: Identity, Overview of the class attributes
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 107 of 156
Parameterization
8.2.3 Instance 1, Attributes
Attr.-ID Access Name
0x01
0x02
0x03
0x04
0x05
0x06
0x07
Get
Get
Get
Get
Get
Get
Get
Vendor ID
Device Type
Product Code
Revision
STRUCT of:
Major Revision USINT
Minor Revision
Status
Serial Number
Product Name
Data type Description
UINT
UINT
TR identification
= 1137
Designation of the device type =
34 for “Encoder“
UINT
USINT
WORD
UDINT
SHORT_
STRING
Default
0x04 71
0x00 22
Vendor specific product code
320 = LP-46
321 = LA-46
322 = LMP-30
Revision index of the device
Version-No.
Index of the
Version-No.
Summary status of device
Serial number of device
0x01
0x01
0x00 64
0xXX XX XX XX
Human readable identification
LA-
46: “TR-LA46_EIP”
LP-
46: “TR-LP46_EIP”
LMP-
30: “TR-LMP30_EIP”
Table 10: Identity, Overview of the instance attributes
TR-Electronic GmbH 2008, All Rights Reserved
Page 108 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.2.3.1 Attribute 0x05, Status
Status returns the summary status of the measuring system:
Bit Called Definition
Parameterization
0
1
2
Owned
-
Configured
Under EtherNet/IP without meaning
0, reserved
TRUE: Indicates the application of the device has been configured to do something different than the
“out–of–box” default.
0, reserved 3 -
4-7
Extended
Device Status see table below
8
9
Minor
Recoverable Fault
Minor
Unrecoverable
Fault
TRUE: Indicates the device detected a problem with itself, which is thought to be recoverable. The problem does not cause the device to go into one of the faulted states. See Behavior section.
TRUE: Indicates the device detected a problem with itself, which is thought to be unrecoverable. The problem does not cause the device to go into one of the faulted states. See Behavior section.
10
11
Major
Recoverable Fault
Major
Unrecoverable
Fault
TRUE: Indicates the device detected a problem with itself, which caused the device to go into the “Major
Recoverable Fault” state. See Behavior section.
TRUE: Indicates the device detected a problem with itself, which caused the device to go into the “Major
Unrecoverable Fault” state. See Behavior section.
12-15 - 0, reserved
Bit definitions for extended device status field
Bits 4-7 Description
0000
0001
0010
0011
Self-Testing or unknown
Firmware update in progress
At least one faulted I/O connection
No I/O connections established
0100
0101
0110
0111
Non volatile configuration bad
Major Fault
– either bit 10 or bit 11 is true (1)
At least one I/O connection in run mode
At least one I/O connection established, all in idle mode
1000
1001
0, reserved
0, reserved
1010-1111 0, not supported
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 109 of 156
Parameterization
8.2.4 Behavior
The behavior of the Identity Object is illustrated in the State Transition Diagram.
This State Transition Diagram associates the state of the device with the status reported by the Status Attribute with the state of the Module Status LED.
The measuring system is not able to communicate in the Major Unrecoverable
Fault state. Therefore, it might not be able to report a Major Unrecoverable
Fault. It will not process a Reset service. The only exit from a Major
Unrecoverable Fault is to cycle power.
Heartbeat messages are only triggered after the measuring system has successfully completed the network access state machine and is online.
Figure 6: State Transition Diagram [Source: ODVA EtherNet/IP Specification]
TR-Electronic GmbH 2008, All Rights Reserved
Page 110 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parameterization
The Identity Object contains the following states:
State Description
Nonexistent
The device is without power.
Device Self
Testing
The device is executing its self tests.
Standby
The device needs commissioning due to an incorrect or incomplete configuration.
Operational
The device is operating in a fashion that is normal for the device.
Major
Recoverable
Fault
The device has experienced a fault that is believed to be recoverable.
Major
Unrecoverable
Fault
The device has experienced a fault that is believed to be unrecoverable.
Table 11: Device states
The Identity Object contains the following events:
Event Description
Power Applied The device is powered up.
Passed Tests The device has successfully passed all self tests.
Activated
Deactivated
The device’s configuration is valid and the application for which the device was designed is now capable of executing
(communications channels may or may not yet be established).
The device’s configuration is no longer valid and the application for which the device was designed is no longer capable of executing (communication channels mayor may not still be established).
Minor Fault
A fault classified as either a Minor Unrecoverable Fault or a Minor Recoverable Fault has occurred.
Major
Recoverable
Fault
An event classified as Major Recoverable Fault has occurred.
Major
Unrecoverable
Fault
An event classified as a Major Unrecoverable Fault has occurred.
Table 12: Device events
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 111 of 156
Parameterization
8.2.5 Object-specific Status Codes
HEX notation
General
Status Code
00
– CF
Extended
Status Code
00
– EE
F0 - FE
D0
FF
00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
10
11
12
13
14
– EF
Name Description
Reserved Extended Status Codes
Vendor Specific Vendor specific Extended Codes
Used with all General Codes when required and no other Extended
Code is assigned.
Hardware
Diagnostic
Device Self-Testing and Hardware
Diagnostic Conditions reserved
Checksum (or CRC) error
– Code space/ROM
– Boot section
Checksum (or CRC) error
– Code space/ROM
– Application section
Checksum (or CRC) error
– NV
(FLASH/EEPROM) memory
Invalid non-volatile (NV) memory
–
Configuration bad
Invalid non-volatile (NV) memory
–
No configuration established
RAM memory bad
– The RAM memory in the device was determined to be experiencing inoperative cells reserved
ROM/Flash Memory bad
Flash/EEPROM (NV) Memory Bad
Interconnect wiring error / signal path problem
Power problem
– Over current
Power problem
– Over voltage
Power problem
– Under voltage
Internal Sensor problem
System Clock Fault
Hardware configuration does not match NV configuration
Watchdog Disabled/Idle
Watchdog Timer Expired
Device over temperature
Ambient temperature outside of operating limits
TR-Electronic GmbH 2008, All Rights Reserved
Page 112 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parameterization
Continuation
General
Status Code
D1
D2
– EF
F0
– FF
Extended
Status Code
F0
– FE
01
02
03
04
05
06
07
08
0D
0E
0F
10
– EF
F0 - FE
00 - FF
00
FF
09
0A
0B
0C
FF
– FF
Name Description
Vendor specific Extended Codes
Used with all General Codes when required and no other Extended
Code is assigned
Device Status Events and
Conditions
Device
Status/States
Power Applied
Device RESET
Device Power Loss
Activated
Deactivated
Enter Self-Test State
Enter Standby State
Enter Operational State
Non-Specific Minor Recoverable
Fault Detected
Non-Specific Minor Unrecoverable
Fault Detected
Non-Specific Major Recoverable
Fault Detected
Non-Specific Major Unrecoverable
Fault Detected
Fault(s) corrected
CCV Changed reserved
Heartbeat Interval Changed
Vendor Specific Vendor Specific
Used with all General Codes when required and no other Extended
Code is assigned
Object Specific
General Codes
Reserved by CIP
– Not yet assigned reserved
Vendor Specific
General Codes
-
Vendor Specific
Extended
Codes
-
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 113 of 156
Parameterization
8.3 Object 0x02, Message Router
The Message Router Object provides a messaging connection point through which a Client may address a service to any object class or instance residing in the physical device.
8.3.1 Common Services
Service Code Service Name
0x01
0x0E
Get_Attributes_All
Get_Attribute_Single
Description
Returns the contents of all attributes. The order corresponds to the Attr.-ID. According to the data type the Low part is written first.
Returns the contents of the specified attribute.
8.3.2 Class Attributes
No. Access Name Data type Attribute Description Default
1 Get
2 Get
3 Get
4 Get
Revision
Max Instance UINT
Number of
Instances
Optional attribute list
UINT
UINT
STRUCT of:
UINT
Revision of this object
Maximum instance number of an object currently created in this class level of the device.
Number of object instances currently created at this class level of the device.
List of optional instance attributes utilized in an object class implementation.
Number of attributes in the optional attribute list.
0x00 01
0x00 01
0x00 01
0x02 00
5 -
6 Get
7 Get
Number of attributes
Optional attributes
-
Maximum
ID Number
Class
Attributes
Maximum ID
Number
Instance
Attributes
ARRAY of
UINT
-
UINT
UINT
List of optional attribute numbers. not implemented
The attribute ID number of the last class attribute of the class definition implemented in the device.
The attribute ID number of the last instance attribute of the class definition implemented in the device.
0x01 00,
0x02 00
0x00 00
0x00 07
0x00 02
Table 13: Message Router, Overview of the class attributes
TR-Electronic GmbH 2008, All Rights Reserved
Page 114 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.3.3 Instance 1, Attributes
Attr.-ID Access Name
Parameterization
0x01
0x02
Get
Get
Object_list
Number
Classes
Number
Available
Data type Description
STRUCT of:
A list of supported objects
Default
-
UINT
Number of supported classes in the classes array
0x00 09
ARRAY of
UINT
List of supported class codes
0x00 01, 0x00 02,
0x00 04, 0x00 06,
0x00 67, 0x00 F4,
0x00 F5, 0x00 F6,
0x00 23
UINT
Maximum number of connections supported
0x00 0A
Table 14: Message Router, Overview of the instance attributes
8.3.4 Behavior
The Message Router Object receives Explicit messages and performs the following functions:
● Interprets the Class Instance specified in a message.
Any Class Instance that cannot be interpreted by a device’s implementation of a
Message Router will report the Object_Not_Found error.
● Routes a service to the specified object
● Interprets services directed to it
● Routes a response to the correct service source
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 115 of 156
Parameterization
8.4 Object 0x04, Assembly
The Assembly Object returns the position value of the measuring system.
Only a static configuration is supported (Static Assembly). Therefore, the number of the instances and attributes are defined fix and can not be changed.
8.4.1 Common Services
Service Code Service Name Description
0x0E Get_Attribute_Single
Returns the contents of the specified attribute.
8.4.2 Class Attributes
No. Access Name
1 Get
2 Get
3 Get
4 Get
5 -
6 Get
7 Get
Revision
Max Instance UINT
Number of
Instances
Optional attribute list
Data type Attribute Description
UINT
UINT
STRUCT of:
UINT
Revision of this object
Maximum instance number of an object currently created in this class level of the device.
Number of object instances currently created at this class level of the device.
List of optional instance attributes utilized in an object class implementation.
Number of attributes in the optional attribute list.
Number of attributes
Optional attributes
-
Maximum
ID Number
Class
Attributes
Maximum ID
Number
Instance
Attributes
ARRAY of
UINT
-
UINT
UINT
List of optional attribute numbers. not implemented
The attribute ID number of the last class attribute of the class definition implemented in the device.
The attribute ID number of the last instance attribute of the class definition implemented in the device.
Default
0x00 02
0x00 67
0x00 04
0x00 01
0x00 04
-
0x00 07
0x00 04
Table 15: Assembly, Overview of the class attributes
TR-Electronic GmbH 2008, All Rights Reserved
Page 116 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.4.3 Instance, Attributes
Instance Attr.-ID Access NV Name
1
100
101
102
103
0x03
0x04
0x03
0x03
0x03
0x03
Get
Get
-
Get
Get
Get
Parameterization
NV
NV
-
NV
NV
NV
Position1
Size
Status +
Position1-2
Status +
Position1-3
Data type Description
ARRAY of
Byte
32 bit position value magnet 1
UINT
Heartbeat -
Status +
Position1
ARRAY of
Byte
ARRAY of
Byte
ARRAY of
Byte
Number of bytes in Attribute 3:
0x00 04
Heartbeat
32 bit Status +
32 bit position value magnet 1
32 bit Status +
32 bit position value magnet 1 +
32 bit position value magnet 2 +
32 bit Status +
32 bit position value magnet 1 +
32 bit position value magnet 2 +
32 bit position value magnet 3
Table 16: Assembly, Overview of the instance attributes
8.4.3.1 Attribute 0x03, Position 1
Position 1 (Instance 1) returns the measuring system position value of the first magnet.
Position 32 Bit, Magnet 1
Byte 0
2
7
up to 2
0
Byte 1
2
15
up to 2
8
Byte 2
2
23
up to 2
16
Connection path, Packed EPATH with 8 bit class
0x20 0x04 0x24 0x1
Logical Type
= Class
Class #4
Logical Type
= Instance
Instance #1
2
31
0x30
Logical Type
=Attr.-ID
Byte 3
up to 2
24
0x03
Attr.-ID #3
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 117 of 156
Parameterization
8.4.3.2 Attribute 0x03, Status + Position 1
Status + Position 1 (Instance 101) returns the measuring system status and position value of the first magnet.
Status 32 Bit
Byte 0
2
7
up to 2
0
Byte 1
2
15
up to 2
8
Byte 2
2
23
up to 2
16
Byte 3
2
31
up to 2
24
Position 32 Bit, Magnet 1
Byte 4
2
7
up to 2
0
Byte 5
2
15
up to 2
8
Byte 6
2
23
up to 2
16
Connection path, Packed EPATH with 8 bit class
0x20 0x04 0x24 0x65 0x30
2
31
Byte 7
up to 2
24
0x03
Logical Type
= Class
Class #4
Logical Type
= Instance
Instance
#101
Logical Type
=Attr.-ID
Attr.-ID #3
8.4.3.3 Attribute 0x03, Status + Position 1-2
Status + Position 1-2 (Instance 102) returns the measuring system status and position value of the first and second magnet.
2
7
Byte 0
up to 2
0
Status 32 Bit
Byte 1
2
15
up to 2
8
Byte 2
2
23
up to 2
16
2
31
Byte 3
up to 2
24
Byte 4
2
7
up to 2
0
Position 32 Bit, Magnet 1
Byte 5
2
15
up to 2
8
2
23
Byte 6
up to 2
16
Byte 7
2
31
up to 2
24
Position 32 Bit, Magnet 2
Byte 8
2
7
up to 2
0
Byte 9
2
15
up to 2
8
Byte 10
2
23
up to 2
16
Connection path, Packed EPATH with 8 bit class
0x20 0x04 0x24 0x66
Logical Type
= Class
Class #4
Logical Type
= Instance
Instance
#102
2
31
0x30
Logical Type
=Attr.-ID
Byte 11
up to 2
24
0x03
Attr.-ID #3
TR-Electronic GmbH 2008, All Rights Reserved
Page 118 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parameterization
8.4.3.4 Attribute 0x03, Status + Position 1-3
Status + Position 1-3 (Instance 103) returns the measuring system status and position value of the first, second and third magnet.
Status 32 Bit
Byte 0
2
7
up to 2
0
Byte 1
2
15
up to 2
8
Byte 2
2
23
up to 2
16
Byte 3
2
31
up to 2
24
Byte 4
2
7
up to 2
0
Position 32 Bit, Magnet 1
Byte 5
2
15
up to 2
8
2
23
Byte 6
up to 2
16
Byte 7
2
31
up to 2
24
Byte 8
2
7
up to 2
0
Position 32 Bit, Magnet 2
Byte 9
2
15
up to 2
8
2
23
Byte 10
up to 2
16
Byte 11
2
31
up to 2
24
Position 32 Bit, Magnet 3
Byte 12
2
7
up to 2
0
Byte 13
2
15
up to 2
8
Byte 14
2
23
up to 2
16
Connection path, Packed EPATH with 8 bit class
0x20 0x04 0x24 0x67 0x30
Byte 15
2
31
up to 2
24
0x03
Logical Type
= Class
Class #4
Logical Type
= Instance
Instance
#103
Logical Type
=Attr.-ID
Attr.-ID #3
8.4.4 Status
The status reports whether the magnet is located within the permissible measuring range. If the error "No magnet detected" is reported, either no magnet is installed, the magnet is located in the damping zone or the number of magnets configured does not agree with the real number. No analyzable measuring signal can be output by the measuring system within the damping zone.
0x00 00 00 00 = No error
0x00 00 00 01 = No magnet detected
8.4.5 Connection Points
Connection Points within the Assembly Object are identical to Instances. For example, Connection Point 4 of the Assembly Object is the same as Instance 4.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 119 of 156
Parameterization
8.5 Object 0x06, Connection Manager
The Connection Manager Object allocates and manages the internal resources associated with both I/O and Explicit Messaging Connections.
8.5.1 Common Services
Service Code Service Name Description
0x01
0x0E
Get_Attributes_All
Get_Attribute_Single
Returns the contents of all attributes.
The order corresponds to the Attr.-ID.
According to the data type the Low part is written first.
Returns the contents of the specified attribute.
8.5.2 Class Attributes
No. Access Name
1 Get
2 Get
3 Get
Revision
Max Instance UINT
Number of
Instances
Optional attribute list
Number of attributes
Data type Attribute Description
UINT
UINT
STRUCT of:
UINT
Revision of this object
Maximum instance number of an object currently created in this class level of the device.
Number of object instances currently created at this class level of the device.
List of optional instance attributes utilized in an object class implementation.
Number of attributes in the optional attribute list.
Default
0x00 01
0x00 01
0x00 01
0x00 08
4 Get
5 -
Optional attributes
ARRAY of
UINT
-
List of optional attribute numbers. not implemented
0x0001,
0x0002,
0x0003,
0x0004,
0x0005,
0x0006,
0x0007,
0x0008
-
6 Get
7 Get
-
Maximum
ID Number
Class
Attributes
Maximum ID
Number
Instance
Attributes
UINT
UINT
The attribute ID number of the last class attribute of the class definition implemented in the device.
The attribute ID number of the last instance attribute of the class definition implemented in the device.
0x00 07
0x00 08
Table 17: Connection Manager, Overview of the class attributes
TR-Electronic GmbH 2008, All Rights Reserved
Page 120 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.5.3 Instance 1, Attributes
Attr.-ID Access NV Name
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
Get
Get
Get
Get
Get
Get
Get
Get
V
V
V
V
V
V
V
V
Open
Requests
Open Format
Rejects
Open
Resource
Rejects
Open Other
Rejects
Close
Requests
Close Format
Rejects
Close Other
Requests
Connection
Timeouts
Parameterization
Data type Description
UINT
UINT
UINT
UINT
UINT
UINT
UINT
UINT
Number of Forward_Open service requests received.
Number of Forward_Open service requests which were rejected due to bad format.
Number of Forward_Open service requests which were rejected due to lack of resources.
Number of Forward_Open service requests which were rejected for reasons other than bad format or lack of resources.
Number of Forward_Close service requests received.
Number of Forward_Close service requests which were rejected due to bad format.
Number of Forward_Close service requests which were rejected for reasons other than bad format.
Total number of connection timeouts that have occurred in connections controlled by this
Connection Manager
Default
0x00 01
0x00 00
0x00 00
0x00 00
0x00 00
0x00 00
0x00 00
0x00 00
Table 18: Connection Manager, Overview of the instance attributes
8.5.4 Instance-specific Service Codes
The measuring system supports the following object specific services, which serve for connection establishment and/or connection termination of explicit messages:
Service Code Service Name Description
0x4E
0x52
0x54
Forward_Close
Unconnected_Send
Forward_Open
Closes a connection
Unconnected Send Service, for unconnected explicit messages.
Opens a connection, maximum data size is 511 bytes.
0x5B Large_Forward_Open
Opens a connection, maximum data size is 65535 bytes.
Usually, the indicated service codes are implemented by the control or a network configuration tool, in order to perform the demanded actions automated.
The network connection parameters required for the connection establishment/connection termination are defined in the EDS file and are interpreted by the network configuration tool correspondingly.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 121 of 156
Parameterization
8.6 Object 0x23, Position Sensor
The Position Sensor Object contains all measuring system specific attributes.
8.6.1 Common Services
Service Code Service Name Description
0x0E
0x10
Get_Attribute_Single
Set_Attribute_Single
Returns the contents of the specified attribute.
Modifies the contents of the specified attribute.
8.6.2 Class Attributes
No. Access Name
1 Get
2 Get
3 Get
Revision
Number of
Instances
Data type Attribute Description
UINT
Max Instance UINT
UINT
Revision of this object
Maximum instance number of an object currently created in this class level of the device.
Number of object instances currently created at this class level of the device.
Default
0x00 02
0x00 01
0x00 01
Table 19: Position Sensor, Overview of the class attributes
TR-Electronic GmbH 2008, All Rights Reserved
Page 122 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.6.3 Instance 1, Attributes
Attr.-ID Access NV Name
Parameterization
0x02
0x03
0x0B
0x0C
Get
Get
Get
Set
NV
NV
NV
V
Attribute List
Position Value
Unsigned
Position Sensor
Type
Direction
Counting Toggle
Data type Description
ARRAY
(USINT)
UDINT
List of attributes supported in the device (hex).
Position value,
Magnet 1
≙ Attr.-ID 0x64
-
Default
0x02, 0x03,
0x0B, 0x0C,
0x10, 0x64,
0x65, 0x66,
0x67, 0x68,
0x69, 0x6A,
0x6B, 0x6C,
0x6D, 0x6E,
0x6F, 0x70
UINT
BOOL
Specifies the device type
Counting direction of the position value
0x00 0A:
Absolute
Linear
Encoder
0: Counting direction increasing
Page
0x10 Set V
Measuring Units per Span
UDINT Resolution -
0x64
0x65
0x66
0x67
0x68
0x69
0x6A
0x6B
0x6C
0x6D
0x6E
0x6F
0x70
Get
Get
Get
Set
Set
Set
Set
Set
Set
Set
Set
Get
Set
NV
NV
NV
V
V
V
V
V
V
V
V
NV
V
Position Value1
Position Value2
Position Value3
Preset Value1
Preset Value2
Preset Value3
Preset 1
Release
Preset 2
Release
Preset 2
Release
Position Filter
Number of
Magnets
Position Status
Accept
Parameter
DINT
DINT
DINT
DINT
DINT
DINT
USINT
USINT
USINT
USINT
USINT
UDINT
USINT
Position value,
Magnet 1
Position value,
Magnet 2
Position value,
Magnet 3
Preset value,
Magnet 1
Preset value,
Magnet 2
Preset value,
Magnet 3
Preset release,
Magnet 1
Preset release,
Magnet 2
Preset release,
Magnet 3
Averaging of the position values
Number of used magnets
Status of the current position
Save parameters in nonvolatile memory
-
-
-
0x0000 0000
0x0000 0000
0x0000 0000
0x00
0x00
0x00
0x00
0x00
0x0000 0000
0
Table 20: Position Sensor, Overview of the instance attributes
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 123 of 156
Parameterization
8.6.3.1 Attribute 0x02, Attribute List
Attribute List return the supported attributes of the Position Sensor
Object (hex):
ARRAY (USINT), read only
Attr.-ID Name
0x02
0x03
0x0B
0x0C
0x10
0x64
0x65
0x66
0x67
Attribute List
Position Value Unsigned
Position Sensor Type
Direction Counting Toggle
Measuring Units per Span
Position Value1
Position Value2
Position Value3
Preset Value1
0x68
0x69
0x6A
0x6B
0x6C
0x6D
0x6E
0x6F
Preset Value2
Preset Value3
Preset 1 Release
Preset 2 Release
Preset 3 Release
Position Filter
Number of Magnets
Position Status
0x70 Accept Parameter
Connection path, Packed EPATH with 8 bit class
0x20 0x23 0x24 0x01
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
0x30
Logical Type
=Attr.-ID
0x02
Attr.-ID #2
TR-Electronic GmbH 2008, All Rights Reserved
Page 124 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.6.3.2 Attribute 0x0B, Position Sensor Type
The Position Sensor Type returns the device type:
UINT, read only
Parameterization
Value Definition
01
02
Absolute Single-Turn Encoder
Absolute Multi-Turn Encoder
04
06
08
Incremental Encoder
Incremental Linear Encoder
Absolute Linear Encoder
10 Multi-Sensor Encoder Interface
Connection path, Packed EPATH with 8 bit class
0x20 0x23 0x24 0x01 0x30 0x0B
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
Logical Type
=Attr.-ID
Attr.-ID #11
8.6.3.3 Attribute 0x0C, Direction Counting Toggle
Direction Counting Toggle sets the counting direction of the measuring system:
BOOL
Access Value Description Default
= 0 Position rising at rod end
X
Set/Get
= 1 Position falling at rod end
Connection path, Packed EPATH with 8 bit class
0x20 0x23 0x24 0x01 0x30 0x0C
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
Logical Type
=Attr.-ID
Attr.-ID #12
So that this attribute is saved permanently, 0x70 Accept Parameter must be performed.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 125 of 156
Parameterization
8.6.3.4 Attribute 0x10, Measuring Units per Span
Measuring Units per Span sets the resolution of the measuring system in
0.001µm steps. E.g. the input 5000 would set the resolution to 5µm.
The measuring range stored in the measuring system and the resolution adjusted here are used to define the Total number of steps across the entire measuring range.
Measuring length in steps
Measuring length
[
mm
]
resolution
[
mm
]
Attr.-ID
Data type
Access
Lower limit
Upper limit
0x10
UDINT
Set / Get
0
10 000 000 (
≙ 1 cm)
Default
0
Connection path, Packed EPATH with 8 bit class
0x20 0x23 0x24 0x01 0x30 0x10
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
Logical Type
=Attr.-ID
Attr.-ID #16
So that this attribute is saved permanently, 0x70 Accept Parameter must be performed.
8.6.3.5 Attribute 0x64-0x66, Position Value 1-3
Position Value returns the current position of each magnet as binary coded value:
DINT, read only
Position 32 Bit, Magnet x
Byte 0
2
7
up to 2
0
Byte 1
2
15
up to 2
8
Byte 2
2
23
up to 2
16
Connection path, Packed EPATH with 8 bit class
0x20 0x23 0x24 0x01
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
2
31
0x30
Logical Type
=Attr.-ID
Byte 3
up to 2
24
0x64-0x66
Attr.-ID
#100-102
TR-Electronic GmbH 2008, All Rights Reserved
Page 126 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parameterization
8.6.3.6 Attribute 0x67-0x69, Preset Value 1-3
Preset Value defines the position values for the preset function and is used to set the measuring system value of the supported channels to any position value within the measuring range. The preset function is executed using
Preset value, Magnet x
Byte 0
2
7
up to 2
0
Attr.-ID
Data type
2
15
0x67-0x69
DINT
Byte 1
up to 2
8
2
23
Byte 2
up to 2
16
Access
Lower limit
Upper limit
Set / Get
-2147483647
2147483647
Default
0
Connection path, Packed EPATH with 8 bit class
0x20 0x23 0x24 0x01
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
2
31
0x30
Logical Type
=Attr.-ID
Byte 3
up to 2
24
0x67-0x69
Attr.-ID
#103-105
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 127 of 156
Parameterization
8.6.3.7 Attribute 0x6A-0x6C, Preset 1-3 Release
Danger of physical injury and damage to property due to an actual value jump during execution of the preset adjustment function!
The preset adjustment function should only be executed when the measuring system is stationary, or the resulting actual value jump must be permitted by both the program and the application!
The preset function is used to set the measuring system value of the supported channels to any position value within the measuring range.
The output position value is set to the Preset Value parameter, if
1. the Preset release bit 2
7
= 1
2. and the positive edge of bit 2
0
is detected.
If the negative edge of the bit 2
0
is recognized, for the relevant magnet the Preset is cleared. The output position refers to the physical zero point.
The preset values will be defined in “Attribute 0x67-0x69, Preset Value 1-3”, see page 127.
Attr.-ID 0x6A-0x6C
Data type
Access
USINT
Set / Get
Lower limit
Upper limit
Function
0
255
0x81 --> 0x00: the Preset executed before will be cancelled
0x00 --
> 0x01: „old“ Preset value will be set
0xXX --> 0x80: invalid
0x00 --> 0x81: current Preset value will be set
Default
0
Connection path, Packed EPATH with 8 bit class
0x20 0x23 0x24 0x01
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
0x30
Logical Type
=Attr.-ID
0x6A-0x6C
Attr.-ID
#106-108
TR-Electronic GmbH 2008, All Rights Reserved
Page 128 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parameterization
8.6.3.8 Attribute 0x6D, Position Filter
With the Position_Filter the output position value can be averaged and results in a small output jitter.
Attr.-ID 0x6D
Data type
Access
Lower limit
Upper limit
USINT
Set / Get
0
255
Function
Default
0
Connection path, Packed EPATH with 8 bit class
0x20 0x23 0x24 0x01 0x30 0x6D
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
Logical Type
=Attr.-ID
Attr.-ID
#109
8.6.3.9 Attribute 0x6E, Number of Magnets
With this attribute the Number of Magnets is specified, with which the measuring system is to be operated. If the input does not agree with the operated number of
magnets, no position is output and in the “Attribute 0x6F, Position Status” page 130,
the error “No magnet detected” is reported.
Attr.-ID 0x6E
Data type
Access
Lower limit
Upper limit
1 = no averaging,
2 = averaging of 2 values,
4 = averaging of 4 values
8 = averaging of 8 values
USINT
Set / Get
0
255
Function
1 = 1 Magnet,
2 = 2 Magnets,
3 = 3 Magnets
Default
0
Connection path, Packed EPATH with 8 bit class
0x20 0x23 0x24 0x01
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
0x30
Logical Type
=Attr.-ID
0x6E
Attr.-ID
#110
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 129 of 156
Parameterization
8.6.3.10 Attribute 0x6F, Position Status
The Position Status reports whether the magnet is located within the permissible measuring range. If the error "No magnet detected" is reported, either no magnet is installed, the magnet is located in the damping zone or the number of magnets configured does not agree with the real number. No analyzable measuring signal can be output by the measuring system within the damping zone.
Attr.-ID 0x6F
Data type
Access
Lower limit
UDINT
Get
0
Upper limit
4294967295
Function
permanently.
Attr.-ID
0x00 00 00 00 = No error
0x00 00 00 01 = No magnet detected
Default
0
Connection path, Packed EPATH with 8 bit class
0x20 0x23 0x24 0x01 0x30 0x6F
Logical Type
= Class
Class #23
Logical Type
= Instance
Instance #1
Logical Type
=Attr.-ID
Attr.-ID
#111
8.6.3.11 Attribute 0x70, Accept Parameter
Accept Parameter saves the measuring system parameter into the non-volatile memory (EEPROM). With write access
≠ 0 all changed attributes are stored
0x70
USINT
Data type
Access
Lower limit
Set / Get
0
Upper limit
Logical Type
= Class
255
Default
0
Connection path, Packed EPATH with 8 bit class
0x20 0x23 0x24 0x01
Class #23
Logical Type
= Instance
Instance #1
0x30
Logical Type
=Attr.-ID
0x70
Attr.-ID #112
TR-Electronic GmbH 2008, All Rights Reserved
Page 130 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parameterization
8.7 Object 0xF4, Port
The Port Object enumerates the CIP ports present on the device. One instance exists for each CIP port.
8.7.1 Common Services
Service Code Service Name Description
0x01
0x0E
Get_Attributes_All
Get_Attribute_Single
Returns the contents of all attributes.
The order corresponds to the Attr.-ID.
According to the data type the Low part is written first.
Returns the contents of the specified attribute.
8.7.2 Class Attributes
No. Access Name
1 Get
2 Get
Revision
Data type Attribute Description
UINT
Max Instance UINT
Revision of this object
Maximum instance number of an object currently created in this class level of the device.
Default
0x00 01
0x00 02
3 Get
4 -
5 -
6 Get
7 Get
Number of
Instances
-
-
Maximum
ID Number
Class
Attributes
Maximum
ID Number
Instance
Attributes
UINT
-
-
UINT
UINT
Number of ports currently available. 0x00 02 not implemented not implemented
The attribute ID number of the last class attribute of the class definition implemented in the device.
The attribute ID number of the last instance attribute of the class definition implemented in the device.
-
-
0x00 09
0x00 07
8 Get Entry Port
Port Instance
Info
UINT
ARRAY of
STRUCT of:
Returns the instance of the Port
Object that describes the port through which this request entered the device.
Array of structures containing instance attributes 1 and 2 from each instance.
0x00 02
9 Get
Port Type UINT
Port Number UINT
Enumerates the type of port
CIP port number associated with this port see instance attribute #1 see instance attribute #2
Table 21: Port, Overview of the class attributes
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 131 of 156
Parameterization
8.7.3 Instance 1, Attributes
Attr.-ID Access NV Name
0x01
0x02
0x03
0x04
0x05
0x06
0x07
Get
Get
Get
Get
-
-
Get
NV
NV
NV
NV
-
-
NV
Port Type
Port Number
Link Object
Path Length
Link Path
Port Name
-
-
Node
Address
Data type Description
UINT
UINT
STRUCT of:
UINT
Padded
EPATH
SHORT_
STRING
-
-
Padded
EPATH
Enumerates the type of port
CIP port number associated with this port
Default
0x00 01: reserved
0x00 01
Allocation of a unique value to identify each communication port.
Number of 16 bit words in the following path
0x00 02
Logical path segments that identify the object for this port.
The path consists of one logical class segment and one logical instance segment:
0x20 64, 0x24 01
String which names the physical network port.
Node number of this device on port.
“Backplane” not implemented - not implemented -
0x00 10
Table 22: Port, Overview of the instance 1 attributes
TR-Electronic GmbH 2008, All Rights Reserved
Page 132 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.7.4 Instance 2, Attributes
Attr.-ID Access NV Name
0x01
0x02
0x03
0x04
0x05
0x06
0x07
Get
Get
Get
Get
-
-
Get
Parameterization
NV
NV
NV
NV
-
-
NV
Port Type
Port Number
Link Object
Path Length
Link Path
Port Name
-
-
Node
Address
Data type Description
UINT
UINT
STRUCT of:
UINT
Padded
EPATH
SHORT_
STRING
-
-
Padded
EPATH
Enumerates the type of port
CIP port number associated with this port
Default
0x00 04: EtherNet/IP
0x00 02
Allocation of a unique value to identify each communication port.
Number of 16 bit words in the following path
0x00 02
Logical path segments that identify the object for this port.
The path consists of one logical class segment and one logical instance segment:
0x20 F5, 0x24 01
(TCP/IP interface)
String which names the physical network port.
Node number of this device on port.
“Ethernet/IP Port” not implemented - not implemented -
0x00 10
Table 23: Port, Overview of the instance 2 attributes
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 133 of 156
Parameterization
8.8 Object 0xF5, TCP/IP Interface
The TCP/IP Interface Object provides the mechanism to configure the TCP/IP network interface and contains the device’s IP Address, Network Mask and Gateway
Address for example.
The measuring system supports exactly one instance of the TCP/IP Interface Object for each TCP/IP capable communications interface on the module.
8.8.1 Common Services
Service Code Service Name Description
0x01
0x0E
0x10
Get_Attributes_All
Get_Attribute_Single
Set_Attribute_Single
Returns the contents of all attributes.
The order corresponds to the Attr.-ID.
According to the data type the Low part is written first.
Returns the contents of the specified attribute.
Modifies the contents of the specified attribute.
8.8.2 Class Attributes
No. Access Name
1 Get
2 Get
3 Get
4 -
5 -
6 Get
7 Get
Revision
Max Instance UINT
Number of
Instances
Data type Attribute Description
UINT
UINT
-
-
Revision of this object
Maximum instance number of an object currently created in this class level of the device.
Number of object instances currently created at this class level of the device. not implemented not implemented
-
-
Maximum
ID Number
Class
Attributes
Maximum
ID Number
Instance
Attributes
UINT
UINT
The attribute ID number of the last class attribute of the class definition implemented in the device.
The attribute ID number of the last instance attribute of the class definition implemented in the device.
Default
0x00 01
0x00 01
0x00 01
-
-
0x00 07
0x00 06
Table 24: TCP/IP Interface, Overview of the class attributes
TR-Electronic GmbH 2008, All Rights Reserved
Page 134 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.8.3 Instance 1, Attributes
Attr.-ID Access Name
Parameterization
0x01
0x02
0x03
0x04
Get
Get
Set/Get
Get
Status
Configuration
Capability
Configuration
Control
Physical Link
Object
Path size
Path
Data type Description
DWORD
DWORD
DWORD
STRUCT of:
UINT
Padded
EPATH
Interface status
Interface capability flags, indicate the configuration options.
Interface control flags, the bits adjust the configuration possibilities.
Default
0x00 00 00 02
Device obtains IP parameter from
DHCP, if hardware switches =
0x00 or 0xFF
0x00 00 0014
Device corresponds to a
DHCP client, configuration can be changed.
0x00 00 00 02
Device obtains IP parameter from
DHCP, if hardware switches =
0x00 or 0xFF
Path to physical link object
Size of path, number of 16 bit words in path.
0x00 02
Logical segments identifying the physical link object.
The path is restricted to one logical class segment and one logical instance segment:
0x20 0xF6,
0x24 0x01
0x05
0x06
Set/Get
Get
Interface
Configuration
IP Address
Network Mask
STRUCT of:
UDINT
UDINT
TCP/IP network interface configuration.
The device’s IP address.
The device’s network mask.
Default gateway address.
Gateway
Address
Name Server
Name Server
UDINT
UDINT
UDINT not implemented not implemented
Domain Name STRING not implemented
Host Name STRING
The device’s host name.
Table 25: TCP/IP Interface, Overview of the instance attributes
FLASH contents
FLASH contents
FLASH contents
0x00 00 00 00
0x00 00 00 00
0
“TR_EIP_Encoder”
Page
-
-
-
-
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 135 of 156
Parameterization
8.8.3.1 Attribute 0x01, Status
The Status attribute is a bitmap and indicates the status of the TCP/IP network interface:
Bit Function Description
0-3
0:
The Interface Configuration attribute has not been configured.
Interface
Configuration Status
1:
2:
The Interface Configuration attribute contains valid configuration (DHCP, FLASH)
The Interface Configuration attribute contains valid configuration (hardware switches)
3-15: Reserved
4 Mcast Pending -
Indicates a pending configuration change in the
TTL Value and/or Mcast Config attributes. This bit is set when either the TTL Value or Mcast
Config attribute is set, and is cleared the next time the device starts.
5-31 Reserved 0 -
8.8.3.2 Attribute 0x02, Configuration Capability
The Configuration Capability attribute is a bitmap that indicates the device’s support for optional network configuration capability:
Bit Function Description
0 BOOTP Client
1 DNS Client
2 DHCP Client
3 DHCP-DNS Update
0 (FALSE): not supported
0 (FALSE): not supported
1 (TRUE): Device corresponds to a DHCP client
0 (FALSE): not supported
4 Configuration Settable 1 (TRUE): Device supports a variable configuration
5-31 Reserved 0
8.8.3.3 Attribute 0x03, Configuration Control
The Configuration Control attribute is a bitmap used to control network configuration options and determines how the device shall obtain its initial configuration at start up, see also
“Obtaining of the IP parameter” on page 138.
Bit Function Description
0-3 Startup Configuration
0:
Device uses the interface configuration values out of the FLASH or hardware switches.
1: not supported
2:
Device obtains its interface configuration values via DHCP upon start-up.
3-15: Reserved
0 (FALSE): not supported
0
4 DNS Enable
5-31 Reserved
TR-Electronic GmbH 2008, All Rights Reserved
Page 136 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parameterization
8.8.3.4 Attribute 0x04, Physical Link Object
This attribute identifies the object associated with the underlying physical communications interface. There are two components to the attribute:
● Path Size in UINTs
● Path
The Path contains a Logical Segment, type Class, and a Logical Segment, type
Instance that identifies the physical link object. The physical link object itself typically maintains link-specific counters as well as any link specific configuration attributes.
Because the CIP port associated with the TCP/IP Interface Object has an
Ethernet physical layer, this attribute points to an instance of the Ethernet Link
Object, class code = 0xF6.
Path Description
[20] [F6] [24] [01]
[20]: 8 Bit Class Segment Type
[F6]: Ethernet Link Object Class
[24]: 8 Bit Instance Segment Type
[01]: Instance 1
8.8.3.5 Attribute 0x05, Interface Configuration
The Interface Configuration attribute contains the configuration parameters required to operate the measuring system as a TCP/IP node. In order to prevent incomplete or incompatible configuration, the parameters making up the Interface
Configuration attribute cannot be set individually. To modify the Interface
Configuration attribute, the user should first Get the Interface Configuration
Attribute, change the desired parameters then set the attribute.
Name Description
IP address
Network mask
Gateway address
Name server
Name server 2
Domain name
Sets the device’s IP address
Sets the device’s Subnet mask
Sets the device’s default Gateway
0, not supported
0, not supported
0, not supported
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 137 of 156
Parameterization
8.8.3.5.1 Obtaining of the IP parameter
In the start-up phase of the measuring system the stored configuration from attribute
0x05, the stored value from attribute 0x03 Configuration Control (page 136)
and the value of the hardware switches (page 96) is read and is evaluated as follows:
Config. Control Switch Action Description
0x00
0x00
0x02
0x02 other
0x00 or 0xFF other
0x00 or 0xFF other
-
FLASH active
Switch active
DHCP request
Switch active none
Configuration is obtained from the FLASH.
IP address: 192.168.1.<Switch position>
Subnet mask: 255.255.255.0
Default Gateway: 192.168.1.254
Configuration is obtained from a DHCP server. The DHCP requests are only stopped if a response was received.
IP address: 192.168.1.<Switch position>
Subnet mask: 255.255.255.0
Default Gateway: 192.168.1.254
Prohibited!
Request is answered with error code
0x20.
Flowchart
TR-Electronic GmbH 2008, All Rights Reserved
Page 138 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Parameterization
8.8.3.5.2 Set and store the IP parameter
Setting and storage of the IP parameter can be made in two ways by means of the
TCP/IP Interface Object, Class code 0xF5:
1. If the Set_Attribute_Single service is applied to attribute 0x05 the contents of the Interface Configuration will be set as new IP parameter. If the value of the attribute 0x03 Configuration Control =
0x00 when this action is performed, the configuration is stored permanently in the FLASH memory.
2. If the value of attribute 0x03 Configuration Control = 0x02 and the measuring system has obtained a configuration via DHCP, the IP parameters are saved only temporarily. If then the value is set to 0x00 in the
Configuration Control, the current configuration is stored in the FLASH memory permanently.
Flowcharts
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 139 of 156
Parameterization
8.9 Object 0xF6, Ethernet Link
The Ethernet Link Object maintains link-specific counters and status information for an Ethernet 802.3 communications interface. The measuring system supports exactly one instance of the Ethernet Link Object for each Ethernet
IEEE 802.3 communications interface on the module.
8.9.1 Common Services
Service Code Service Name Description
0x01
0x0E
Get_Attributes_All
Get_Attribute_Single
Returns the contents of all attributes.
The order corresponds to the Attr.-ID.
According to the data type the Low part is written first.
Returns the contents of the specified attribute.
8.9.2 Class Attributes
Nr. Access
1 Get
2
3
4
5
6
7
Get
Get
-
-
Get
Get
Name
Revision
Data type Attribute Description
UINT
Max Instance UINT
Number of
Instances
-
-
Maximum
ID Number
Class
Attributes
Maximum
ID Number
Instance
Attributes
UINT
-
-
UINT
UINT
Revision of this object
Maximum instance number of an object currently created in this class level of the device.
Number of object instances currently created at this class level of the device. not implemented not implemented
The attribute ID number of the last class attribute of the class definition implemented in the device.
The attribute ID number of the last instance attribute of the class definition implemented in the device.
Default
0x00 02
0x00 01
0x00 01
-
-
0x00 07
0x00 03
Table 26: Ethernet Link, Overview of the class attributes
TR-Electronic GmbH 2008, All Rights Reserved
Page 140 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
8.9.3 Instance 1, Attributes
Attr.-ID Access Name
0x01
0x02
0x03
Get
Get
Get
Data type Description
Interface Speed UDINT
Interface Flags
Physical
Address
DWORD
ARRAY of
6 USINTs
Interface speed currently in use [MBit/s]
Interface status flags, see below
MAC Layer Address
(HEX),
Parameterization
Default
0x00 00 00 64
0x00 00 00 0F
Device dependent e.g.:
00 03 12 07 00 0D
Table 27: Ethernet Link, Overview of the instance attributes
8.9.3.1 Attribute 0x02, Interface Flags
The Interface Flags attribute contains status and configuration information about the physical interface and is defined as follows:
Bit Function Description
0
1
Link Status
Half/Full Duplex
2-4 Negotiation Status
5
6
Manual Setting
Requires Reset
Local Hardware
Fault
0: Indicates an inactive link
1:
Indicates an active link
see also Bus status display, page 97
0: Half Duplex active
1: Full Duplex active
0: Auto-negotiation in progress
1:
Auto-negotiation and speed detection failed. Using default values for speed and duplex.
2:
Auto negotiation failed but detected speed. Duplex was defaulted.
3: Successfully negotiated speed and duplex.
4:
0:
1:
0:
Auto-negotiation not attempted. Forced speed and duplex.
Indicates the interface can activate changes to link parameters (auto-negotiate, duplex mode, interface speed) automatically.
Indicates the device requires a Reset service be issued to its Identity Object in order for the changes to take effect.
Indicates the interface detects no local hardware fault
1: Indicates a local hardware fault is detected
0 - 7-31 Reserved
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 141 of 156
Connection type
9 Connection type
The connection type defines the mode of connection between control system
(Originator) and the measuring system (Target).
In this case, the data stream is distinguished:
● O -> T: Data packets from Originator to Target
● T -> O: Data packets from Target to Originator
The measuring system supports the following connection types:
1. Exclusive Owner
Exclusive Owner specifies an independent connection where a single device controls the output states in the target device. If already an Exclusive Owner connection to a target device is present, it is not possible to specify another
Exclusive Owner connection to that same target device.
2. Input Only
Input Only specifies an independent connection where a device receives inputs from the target device and sends configuration data to the network. An Input
Only connection does not send outputs; it only receives inputs. It is possible to specify multiple Input Only connections to the target device from different originators.
3. Listen Only
Listen Only specifies a dependent connection where a device receives inputs from the target device, but does not send configuration data with the network. A
Listen Only connection only functions properly when another NON-Listen
Only connection exists to the same target device. A Listen Only connection does not send outputs; it only receives inputs. It is possible to specify multiple
Listen Only connections to the target device from different originators.
O -> T
Connection Point [dec.] Size [Byte] Description
0
0
0
Exclusive Owner
Input Only
Listen Only
100
254
255
T -> O
Connection Point [dez.]
1
100
101
102
103
Size [Byte]
4
0
8
12
16
Description
Position data, magnet 1
Heartbeat
Status+Position data magnet 1
Status+Position data magnet 1-2
Status+Position data magnet 1-3
TR-Electronic GmbH 2008, All Rights Reserved
Page 142 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Commissioning - Support
10 Commissioning - Support
10.1 IP configuration via DHCP server
10.1.1 Prerequisite
● DHCP server utility from Rockwell Automation (free of charge):
– Program name: BOOTP/DHCP Server Utility
– Download: http://www.ab.com/networks/bootp.html
– If the Rockwell control system "Logix" is used, the BOOTP/DHCP server utility is a component of the control software.
● The program is suitable for the installation on a PC with WINDOWS
®
operating system. DHCP server and measuring system must be located in the same network segment.
10.1.2 Procedure
1. Connect the measuring system with the DHCP server
Make sure that the measuring system works as DHCP client:
– Hardware switches = 0x00 or 0xFF
– Instance Attribute 0x03 Configuration Control = 0x00 00 00 02 -->
Default adjustment!
2. Start the BOOTP/DHCP Server Utility
3. The Network Settings dialog under menu Tools --> Network Settings allows you to enter the following information for an address relation:
Subnet Mask: Enter desired subnet mask
Gateway: Enter desired IP address of the Default Gateway
Primary DNS, Secondary DNS, Domain Name: not supported
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 143 of 156
Commissioning - Support
4. Switch on the supply voltage
– The measuring system starts with DHCP requests, which are registered into the Request History with the corresponding MAC address:
5. Double click one of the entries:
● The New Entry dialog allows you to enter all of the parameters required for an address relation:
Ethernet Address (MAC): is entered automatically!
IP Address: Enter desired IP address
Hostname: not supported
Description: optional
TR-Electronic GmbH 2008, All Rights Reserved
Page 144 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Commissioning - Support
The new entry is indicated in the Relation List. The predefined IP parameters are assigned to the measuring system with the next DHCP request. The result of this assignment is registered into the Request History:
6. Store IP parameters into the FLASH about the button Disable BOOTP/DHCP.
– This command is confirmed with the status report (Disable DHCP)
Command successful, for this reason the configuration is complete.
– With Disable BOOTP/DHCP the Instance Attribute 0x03 Configuration
Control is set to 0x00 00 00 00 --> after POWER ON the measuring system executes no DHCP requests.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 145 of 156
Commissioning - Support
10.2 IP configuration with TRWinProg, FLASH storage
If it is not possible to configure the IP parameter by means of a DCHP server, the IP configuration can also be performed about the TR program TRWinProg. The parameters are stored permanently in the FLASH memory.
10.2.1 Connection to the PC (Programming)
What will be needed by TR-Electronic?
Switch cabinet module Order-No.: 490-00101
Programming set Order-No.: 490-00310:
● Plastic case, with the following components:
– USB PC adapter V4
Conversion USB <--> RS485
– USB cable 1.00 m
Connection cable between
PC adapter and PC
– Flat ribbon cable 1.30 m
Connection cable between
PC adapter and TR switch cabinet module
(15-pol. SUB-D female/male)
– Plug Power Supply Unit 24 V DC, 1A
The connected device can be supplied via the PC adapter
– Software- and Support-DVD
- USB driver, Soft-No.: 490-00421
- TRWinProg, Soft-No.: 490-00416
- EPROGW32, Soft-No.: 490-00418
- LTProg, Soft-No.: 490-00415
– Installation Guide
TR-E-TI-DGB-0074, German/English
TR-Electronic GmbH 2008, All Rights Reserved
Page 146 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Commissioning - Support
10.2.2 Programming
If the measuring system is connected correctly with the PC, about the menu
Device --> Online the device can be switched into the online mode. Hereupon, the measuring system replies with the adjustable parameters. In the tab Device data the desired IP parameters can be adjusted. The storage of the IP parameters can be performed about menu Device --> Data write to device.
The IP parameters must be entered as HEX values.
Example:
IP address 192.168.1.2 = 0xC0 A8 01 02
The item ConfigControl (F5/3) accesses directly the TCP/IP Interface
Object 0xF5, attribute 3 Configuration Control. So it is not necessary to set these control bits manually before.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 147 of 156
Commissioning - Support
10.3 Read/Write of attributes with Rockwell Control
“RSLogix5000”
For the following project example the Rockwell Control System “RSLogix5000” V16 was used, with
“ControlLogix Controller 1756-L55”.
It is assumed that the hardware configuration has already taken place, an EtherNet/IP project exists and you should be able to create variables to store receive data.
10.3.1 Procedure
1. Create a new module under the folder structure I/O Configuration and choose the entry ETHERNET-MODULE Generic Ethernet Module.
2. Perform the following adjustments in the Module Properties dialog box:
● Comm Format: Input Data - DINT
● Input: 101, Size: 2, corresponds attribute Status + Position 1 of the
Assembly Object
● Output: 100, corresponds attribute Heartbeat of the Assembly Object
● Configuration: 1, Size: 0, not supported
● IP Address: active IP address of the measuring system
Under the folder structure I/O Configuration --> Ethernet the module created newly is displayed with the stored name.
TR-Electronic GmbH 2008, All Rights Reserved
Page 148 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Commissioning - Support
3. Create a new Controller Tag under the folder structure Controller Tags and perform the following adjustments:
● Type: Base
● Data_Type: Message
● Scope: choose the created project name
4. Create a new Message Control under the folder structure Tasks -->
MainRoutine in the tab Input/Output --> MSG. Bind the MSG-Control with the
Controller Tag created above.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 149 of 156
Commissioning - Support
5. Configure the message in the Message Configuration dialog box -->
Configuration tab as follows. Following example reads the position value, attribute
0x64 Position Value 1, from the Position Sensor Object 0x23:
● Message_Type: CIP Generic
● Service Type: desired service, here e.g. Get Attribute Single to read a single attribute.
● Service Code: 0x0E is the code for the Get Attribute Single service
● Instance: 1 = Position Sensor Object instance
● Class: 23 = Position Sensor Object
● Attribute: 64 = Position value of the first magnet
● Destination: created variable for the receive data
6. Bind the configured message with the created module in the Message
Configuration dialog box --> Communication tab:
TR-Electronic GmbH 2008, All Rights Reserved
Page 150 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Causes of faults and remedies
11 Causes of faults and remedies
11.1 Optical displays
LED allocatio
n see chapter “Bus status display” on page 97.
Link LED Cause Remedy
OFF
Voltage supply absent or too low
- Check voltage supply, wiring
- Is the voltage supply in the permissible range?
Check Ethernet cable No Ethernet connection
Hardware error, measuring system defective
Replace measuring system
FLASHING
Measuring system ready for operation, Ethernet connection established, data transfer active.
-
ON
Measuring system ready for operation, Ethernet connection established, no data transfer.
Status LED Cause
OFF
1 Hz
Not powered or no IP address obtained
No connections established, but an IP address was obtained.
-
Remedy
- Check voltage supply, wiring
- Is the voltage supply in the permissible range?
- Use one of the possibilities, in order to obtain the IP address:
Configuration via hardware switches, see page 96
Configuration via FLASH, see page 136
Configuration via DHCP, see page 136
- Try to read the status of the Identity Object to restrict the error possibilities.
- Control could not establish a connection due to faulty IP parameters. Check IP address, Subnet mask and
Default Gateway adjustments between control and measuring system.
- Control could not establish a connection due to faulty link parameters. Check control adjustments regarding to
Class code, Instance and Attribute-ID (Connection Point,
Object 0x04 Assembly).
ON Connected Measuring system in operation, normal operating state
–
1 Hz green/red Self-test, while power up.
Error LED Cause Remedy
1 Hz
One or more of the connections in which the device is the target has timed out.
This state is left only if all timed out connections are reestablished or if the device is RESET.
ON
The device has detected that its
IP address is already in use.
Guarantee that the IP address is only once assigned within an EtherNet/IP segment.
1 Hz green/red Self-test, while power up.
–
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 151 of 156
Causes of faults and remedies
11.2 General Status Codes
The following table lists the Status Codes that may be present in the General
Status Code field of an Error Response message. The extended status code is object specific and is defined under the respective object if the object supports further extended status codes.
HEX notation
General
Status Code
Name Description
00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
10
Success
Connection failure
Resource unavailable
Service was successfully performed by the object specified.
A connection related service failed along the connection path.
Resources needed for the object to perform the requested service were unavailable.
Invalid parameter value
Path destination unknown
See Status Code 0x20, which is the preferred value to use for this condition.
Path segment error
The path segment identifier or the segment syntax was not understood by the processing node.
The path is referencing an object class, instance or structure element that is not known or is not contained in the processing node.
Partial transfer
Connection lost
Service not supported
Invalid attribute value
Only part of the expected data was transferred.
The messaging connection was lost.
The requested service was not implemented or was not defined for this Object Class/Instance.
Invalid attribute data detected.
Attribute list error
An attribute in the Get_Attribute_List or
Set_Attribute_List response has a nonzero status.
Already in requested mode/state
Object state conflict
Object already exists
The object is already in the mode/state being requested by the service.
The object cannot perform the requested service in its current mode/state.
The requested instance of object to be created already exists.
Attribute not settable
A request to modify a non-modifiable attribute was received.
Privilege violation A permission/privilege check failed.
Device state conflict
The device’s current mode/state prohibits the execution of the requested service.
TR-Electronic GmbH 2008, All Rights Reserved
Page 152 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Causes of faults and remedies
Continuation
General
Status Code
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D
1E
1F
20
21
Name Description
Reply data too large
Fragmentation of a primitive value
Not enough data
Attribute not supported
Too much data
The data to be transmitted in the response buffer is larger than the allocated response buffer.
The service specified an operation that is going to fragment a primitive data value, i.e. half a REAL data type.
The service did not supply enough data to perform the specified operation.
The attribute specified in the request is not supported.
The service supplied more data than was expected.
Object does not exist
Service fragmentation sequence not in progress
No stored attribute data
Store operation failure
Routing failure, request packet too large
Routing failure, response packet too large
Missing attribute list entry data
Invalid attribute value list
The object specified does not exist in the device.
The fragmentation sequence for this service is not currently active for this data.
The attribute data of this object was not saved prior to the requested service.
The attribute data of this object was not saved due to a failure during the attempt.
The service request packet was too large for transmission on a network in the path to the destination. The routing device was forced to abort the service.
The service response packet was too large for transmission on a network in the path from the destination. The routing device was forced to abort the service.
The service did not supply an attribute in a list of attributes that was needed by the service to perform the requested behavior.
The service is returning the list of attributes supplied with status information for those attributes that were invalid.
Embedded service error
Vendor specific error
An embedded service resulted in an error.
-
Invalid parameter
A parameter associated with the request was invalid. This code is used when a parameter does not meet the requirements of the ODVA specification and/or the requirements defined in an Application Object Specification.
Write-once value or medium already written
An attempt was made to write to a write-once medium (e.g. WORM drive, PROM) that has already been written, or to modify a value that cannot be changed once established.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 153 of 156
Causes of faults and remedies
Continuation
General
Status Code
22
23
24
25
26
27
28
29
Name Description
Invalid Reply
Received
Buffer Overflow
Message Format
Error
Key Failure in path
Path Size Invalid
Unexpected attribute in list
Invalid Member ID
Member not settable
An invalid reply is received (e.g. reply service code does not match the request service code, or reply message is shorter than the minimum expected reply size).
The message received is larger than the receiving buffer can handle. The entire message was discarded.
The format of the received message is not supported by the server.
The Key Segment that was included as the first segment in the path does not match the destination module. The object specific status indicates which part of the key check failed.
The size of the path which was sent with the
Service Request is either not large enough to allow the Request to be routed to an object or too much routing data was included.
An attempt was made to set an attribute that is not able to be set at this time.
The Member ID specified in the request does not exist in the specified Class/Instance/Attribute.
A request to modify a non-modifiable member was received.
TR-Electronic GmbH 2008, All Rights Reserved
Page 154 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
Causes of faults and remedies
11.3 Position Status
Additionally to the current position by means of bit 2
0
of the status register it is reported whether the magnets are in the permissible range.
See also:
● I/O Assembly Data Attribute Format, page 103
● Object 0x04, Assembly, page 116
● Attribute 0x6F, Position Status, page 130
Bit
Failure Cause Remedy
Measuring system has detected no magnet.
Slide magnet into the permissible measuring range.
0 Bit 0 = 1
The number of magnets defined in
operated number of magnets.
Verify the programmed number of magnets under
“Object 0x23, Position Sensor” with the operated
number.
11.4 Other faults
Fault Cause
Position skips of the measuring system
Strong vibrations
Electrical faults
EMC
Remedy
Vibrations, impacts and shocks, e.g. on presses, are dampened with "shock modules". If the error recurs despite these measures, the measuring system must be replaced.
Perhaps isolated flanges and couplings made of plastic help against electrical faults, as well as cables with twisted pair wires for data and supply. Shielding and wire routing must be performed according to the specification.
Printed in the Federal Republic of Germany
03/14/2013 TR - ELA - BA - DGB - 0009 - 03
TR-Electronic GmbH 2008, All Rights Reserved
Page 155 of 156
Appendix
12 Appendix
12.1 Elementary Data types
Data types Code Description
BOOL
SINT
INT
DINT
LINT
USINT
UINT
UDINT
ULINT
REAL
LREAL
STRING
BYTE
WORD
DWORD
LWORD
0xC1 Logical Boolean with values TRUE and FALSE
0xC2 Signed 8 Bit Integer
0xC3 Signed 16 Bit Integer
0xC4 Signed 32 Bit Integer
0xC5 Signed 64 Bit Integer
0xC6 Unsigned 8 Bit Integer
0xC7 Unsigned 16 Bit Integer
0xC8 Unsigned 32Bit Integer
0xC9 Unsigned 64 Bit Integer
0xCA 32 Bit Floating Point
0xCB 64 Bit Floating Point
0xD0 Character String, 1 Byte/Character
0xD1 Bit String, 8 Bit
0xD2 Bit String, 16 Bit
0xD3 Bit String, 32 Bit
0xD4 Bit String, 64 Bit
SHORT_STRING 0xDA Character String, 1 Byte/Character, 1 Byte length indicator
EPATH 0xDC CIP Path Segment
STRINGI 0xDE International Character String
TR-Electronic GmbH 2008, All Rights Reserved
Page 156 of 156 TR - ELA - BA - DGB - 0009 - 03
Printed in the Federal Republic of Germany
03/14/2013
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 3 Inhaltsverzeichnis
- 6 Änderungs-Index
- 7 1 Allgemeines
- 7 1.1 Geltungsbereich
- 8 1.2 Referenzen
- 9 1.3 Verwendete Abkürzungen / Begriffe
- 10 2 Zusätzliche Sicherheitshinweise
- 10 2.1 Symbol- und Hinweis-Definition
- 10 2.2 Ergänzende Hinweise zur bestimmungsgemäßen Verwendung
- 11 2.3 Organisatorische Maßnahmen
- 12 3 Technische Daten
- 12 3.1 Elektrische Kenndaten
- 13 4 EtherNet/IP Informationen
- 13 4.1 Allgemeines
- 14 4.2 EtherNet/IP Übertragungsarten
- 14 4.2.1 Explicit Messaging, Austausch von Informationen
- 14 4.2.2 Implicit Messaging, Austausch von I/O-Daten
- 15 4.3 EtherNet/IP Geräteprofile
- 15 4.4 Vendor ID
- 15 4.5 Weitere Informationen
- 16 5 Installation / Inbetriebnahmevorbereitung
- 17 5.1 Anschluss
- 18 5.2 Node-Adresse (Host-ID)
- 19 6 Inbetriebnahme
- 19 6.1 EDS-Datei
- 19 6.2 Bus-Statusanzeige
- 19 6.2.1 Link / Data Activity LED
- 20 6.2.2 Network-Status LED
- 20 6.2.3 Error LED
- 21 6.3 Netzwerkkonfiguration
- 21 6.3.1 MAC-Adresse
- 21 6.3.2 IP-Adresse
- 21 6.3.3 Subnetzmaske
- 22 6.3.4 Zusammenhang IP-Adresse und Default-Subnetzmaske
- 22 6.3.5 Default Gateway
- 23 7 Objekt-Modell
- 24 7.1 Objekt-Modell, Encoder Device
- 24 7.1.1 Classes
- 25 7.1.2 I/O Assembly Instances
- 25 7.1.3 I/O Assembly Data Attribute Format
- 26 7.1.3.1 Status
- 27 8 Parametrierung
- 28 8.1 Klassen-Übersicht
- 29 8.2 Object 0x01, Identity
- 29 8.2.1 Gemeinsame Services
- 29 8.2.2 Class Attributes
- 30 8.2.3 Instance 1, Attributes
- 31 8.2.3.1 Attribute 0x05, Status
- 32 8.2.4 Behavior
- 34 8.2.5 Objekt-spezifische Status Codes
- 36 8.3 Object 0x02, Message Router
- 36 8.3.1 Gemeinsame Services
- 36 8.3.2 Class Attributes
- 37 8.3.3 Instance 1, Attributes
- 37 8.3.4 Behavior
- 38 8.4 Object 0x04, Assembly
- 38 8.4.1 Gemeinsame Services
- 38 8.4.2 Class Attributes
- 39 8.4.3 Instance, Attributes
- 39 8.4.3.1 Attribute 0x03, Position
- 40 8.4.3.2 Attribute 0x03, Status + Position
- 40 8.4.3.3 Attribute 0x03, Status + Position
- 41 8.4.3.4 Attribute 0x03, Status + Position
- 41 8.4.4 Status
- 41 8.4.5 Connection Points
- 42 8.5 Object 0x06, Connection Manager
- 42 8.5.1 Gemeinsame Services
- 42 8.5.2 Class Attributes
- 43 8.5.3 Instance 1, Attributes
- 43 8.5.4 Instanz-spezifische Service Codes
- 44 8.6 Object 0x23, Position Sensor
- 44 8.6.1 Gemeinsame Services
- 44 8.6.2 Class Attributes
- 45 8.6.3 Instance 1, Attributes
- 46 8.6.3.1 Attribute 0x02, Attribute List
- 47 8.6.3.2 Attribute 0x0B, Position Sensor Type
- 47 8.6.3.3 Attribute 0x0C, Direction Counting Toggle
- 48 8.6.3.4 Attribute 0x10, Measuring Units per Span
- 48 8.6.3.5 Attribute 0x64-0x66, Position Value
- 49 8.6.3.6 Attribute 0x67-0x69, Preset Value
- 50 8.6.3.7 Attribute 0x6A-0x6C, Preset 1-3 Release
- 51 8.6.3.8 Attribute 0x6D, Position Filter
- 51 8.6.3.9 Attribute 0x6E, Number of Magnets
- 52 8.6.3.10 Attribute 0x6F, Position Status
- 52 8.6.3.11 Attribute 0x70, Accept Parameter
- 53 8.7 Object 0xF4, Port
- 53 8.7.1 Gemeinsame Services
- 53 8.7.2 Class Attributes
- 54 8.7.3 Instance 1, Attributes
- 55 8.7.4 Instance 2, Attributes
- 56 8.8 Object 0xF5, TCP/IP Interface
- 56 8.8.1 Gemeinsame Services
- 56 8.8.2 Class Attributes
- 57 8.8.3 Instance 1, Attributes
- 58 8.8.3.1 Attribute 0x01, Status
- 58 8.8.3.2 Attribute 0x02, Configuration Capability
- 58 8.8.3.3 Attribute 0x03, Configuration Control
- 59 8.8.3.4 Attribute 0x04, Physical Link Object
- 59 8.8.3.5 Attribute 0x05, Interface Configuration
- 60 8.8.3.5.1 IP-Parameter beziehen
- 61 8.8.3.5.2 IP-Parameter setzen und speichern
- 62 8.9 Object 0xF6, Ethernet Link
- 62 8.9.1 Gemeinsame Services
- 62 8.9.2 Class Attributes
- 63 8.9.3 Instance 1, Attributes
- 63 8.9.3.1 Attribute 0x02, Interface Flags
- 64 9 Verbindungstypen
- 65 10 Inbetriebnahme-Hilfen
- 65 10.1 IP-Parameter über DHCP-Server beziehen
- 65 10.1.1 Voraussetzungen
- 65 10.1.2 Vorgehensweise
- 68 10.2 IP-Parameter über TRWinProg programmieren und im FLASH speichern
- 68 10.2.1 Anbindung an den PC (Programmierung)
- 69 10.2.2 Programmierung
- 70 10.3 Lesen/Schreiben von Attributen über Rockwell Steuerung „RSLogix
- 70 10.3.1 Vorgehensweise
- 73 11 Fehlerursachen und Abhilfen
- 73 11.1 Optische Anzeigen
- 74 11.2 Allgemeine Status Codes
- 77 11.3 Positions-Status
- 77 11.4 Sonstige Störungen
- 78 12 Anhang
- 78 12.1 Elementare Datentypen
- 81 Contents
- 84 Revision index
- 85 1 General information
- 85 1.1 Applicability
- 86 1.2 References
- 87 1.3 Abbreviations used / Terminology
- 88 2 Additional safety instructions
- 88 2.1 Definition of symbols and instructions
- 88 2.2 Additional instructions for proper use
- 89 2.3 Organizational measures
- 90 3 Technical data
- 90 3.1 Electrical characteristics
- 91 4 EtherNet/IP information
- 91 4.1 General
- 92 4.2 EtherNet/IP transmission types
- 92 4.2.1 Explicit Messaging, exchange of information’s
- 92 4.2.2 Implicit Messaging, exchange of I/O data
- 93 4.3 EtherNet/IP Device Profiles
- 93 4.4 Vendor ID
- 93 4.5 Further information’s
- 94 5 Installation / Preparation for start-up
- 95 5.1 Connection
- 96 5.2 Node address (Host-ID)
- 97 6 Commissioning
- 97 6.1 EDS file
- 97 6.2 Bus status display
- 97 6.2.1 Link / Data Activity LED
- 98 6.2.2 Network Status LED
- 98 6.2.3 Error LED
- 99 6.3 Network configuration
- 99 6.3.1 MAC-Address
- 99 6.3.2 IP-Address
- 99 6.3.3 Subnet mask
- 100 6.3.4 Combination IP-Address and Default Subnet mask
- 100 6.3.5 Default Gateway
- 101 7 Object Model
- 102 7.1 Object Model, Encoder Device
- 102 7.1.1 Classes
- 103 7.1.2 I/O Assembly Instances
- 103 7.1.3 I/O Assembly Data Attribute Format
- 104 7.1.3.1 Status
- 105 8 Parameterization
- 106 8.1 Overview of available classes
- 107 8.2 Object 0x01, Identity
- 107 8.2.1 Common Services
- 107 8.2.2 Class Attributes
- 108 8.2.3 Instance 1, Attributes
- 109 8.2.3.1 Attribute 0x05, Status
- 110 8.2.4 Behavior
- 112 8.2.5 Object-specific Status Codes
- 114 8.3 Object 0x02, Message Router
- 114 8.3.1 Common Services
- 114 8.3.2 Class Attributes
- 115 8.3.3 Instance 1, Attributes
- 115 8.3.4 Behavior
- 116 8.4 Object 0x04, Assembly
- 116 8.4.1 Common Services
- 116 8.4.2 Class Attributes
- 117 8.4.3 Instance, Attributes
- 117 8.4.3.1 Attribute 0x03, Position
- 118 8.4.3.2 Attribute 0x03, Status + Position
- 118 8.4.3.3 Attribute 0x03, Status + Position
- 119 8.4.3.4 Attribute 0x03, Status + Position
- 119 8.4.4 Status
- 119 8.4.5 Connection Points
- 120 8.5 Object 0x06, Connection Manager
- 120 8.5.1 Common Services
- 120 8.5.2 Class Attributes
- 121 8.5.3 Instance 1, Attributes
- 121 8.5.4 Instance-specific Service Codes
- 122 8.6 Object 0x23, Position Sensor
- 122 8.6.1 Common Services
- 122 8.6.2 Class Attributes
- 123 8.6.3 Instance 1, Attributes
- 124 8.6.3.1 Attribute 0x02, Attribute List
- 125 8.6.3.2 Attribute 0x0B, Position Sensor Type
- 125 8.6.3.3 Attribute 0x0C, Direction Counting Toggle
- 126 8.6.3.4 Attribute 0x10, Measuring Units per Span
- 126 8.6.3.5 Attribute 0x64-0x66, Position Value
- 127 8.6.3.6 Attribute 0x67-0x69, Preset Value
- 128 8.6.3.7 Attribute 0x6A-0x6C, Preset 1-3 Release
- 129 8.6.3.8 Attribute 0x6D, Position Filter
- 129 8.6.3.9 Attribute 0x6E, Number of Magnets
- 130 8.6.3.10 Attribute 0x6F, Position Status
- 130 8.6.3.11 Attribute 0x70, Accept Parameter
- 131 8.7 Object 0xF4, Port
- 131 8.7.1 Common Services
- 131 8.7.2 Class Attributes
- 132 8.7.3 Instance 1, Attributes
- 133 8.7.4 Instance 2, Attributes
- 134 8.8 Object 0xF5, TCP/IP Interface
- 134 8.8.1 Common Services
- 134 8.8.2 Class Attributes
- 135 8.8.3 Instance 1, Attributes
- 136 8.8.3.1 Attribute 0x01, Status
- 136 8.8.3.2 Attribute 0x02, Configuration Capability
- 136 8.8.3.3 Attribute 0x03, Configuration Control
- 137 8.8.3.4 Attribute 0x04, Physical Link Object
- 137 8.8.3.5 Attribute 0x05, Interface Configuration
- 138 8.8.3.5.1 Obtaining of the IP parameter
- 139 8.8.3.5.2 Set and store the IP parameter
- 140 8.9 Object 0xF6, Ethernet Link
- 140 8.9.1 Common Services
- 140 8.9.2 Class Attributes
- 141 8.9.3 Instance 1, Attributes
- 141 8.9.3.1 Attribute 0x02, Interface Flags
- 142 9 Connection type
- 143 10 Commissioning - Support
- 143 10.1 IP configuration via DHCP server
- 143 10.1.1 Prerequisite
- 143 10.1.2 Procedure
- 146 10.2 IP configuration with TRWinProg, FLASH storage
- 146 10.2.1 Connection to the PC (Programming)
- 147 10.2.2 Programming
- 148 10.3 Read/Write of attributes with Rockwell Control “RSLogix
- 148 10.3.1 Procedure
- 151 11 Causes of faults and remedies
- 151 11.1 Optical displays
- 152 11.2 General Status Codes
- 155 11.3 Position Status
- 155 11.4 Other faults
- 156 12 Appendix
- 156 12.1 Elementary Data types