32
EXDUL-392E / EXDUL-392S
© 2019 by Messcomp Datentechnik GmbH
DV01
32
EXDUL-392E / EXDUL-392S
© 2019 by Messcomp Datentechnik GmbH
EV03
wasco
®
wasco
®
10.9 Befehlszusammensetzung
Byte
Senden
Empfangen
Beschreibung
0
0C
0C
Befehlscode 1. Byte
1
00
00
Befehlscode 2. Byte
2
00
00
Befehlscode 3. Byte
3
05
00
Längenbyte → 20 Byte
4
00 (UserA)
01 (UserB)
Info-Byte
5
00
reserviert
6
00
reserviert
7
00
Schreibfunktion Infobereich
8
45
Daten 1. Zeichen E
as
9
58
Daten 2. Zeichen X
asci
10
44
Daten 3. Zeichen D
asci
11
55
Daten 4. Zeichen U
asci
12
4C
Daten 5. Zeichen L
asci
13
2D
Daten 6. Zeichen -
asci
14
33
Daten 7. Zeichen 3
asci
15
39
Daten 8. Zeichen 9
asci
16
32
Daten 9. Zeichen 2
asci
17
20
Daten 10. Zeichen [Leer]
asci
18
20
Daten 11. Zeichen [Leer]
asci
19
20
Daten 12. Zeichen [Leer]
asci
20
20
Daten 13. Zeichen [Leer]
asci
21
20
Daten 14. Zeichen [Leer]
asci
22
20
Daten 15. Zeichen [Leer]
asci
23
20
Daten 16. Zeichen [Leer]
asci
10.9.1 Schreiben in Inforegister
Das EXDUL-Modul stellt mehrere beschreibbare Inforegister zur Verfügung.
UserA/B sind zwei 16-Byte-Bereiche für den Anwender, um Informationen
in einem nicht-flüchtigen Speicher (FLASH) zu sichern. Die Register sind
nur als ganzer 16-Byte-Block beschreibbar.
Beispiel: Schreiben der Zeichenfolge EXDUL-392 in Register UserA und UserB
Infobereich
Info-Byte
UserA
0
UserB
1
10.9 Structure of Commands
Byte
Transmit
Receive
Representing
0
0C
0C
Command code 1st Byte
1
00
00
Command code 2nd Byte
2
00
00
Command code 3rd Byte
3
05
00
Lenght prefix byte => 20 Byte
4
00 (UserA)
01 (UserB)
Info byte
5
00
reserved
6
00
reserved
7
00
Info space of write operation
8
45
Data 1st character E
asci
9
58
Data 2nd character X
asci
10
44
Data 3rd character D
asci
11
55
Data 4th character U
asci
12
4C
Data 5th character L
asci
13
2D
Data 6th character -
asci
14
33
Data 7th character 3
asci
15
39
Data 8th character 9
asci
16
32
Data 9th character 2
asci
17
20
Data 10th character [blank]
asci
18
20
Data 11th character [blank]
asci
19
20
Data 12th character [blank]
asci
20
20
Data 13th character [blank]
asci
21
20
Data 14th character [blank]
asci
22
20
Data 15th character [blank]
asci
23
20
Data 16th character [blank]
asci
10.9.1 Writing to the information register
The EXDUL module provides several writable information registers. UserA/B
are two 16-byte spaces for the user to store information into a non-volatile
memory (FLASH). The registers are writable only as a complete 16-byte
block.
Example: enter character string EXDUL-392 into register UserA and UserB
Info Space
Info Byte
UserA
0
UserB
1