NEC LCD4010-BK LCD4010 external control command - Page 8

Set parameter reply

Page 8 highlights

This OP code page data must be encoded to ASCII characters. Ex) The byte data 02h must be encoded to ASCII '0' and '2' (30h and 32h). Refer to the Operation code table. 4th-5thbytes) OP code: Operation code This OP code data must be encoded to ASCII characters. OP code 1Ah -> OP code (Hi) = ASCII '1' (31h) OP code (Lo) = ASCII 'A' (41h) Refer to the Operation code table. 6th-9thbytes) Set value: (16bit) This data must be encoded to ASCII characters. Ex.) 0123h -> 1st(MSB) = ASCII '0' (30h) 2nd = ASCII '1' (31h) 3rd = ASCII '2' (32h) 4th(LSB) = ASCII '3' (33h) 10thbyte) ETX: End of Message ASCII ETX (03h) 5.4 "Set parameter" reply STX Result OP code page OP code Type Max value Requested setting Value ETX Hi Lo Hi Lo 1st 2nd-3rd 4th-5th Hi Lo 6th-7th Hi Lo 8th-9th MSB LSB 10th-13th MSB LSB 14th -17th 18th The Monitor echoes back the parameter and status of the requested operation code. 1stbyte) STX: Start of Message ASCII STX (02h) 2nd-3rdbytes) Result code ASCII '0''0' (30h, 30h): No Error ASCII '0''1' (30h, 31h): Unsupported operation with this monitor or unsupported operation under current condition. 4th-5thbytes) OP code page: Echoes back the Operation code page for confirmation. Reply data from the monitor is encoded to ASCII characters. Ex.) OP code page 02h -> OP code page = ASCII '0' and '2' (30h and 32h) Refer to Operation code table. 6th-7thbytes) OP code: Echoes back the Operation code for confirmation. Reply data from the monitor is encoded to ASCII characters. Ex.) OP code 1Ah -> OP code (Hi) = ASCII '1' (31h) OP code (Lo) = ASCII 'A' (41h) Refer to Operation code table 8th-9thbytes) Type: Operation type code (8/37)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37

(8/37)
This OP code page data must be encoded to ASCII characters.
Ex) The byte data 02h must be encoded to ASCII '0' and '2' (30h and 32h).
Refer to the Operation code table.
4
th
-5
th
bytes) OP code: Operation code
This OP code data must be encoded to ASCII characters.
OP code 1Ah ->
OP code (Hi) = ASCII '1' (31h)
OP code (Lo) = ASCII 'A' (41h)
Refer to the Operation code table.
6
th
-9
th
bytes) Set value
: (
16bit)
This data must be encoded to ASCII characters.
Ex.) 0123h -> 1
st
(MSB) = ASCII '0' (30h)
2
nd
= ASCII '1' (31h)
3
rd
= ASCII '2' (32h)
4
th
(LSB)
= ASCII '3' (33h)
10
th
byte) ETX: End of Message
ASCII ETX (03h)
5.4 "Set parameter" reply
The Monitor echoes back the parameter and status of the requested operation code.
1
st
byte) STX: Start of Message
ASCII STX (02h)
2
nd
-3
rd
bytes) Result code
ASCII '0''0' (30h, 30h): No Error
ASCII '0''1' (30h, 31h): Unsupported operation with this monitor or unsupported operation under
current condition.
4
th
-5
th
bytes) OP code page: Echoes back the Operation code page for confirmation.
Reply data from the monitor is encoded to ASCII characters.
Ex.) OP code page 02h ->
OP code page = ASCII '0' and '2' (30h and 32h)
Refer to Operation code table.
6
th
-7
th
bytes) OP code: Echoes back the Operation code for confirmation.
Reply data from the monitor is encoded to ASCII characters.
Ex.) OP code 1Ah ->
OP code (Hi) = ASCII '1' (31h)
OP code (Lo) = ASCII 'A' (41h)
Refer to Operation code table
8
th
-9
th
bytes) Type: Operation type code
Result
OP code page
OP code
Type
Max value
Requested setting
Value
STX
Hi
Lo
Hi
Lo
Hi
Lo
Hi
Lo
MSB
LSB
MSB
LSB
ETX
1
st
2
nd
-3
rd
4
th
-5
th
6
th
-7
th
8
th
-9
th
10
th
-13
th
14
th
-17
th
18
th