Lcd control command, Clear lcd, Lcd display (ascii mode) – ACS ACR1283L User Manual
Page 47
ACR1283L – Reference Manual
Version 1.00
www.acs.com.hk
Page 47 of 55
5.4.16. LCD Control Command
5.4.16.1. Clear LCD
This command is used to clear all contents shown in the LCD.
Clear LCD Command Format (5 Bytes)
Command
Class
INS
P1
P2
Lc
Clear LCD
0xFFh
0x00h 0x60h
0x00h
0x00h
Where:
Data Out: SW1 SW2
Status Code
Results
SW1 SW2
Meaning
Success
90 00h
The operation is completed successfully.
Error
63 00h
The operation is failed.
5.4.16.2. LCD Display (ASCII Mode)
This command is used to display LCD message in ASCII mode.
LCD Display Command Format (5 Bytes + LCD Message Length)
Command
Class
INS
P1
P2
Lc
Data In
(Max. 16 Bytes)
LCD Display
0xFFh
Option
Byte
0x68h
LCD XY
Position
LCD Message
Length
LCD Message
Where:
INS: Option Byte (1 Byte)
CMD
Item
Description
Bit 0
Character Bold Font
1 = Bold; 0 = Normal
Bit 1 - 3
Reserved
-
Bit 4 - 5
Table Index
00 = Fonts Set A
01 = Fonts Set B
10 = Fonts Set C
Bits 6 – 7
Reserved
-
P2:
LCD XY Position. The character to be displayed on the LCD position specified by DDRAM
Address