Herunterladen Inhalt Inhalt Diese Seite drucken

Antworttelegramm - Pepperl+Fuchs Pxv100S-F200-R4-V19-Dfk Handbuch

Datamatrix-positioniersystem
Inhaltsverzeichnis
PXV100S-F200-R4-V19-DFK
Betrieb und Kommunikation
5.1.2

Antworttelegramm

Die Länge eines Antworttelegramms kann je nach Inhalt 6 bis 9 Byte sein. Das erste Byte ent-
hält die Adresse des antwortenden Lesekopfes und Statusinformationen. Die X-Position des
Lesekopfes wird mit dem MSB beginnend in den Bytes 2 bis 5 übertragen. In den nachfolgen-
den Bytes werden je nach Anforderung durch die Steuerung Informationen wie Geschwindig-
keit und Y-Position übertragen. Falls keine entsprechende Anforderung gesendet wurde,
entfallen diese Bytes. Das letzte Byte dient der Fehlererkennung während der Datenübertra-
gung.
Antworttelegramm vom Lesekopf, X-Position bzw. Event
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Hinweis!
Event-Abfrage
Im Falle einer Event-Abfrage (Letztes Event) ist die Event-Nummer in den Bits XP00 ... XP23
codiert. Ein gesetztes Event-Flag wird zurückgesetzt. Bei Event-Anfrage ohne gesetztes
Event-Flag wird die letzte Event Nummer übertragen. Ist seit dem Einschalten des Lesekopfes
noch kein Event aufgetreten wird XP00 ... XP23 = 0 ausgegeben.
Antworttelegramm vom Lesekopf X-Position und Geschwindigkeitsausgabe
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
22
Bit 8
Bit 7
Bit 6
Parity
0
-
Parity
0
-
Parity
0
XP20
Parity
0
XP13
Parity
0
XP06
Parity
XOR
XOR
Byte 1
-
Byte 1
7
6
Byte 5
Byte 5
7
6
Bit 8
Bit 7
Bit 6
Parity
0
-
Parity
0
-
Parity
0
XP20
Parity
0
XP13
Parity
0
XP06
Parity
0
SP6
Parity
XOR
XOR
Byte 1
-
Byte 1
7
6
Byte 6
Byte 6
7
6
Bit 5
Bit 4
Bit 3
A1
A0
EV
-
-
-
XP19
XP18
XP17
XP12
XP11
XP10
XP05
XP04
XP03
XOR
XOR
XOR
-
Byte 1
-
Byte 1
-
Byte 1
5
4
Byte 5
Byte 5
Byte 5
5
4
Bit 5
Bit 4
Bit 3
A1
A0
EV
-
-
-
XP19
XP18
XP17
XP12
XP11
XP10
XP05
XP04
XP03
SP5
SP4
SP3
XOR
XOR
XOR
-
Byte 1
-
Byte 1
-
Byte 1
5
4
Byte 6
Byte 6
Byte 6
5
4
Bit 2
Bit 1
Bit 0
WRN
NP
ERR
XP23
XP22
XP21
XP16
XP15
XP14
XP09
XP08
XP07
XP02
XP01
XP00
XOR
XOR
XOR
-
Byte 1
-
Byte 1
-
Byte 1
3
2
1
Byte 5
Byte 5
Byte 5
3
2
1
Bit 2
Bit 1
Bit 0
WRN
NP
ERR
XP23
XP22
XP21
XP16
XP15
XP14
XP09
XP08
XP07
XP02
XP01
XP00
SP2
SP1
SP0
XOR
XOR
XOR
-
Byte 1
-
Byte 1
-
Byte 1
3
2
1
Byte 6
Byte 6
Byte 6
3
2
1
-
0
0
-
0
0
Inhaltsverzeichnis
loading

Inhaltsverzeichnis