Herunterladen Inhalt Inhalt Diese Seite drucken

Kommunikation Mit Wcs-Leseköpfen; Aufforderungsbyte Für Die Leseköpfe; Datenformat Für Module - Pepperl+Fuchs WCS-EIG310 Handbuch

Wcs-eig310 dient als schnittstelle zwischen wcs-lesekopf und ethernet/ip-steuerung
Inhaltsverzeichnis

Werbung

WCS-EIG310
Kommunikation mit WCS-Leseköpfen
5
Kommunikation mit WCS-Leseköpfen
5.1
Aufforderungsbyte für die Leseköpfe
Lesekopfadresse 3 Lesekopfadresse 2 Lesekopfadresse 1 Lesekopfadresse 0
Bit
F0=0: Der Lesekopf sendet Positionsdaten zum Interfacemodul. Diese Standardfunktion ist
automatisch aktiv nach Inbetriebnahme.
F0=1: Der Lesekopf sendet das Ergebnis der Diagnosefunktion.
5.2
Datenformat für Module
In der Betriebsart "only Position" sind pro WCS-Lesekopf 4 Bytes reserviert.
Bit
Byte 0
Byte 1
Byte 2
Byte 3
Tabelle 5.1
In der Betriebsart "Position and Speed" sind pro WCS-Lesekopf 6 Bytes reserviert.
Bit
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Tabelle 5.2
Pxx: Positionsdaten, P00 = LSB
Sxx: Geschwindigkeit (in Vielfachen von 0.1 0,1 m/s), S00 = LSB
Beispiel: Byte 5 = 00011011 = 27, entspricht 2.7 2,7 m/s
A1, A0: Lesekopfadresse, 00 = WCS-Lesekopf #1
DB: Verschmutzungsanzeige, 1 = Reinigung erforderlich
OUT: Codeschienenverlust, 0 = Codeschiene erkannt
ERR: Fehleranzeige, Fehlercode (LEDs)
Adress-Bits A1 und A0
A1
24
7
6
5
0
F0
0
7
6
0
0
P15
P14
P07
P06
0
0
Datenformat für jeden angeschlossenen WCS-Lesekopf in der Betriebsart "only Position",
Lesekopfadresse = 0...3
7
6
0
0
P15
P14
P07
P06
0
0
0
0
0
S06
Datenformat für jeden angeschlossenen WCS-Lesekopf in der Betriebsart "Position and
Speed", Lesekopfadresse = 0...3
A0
0
0
1
1
4
3
F0
0
5
4
3
0
0
0
P13
P12
P11
P05
P04
P03
0
DB
ERR
5
4
3
0
0
0
P13
P12
P11
P05
P04
P03
0
DB
ERR
0
0
0
S05
S04
S03
Lesekopfadresse
0
Lesekopfadresse 0
1
Lesekopfadresse 1
0
Lesekopfadresse 2
1
Lesekopfadresse 3
2
1
0
F0
0
F0
2
1
0
P18
P17
P16
P10
P09
P08
P02
P01
P00
OUT
A1
A0
2
1
0
P18
P17
P16
P10
P09
P08
P02
P01
P00
OUT
A1
A0
0
0
0
S02
S01
S00

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis