34
EXDUL-392E / EXDUL-392S
© 2019 by Messcomp Datentechnik GmbH
DV01
34
EXDUL-392E / EXDUL-392S
© 2019 by Messcomp Datentechnik GmbH
EV03
wasco
®
wasco
®
Beispiel: Infobereich Hardwarekennung auslesen
Gesendet wird ein 8Byte langer Block und empfangen ein 20Byte langer Block mit der
Hardwarekennung
Byte
Senden
Beschreibung
Empfangen
Beschreibung
0
0C
Befehlscode 1. Byte
0C
Befehlscode 1. Byte
1
00
Befehlscode 2. Byte
00
Befehlscode 2. Byte
2
00
Befehlscode 3. Byte
00
Befehlscode 3. Byte
3
01
Längenbyte → 4Byte
04
Längenbyte → 16Byte
4
04
Info-Byte
45
Daten 1. Zeichen E
asci
5
00
reserviert
58
Daten 2. Zeichen X
asci
6
00
reserviert
44
Daten 3. Zeichen D
asci
7
01
Lesefunktion Infobereich
55
Daten 4. Zeichen U
asci
8
4C
Daten 5. Zeichen L
asci
9
2D
Daten 6. Zeichen -
asci
10
33
Daten 7. Zeichen 3
asci
11
39
Daten 8. Zeichen 9
asci
12
32
Daten 9. Zeichen 2
asci
13
20
Daten 10. Zeichen [Leer]
asci
14
20
Daten 11. Zeichen [Leer]
asci
15
20
Daten 12. Zeichen [Leer]
asci
16
20
Daten 13. Zeichen [Leer]
asci
17
20
Daten 14. Zeichen [Leer]
asci
18
20
Daten 15. Zeichen [Leer]
asci
19
20
Daten 16. Zeichen [Leer]
asci
Example: Read information space hardware identifier
An 8-byte block is transmitted and a 20-byte block is received with hardware identifier
Byte
Transmit
Representing
Receive
Representing
0
0C
Command code 1st Byte
0C
Command code 1st Byte
1
00
Command code 2nd Byte
00
Command code 2nd Byte
2
00
Command code 3rd Byte
00
Command code 3rd Byte
3
01
Length byte → 4Byte
04
Length byte → 16 Byte
4
04
Information byte
45
Data 1st character E
asci
5
00
reserved
58
Data 2nd character X
asci
6
00
reserved
44
Data 3rd character D
asci
7
01
Read function
information space
55
Data 4th character U
asci
8
4C
Data 5th character L
asci
9
2D
Data 6th character -
asci
10
33
Data 7th character 3
asci
11
39
Data 8th character 9
asci
12
32
Data 9th character 2
asci
13
20
Data 10th character [blank]
asci
14
20
Data 11th character [blank]
asci
15
20
Data 12th character [blank]
asci
16
20
Data 13th character [blank]
asci
17
20
Data 14th character [blank]
asci
18
20
Data 15th character [blank]
asci
19
20
Data 16th character [blank]
asci