TECHNISCHE ANGABEN
34/94
CN929-7015M002
SOFTWARE-PROTOKOLL
Das Protokoll hat äquivalente Datenfelder, die mit
folgenden Formaten übereinstimmen:
Typ
Anzahl
an Byte
Beschreibung
Read
(Lesen)
1
“?” (3Fh
3
) führt aus, liest auf
dem E-Net Dual-Controller
Status
1
“0” (30h) = falsch = aus,
“1” (31h) = wahr = ein
5
Integer
5
“xxxxx” dargestellt in BCD
4
in
5 Ziffern
(immer positiv)
BitFeld
8
Wie Integer, nur mit
Bedeutungen, die einzelnen
Bits der Zahl zugeordnet
werden
Expo-
nential
7
“x.xEsxx” wo x BCD-Ziffern
sind, E das 45h-Buchstaben-
und s das (“+” o “-“ Zeichen
ist
String
(Zeichen
folge)
n
Reihenfolge von n-
Buchstaben, die im Bereich
20h und 7Fh eingeschlossen
sind
3
Das “h” Zeichen, das einer Zahl folgt, steht dafür,
dass die Zahl im Hexadezimalsystem-Format
ausgedrückt ist
4
BCD: Die Zahl wird von Ziffern zwischen einschließlich
“0” und “9” (ASCII 30h - 39h) dargestellt.
5
Status kann auch Werte über “1” annehmen.
Die Befehle haben ein Lese- und ein Schreibmodus.
Durch Angabe der Art des auszuführenden
Lesevorgangs befragt Host den E-Net Dual-Controller,
der wiederum in einem Format antwortet, das zu dem
gesendeten Befehl passt. Solange der Schreibvorgang
ausgeführt werden kann sind die Schreib- und
Leseformate für denselben Befehl deckungsgleich.
Die Schreibmodi haben folgen Antwortmöglichkeiten:
•
ACK
Befehl, der korrekt empfangen und
ausgeführt wird: Suchfrage zum Prüfen
ausführen, ob der Wert geschrieben
wurde (typisch für Hochspannung /
Anzeige Leistung ein/ Leistung aus)
•
Fehler
unausführbarer Befehl aufgrund
Kontextfehler (“!” 21h) (siehe
Protokollfehler)
•
Wert
empfangener und ausgeführter Befehl:
der Wert ist unmittelbar in dasselbe
Format des Schreibbefehls zurück-
gekehrt (Suchfrage ist nicht gefordert).
Die Befehle werden dem Kanal zugeordnet, der in dem
Kanalfeld angegeben ist. Aus der folgenden Tabelle
gehen die Werte hervor, die in diesem Feld zugeordnet
werden kann:
Wert
Kanal
Beschreibung
“0”
30h
Kein Kanal
Der Befehl wirkt auf keinen speziellen Kanal ein sondern überall auf den gesamten
E-Net Dual-Controller (z.B. Firmware Version Lesen)
“1”
31h
Hochspannung 1
Der Befehl wirkt auf einen Kanal 1 ein, der der Hochspannung 1 Formular
entspricht
“2”
32h
Hochspannung 2
Der Befehl wirkt auf einen Kanal 2 ein, der der Hochspannung 2 Formular
entspricht
“5”
35h
Serie
Der Befehl wirkt auf einen Kanal 5 ein, der dem Serienkommunikation Formular
entspricht
Weiterhin haben die sichtbaren physischen Messungen
vom Serienkanal immer die zugehörige angegebene
Messeinheit. Das wird vor allem auf Druckmessungen
angewendet, die nicht Gegenstand der Einstellungen
sind, die am E-Net Dual-Controller vorgenommen
werden.
Im Fernmodus E/A werden nur die Befehle, die sich auf
den Digital-Ausgängen von Fern E/A
(Fest/Arbeitsgang, Lokal /Fern, Start/Schutz, Pumpe
ein/aus) befinden, nur aktiv gelesen.
Die Schreibbefehle werden nur im Automatikmodus
freigegeben. Weiterhin kann der Fernmodus in der
Menüeditierfase nicht mit Hilfe der vorderen Schalttafel
angewählt werden.