Herunterladen Inhalt Inhalt Diese Seite drucken

Binärprotokoll 4 - Bps 8 Sm 10X-04; Datenformat; Anforderungstelegramm An Das Bps 8 Sm 10X-04 - Leuze BPS 8 Originalbetriebsanleitung

Inhaltsverzeichnis

Werbung

Protokolle für die Positionswertausgabe
Beispiel: Ausgabe der Diagnosedaten
Diagnosedaten: E05
Datenbyte 1 = E = 45
Datenbyte 2 = 0 = 30
Datenbyte 3 = 5 = 35
Byte
Bezeichnung
Nr.
0
Statusbyte
1
Datenbyte 1
2
Datenbyte 2
3
Datenbyte 3
4
XOR-Verknüpfung
Stand-By Modus
HINWEIS
Ist das Bit SLEEP (Bit 6) im Statusbyte auf 1 gesetzt, ist das BPS im Stand-by Modus. Bei einer
Diagnoseantwort im Stand-by Modus sind die Bits CALC, DB und SLEEP wie folgt gesetzt:
• CALC
• DB
• SLEEP = 1
Die Datenbits P00 bis P20 sind im Stand-by Modus immer 0.
9.4
Binärprotokoll 4 – BPS 8 SM 10x-04
HINWEIS
Die Binärprotokolle 1 und 6 können mit Hilfe des BPS Configuration Tool vom Anwender indi-
viduell an die Bedürfnisse der Applikation angepasst werden. Dagegen sind die
Binärprotokolle 2, 3 und 4 in Ihrem Aufbau festgelegt und können nicht modifiziert werden.
9.4.1

Datenformat

Datenformat
Baudrate
Anzahl Datenbits
Anzahl Startbits
Anzahl Stoppbits
Parität
Adressierung
Betriebsart
Handshake
Tabelle 9.4:
9.4.2

Anforderungstelegramm an das BPS 8 SM 10x-04

Das Anforderungstelegramm besteht aus 6 Bytes.
Leuze electronic GmbH + Co. KG
= 01000101
h
b
= 00110000
h
b
= 00110101
h
b
Bit 7
0
0
0
0
Bitweise Exklusiv-Oder-Verknüpfung der Bytes 0 bis 3
= 0
= 0
BPS 8 SM 10x-04
62,5kBit/s
keine
0 ... 3
RS232 Halbduplex
keiner
Datenformat BPS 8 SM 10x-04
Bit 6
Bit 5
Bit 4
SLEEP
A1
A0
=0
1
0
0
0
1
1
0
1
1
9
1
1
BPS 8
Bit 3
Bit 2
Bit 1
CALC=
DB=1
OUT
1
0
1
0
0
0
0
0
1
0
Bit 0
ERR
1
0
1
77

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis