NEC LCD4010-BK LCD4010 external control command - Page 15

Power control procedure - stand

Page 15 highlights

7. Power control procedure 7.1 Power status read 1) The controller requests the monitor to reply a current power status. Header SOH-'0'-Monitor ID-'0'-'A'-'0'-'6' Message Check code STX-'0'-'1'-'D'-'6'-ETX BCC Header SOH (01h): Start Of Header '0' (30h): Reserved Monitor ID: Specify the Monitor ID from which you want to get status. Ex.) If Monitor ID is '1', specify 'A'. '0' (30h): Message sender is the controller 'A' (41h): Message Type is "Command" '0'-'6' (30h, 36h): Message length is 6 bytes Message STX (02h): Start of Message '0'-'1'-'D'-'6': Get power status command ETX (03h): End of Message Check code BCC: Block Check Code Refer to the section 4.5 "Check code" for a BCC calculation. Delimiter CR (0Dh): End of packet. Delimiter CR 2) The monitor returns with the current power status. Header SOH-'0'-'0'-Monitor ID-'B'-'1'-'2' Message STX-'0'-'2'-'0'-'0'-'D'-'6'-'0'-'0'-'0' -'0'-'0'-'4'-'0'-'0'-'0'-'1'-ETX Check code Delimiter BCC CR Header SOH (01h): Start Of Header '0' (30h): Reserved '0' (30h): Message receiver is the controller Monitor ID: Indicate a replying Monitor ID Ex.) When this byte is set to 'A', the replying Monitor ID is '1'. 'B' (42h): Message Type is "Command reply" '1'-'2' (31h, 32h): Message length is 18 bytes Message STX(02h):Start of Message '0'-'2' (30h, 32h): Reserved data '0'-'0' (30h, 30h): Result code 00: No Error 01: Unsupported 'D'-'6'(44h, 36h): Display power mode code '0'-'0' (30h, 30h): Parameter type code is "Set parameter" '0'-'0'-'0'-'4' (30h, 30h, 30h, 34h): Power mode is 4 types '0'-'0'-'0'-'1' (30h, 30h, 30h, 31h): Current power mode 0001: ON 0002: Stand-by (power save) 0003: Suspend (power save) 0004: OFF (same as IR power off) ETX (03h): End of Message Check code BCC: Block Check Code Refer to the section 4.5 "Check code" for a BCC calculation. Delimiter CR (0Dh): End of packet (15/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

(15/37)
7. Power control procedure
7.1 Power status read
1) The controller requests the monitor to reply a current power status.
Header
Message
Check code
Delimiter
SOH-'0'-Monitor ID-'0'-'A'-'0'-'6'
STX-'0'-'1'-'D'-'6'-ETX
BCC
CR
Header
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID from which you want to get status.
Ex.) If Monitor ID is '1', specify 'A'.
'0' (30h): Message sender is the controller
'A' (41h): Message Type is "Command"
'0'-'6' (30h, 36h): Message length is 6 bytes
Message
STX (02h): Start of Message
'0'-'1'-'D'-'6': Get power status command
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet.
2) The monitor returns with the current power status.
Header
SOH (01h): Start Of Header
'0' (30h): Reserved
'0' (30h): Message receiver is the controller
Monitor ID: Indicate a replying Monitor ID
Ex.)
When this byte is set to 'A', the replying Monitor ID is '1'.
'B' (42h): Message Type is "Command reply"
'1'-'2' (31h, 32h): Message length is 18 bytes
Message
STX(02h):Start of Message
'0'-'2' (30h, 32h): Reserved data
'0'-'0' (30h, 30h): Result code
00: No Error
01: Unsupported
'D'-'6'(44h, 36h): Display power mode code
'0'-'0' (30h, 30h): Parameter type code is "Set parameter"
'0'-'0'-'0'-'4' (30h, 30h, 30h, 34h): Power mode is 4 types
'0'-'0'-'0'-'1' (30h, 30h, 30h, 31h): Current power mode
<Status>
0001: ON
0002: Stand-by (power save)
0003: Suspend (power save)
0004: OFF (same as IR power off)
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
Header
Message
Check code
Delimiter
SOH-'0'-'0'-Monitor ID-'B'-'1'-'2'
STX-'0'-'2'-'0'-'0'-'D'-'6'-'0'-'0'-'0'
-'0'-'0'-'4'-'0'-'0'-'0'-'1'-ETX
BCC
CR