NEC LCD4010-BK LCD4010 external control command - Page 6

Message type - its

Page 6 highlights

5. Message type 5.1 Get current Parameter from a monitor. STX OP code page OP code Hi Lo Hi Lo ETX 1st 2nd-3rd 4th-5th 6th Send this message when you want to get the status of a monitor. For the status that you want to get, specify the "OP code page" the "OP code", refer to "Appendix A. Operation code table". 1stbyte) STX: Start of Message ASCII STX (02h) 2nd-3rdbytes) OP code page: Operation code page. Specify the "OP code page" for the control which you want to get the status. Refer to "Appendix A Operation code table" for each item. OP code page data must be encoded to ASCII characters. Ex.) The byte data 02h must be encoded to ASCII characters '0' and '2' (30h and 32h). OP code page 02h -> OP code page (Hi) = ASCII '0' (30h) OP code page (Lo) = ASCII '2' (32h) Refer to Operation code table. (Appendix A) 4th-5thbytes) OP code: Operation code Refer to "Appendix A Operation code table" for each item. OP code data must be encoded to ASCII characters. Ex.) The byte data 3Ah must be encoded to ASCII characters '3' and 'A' (33h and 41h). OP code 3Ah -> OP code (Hi) = ASCII '3' (33h) OP code (Lo) = ASCII 'A' (41h) Refer to Operation code table. 6thbyte) ETX: End of Message ASCII ETX (03h) 5.2 "Get parameter" reply STX Result Hi Lo OP code page OP code Type Max value Hi Lo Hi Lo Hi Lo MSB LSB Current Value MSB LSB ETX 1st 2nd-3rd 4th-5th 6th -7th 8th -9th 10th -13th 14th -17th 18th LCD4010/LCD4610 replies with a current value and the status of the requested item (operation code). 1stbyte) STX: Start of Message ASCII STX (02h) 2nd-3rdbytes) Result code. (6/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

(6/37)
5. Message type
5.1 Get current Parameter from a monitor.
Send this message when you want to get the status of a monitor.
For the status that you want to get, specify the “OP code page” the “OP code”, refer to
“Appendix
A. Operation code table”.
1
st
byte) STX: Start of Message
ASCII STX (02h)
2
nd
-3
rd
bytes) OP code page: Operation code page.
Specify the “OP code page” for the control which you want to get the status.
Refer to “Appendix A Operation code table” for each item.
OP code page data must be encoded to ASCII characters.
Ex.) The byte data 02h must be encoded to ASCII characters '0' and '2' (30h
and 32h).
OP code page 02h -> OP code page (Hi) = ASCII '0' (30h)
OP code page (Lo) = ASCII '2' (32h)
Refer to Operation code table. (Appendix A)
4
th
–5
th
bytes) OP code: Operation code
Refer to “Appendix A Operation code table” for each item.
OP code data must be encoded to ASCII characters.
Ex.) The byte data 3Ah must be encoded to ASCII characters '3' and 'A' (33h and 41h).
OP code 3Ah ->
OP code (Hi) = ASCII '3' (33h)
OP code (Lo) = ASCII 'A' (41h)
Refer to Operation code table.
6
th
byte) ETX: End of Message
ASCII ETX (03h)
5.2 "Get parameter" reply
LCD4010/LCD4610 replies with a current value and the status of the requested item (operation code).
1
st
byte) STX: Start of Message
ASCII STX (02h)
2
nd
-3
rd
bytes) Result code.
OP code page OP code
STX
Hi
Lo
Hi
Lo
ETX
1
st
2
nd
-3
rd
4
th
–5
th
6
th
Result
OP code page
OP code
Type
Max value
Current 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