@X4-0047-5
- 27 -
■
Read the device setting
You can read setting of the device.
The command length of the reading information is 2 byte.
Syntax
:
R<CR>
As shown below, the command line can be also described in binary.
<52h><0Dh>
※
hexadecimal representation
For example, in the case of Visual Basic, you can write as follows;
Dim Cmd
Cmd = “R” + Chr(13)
or
Dim Cmd(1) As Byte
Cmd(0) = 82 : Cmd(1) =13
Response
:
command
success
⇒
Return value is in 13 byte.
1 – 2 byte : High voltage value
3 – 4 byte : Maximum voltage value
5 – 6 byte : Step voltage value
7 byte : LCD contrast value
8 byte : LCD backlight state(ON or OFF)
9 byte : High voltage output switch LED state(ON or
OFF)
10 byte : High voltage output state(ON or OFF)
11 – 12 byte : High voltage monitor value
13 byte : Polarity
Notes:
Each 2byte data is the integer value of hundreds place and less
than 100.
Polarity is “+”(2Bh) or “-“(2Dh).
CR(Carriage return) is not returned.
command failure
Bad Command
⇒
“BC” is returned.