Handbuch EKS Schlüsselaufnahme Ethernet TCP/IP
8.3.1 Schreibvorgang
Information!
Der Schlüssel muss sich bei diesem Kommando in der Schlüsselaufnahme befinden und darf erst nach
Empfang des Antworttelegramms aus dem Ansprechbereich entfernt werden.
Kommandotelegramm (Telegrammkern, PC/Steuerung → EKS, siehe Abbildung 4):
TP (Geräte-Adr.) (Start-Adr. Nutzdaten) (Byte-Anzahl Nutzdaten) (Nutzdaten)
Antworttelegramm (Telegrammkern, EKS → PC/Steuerung, siehe Abbildung 5):
RF (Geräte-Adr.) (00
Byte Nr.
Beschreibung
0
Anzahl der Telegrammbytes
1
Kommando-Identifikation
2
3
Konstante
4
5
Start-Adresse der Nutzdaten
6
Byte-Anzahl der Nutzdaten
7 ... 122
Nutzdaten
Abbildung 4: Kommandotelegramm Schreib-/Lese-Schlüssel schreiben (Telegrammkern)
Byte Nr.
Beschreibung
0
Anzahl der Telegrammbytes
1
Kommando-Identifikation
2
3
Konstante
4
Fülldaten
5
6
Statusnummer
Abbildung 5: Antworttelegramm Schreib-/Lese-Schlüssel schreiben - Status (Telegrammkern)
* Statusnummer
Seite 28/34
, 00
) (Statusnummer)
hex
hex
00
:
ohne Fehler
hex
02
:
Schlüssel nicht im Ansprechbereich
hex
(Weitere Statusnummern siehe Kapitel 8.5)
Technische Änderungen vorbehalten
Inhalt
ASCII
hexadezimal
0B ... 7B
T
54
P
50
01
00
00 ... 70
04 ... 74
ASCII oder hexadezimal bzw. BCD
(codetransparent)
Inhalt
ASCII
hexadezimal
07
R
52
F
46
01
00
00
*
dezimal
11 ... 123
84
80
1
0
0 ... 112
4 ... 116
dezimal
7
82
70
1
0
0
2100420-03-05/19