57
EXDUL-581E / EXDUL-581S
© 2019 by Messcomp Datentechnik GmbH
DV03
57
EXDUL-581E / EXDUL-581S
© 2019 by Messcomp Datentechnik GmbH
EV03
wasco
®
wasco
®
Schreiben in LCD-Register
Das EXDUL-Modul stellt mehrere beschreibbare LCD-Register zur
Verfügung. UserLCD1 und UserLCD2 entsprechen den beiden Zeilen
während der UserMode-LCD-Anzeige. UserLCD1m und UserLCD2m sind
zwei 16-Byte-Bereiche, welche direkt in einen nicht-flüchtigen Speicher
(FLASH) abgelegt werden und beim Modulstart in die Register UserLCD1m
bzw. UserLCD2m geladen werden. Alle Register sind nur als ganze 16-Byte-
Blöcke beschreibbar.
LCD-Befehl
LCD-Befehl-Byte
UserLCD1
0
UserLCD2
1
UserLCD1m
2
UserLCD2m
3
Byte
Senden
Empfangen
Beschreibung
0
0C
0C
Befehlscode 1. Byte
1
00
00
Befehlscode 2. Byte
2
03
03
Befehlscode 3. Byte
3
05
00
Längenbyte → 20 Byte
4
00 (UserLCD1)
01 (UserLCD2)
02 (UserLCD1m)
03 (UserLCD2m)
LCD-Befehl
5
00
reserviert
6
00
reserviert
7
00
Schreibfunktion
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
35
Daten 7. Zeichen 5
asci
15
38
Daten 8. Zeichen 8
asci
16
31
Daten 9. Zeichen 1
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
Beispiel: Schreiben der Zeichenfolge EXDUL-581 in Register
Writing into LCD registers
The EXDUL module provides several writable LCD registers. UserLCD1
and UserLCD2 correspond to the two lines when using UserMode LCD
display. UserLCD1m and UserLCD2m are two 16 byte wide areas, which
are stored directly to a non-volatile memory (FLASH) and are loaded into
the registers UserLCD1m or UserLCD2m at module start. All of the regi-
sters are writable as a whole 16-byte block only.
LCD Command
LCD Command Byte
UserLCD1
0
UserLCD2
1
UserLCD1m
2
UserLCD2m
3
Byte
Transmit
Receive
Representing
0
0C
0C
Command code 1st Byte
1
00
00
Command code 2nd Byte
2
03
03
Command code 3rd Byte
3
05
00
Lenght prefix byte => 20 Byte
4
00 (UserLCD1)
01 (UserLCD2)
02 (UserLCD1m)
03 (UserLCD2m)
LCD command
5
00
reserved
6
00
reserved
7
00
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
35
Data 7th character 5
asci
15
38
Data 8th character 8
asci
16
31
Data 9th character 1
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
Example: enter the character string EXDUL-581 to the register