NEC M46-AV LCD4020/4620/5220/6520, M40/M46 external control commands - Page 14

C' 43h: Message Type is Get parameter.

Page 14 highlights

SOH (01h): Start of Header '0' (30h): Reserved Monitor ID: Specify the Monitor ID which you want to get a value. Ex.) If Monitor ID is '1', specify 'A'. '0' (30h): Message sender is the controller. 'C' (43h): Message Type is "Get parameter". '0'-'6' (30h, 36h): Message length is 6 bytes. Message STX (02h): Start of Message '0'-'2' (30h, 32h): Operation code page number is 2. '7'-'9' (37h, 39h): Operation code is 79h (in the page 2). 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 Step 4. The monitor replies a temperature of selected sensor. Header Message Check code SOH-'0'-'0'-Monitor ID-'D'-'1'-'2' STX-'0'-'0'-'0'-'2'-'7'-'9'-'0'-'0' BCC -'F'-'F'-'F'-'F'-'0'-'0'-'3'-'2'-ETX 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'. 'D' (44h): Message Type is "Get parameter reply". '1'-'2' (31h, 32h): Message length is 18 bytes. Delimiter CR Message STX (02h): Start of Message '0'-'0' (30h, 30h): Result code. No error. '0'-'2' (30h, 32h): Operation code page number is 2. '7'-'9' (37h, 39h): Operation code is 79h (in the page 2). '0'-'0' (30h, 30h): This operation is "Set parameter" type. 'F'-'F'-'F'-'F' (46h, 46h, 46h, 46h): Maximum value. '0'-'0'-'3'-'2' (30h, 30h, 33h, 32h): The temperature is 25 degrees Celsius. Readout value is 2's complement. Temperature [Celsius] +125.0 + 25.0 + 0.5 0 - 0.5 - 25.0 - 55.0 Readout value Binary 0000 0000 1111 1010 0000 0000 0011 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1100 1110 1111 1111 1001 0010 ETX (03h): End of Message Hexadecimal 00FAh 0032h 0001h 0000h FFFFh FFCEh FF92h Check code BCC: Block Check Code Refer to the section 4.5 "Check code" for a BCC calculation. Delimiter CR (0Dh): End of packet (14/40)

  • 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
  • 38
  • 39
  • 40

(14/40)
SOH (01h): Start of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID which you want to get a value.
Ex.) If Monitor ID is '1', specify 'A'.
'0' (30h): Message sender is the controller.
'C' (43h): Message Type is "Get parameter".
'0'-'6' (30h, 36h): Message length is 6 bytes.
Message
STX (02h): Start of Message
'0'-'2' (30h, 32h): Operation code page number is 2.
'7'-'9' (37h, 39h): Operation code is 79h (in the page 2).
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
Step 4. The monitor replies a temperature of selected sensor.
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'.
'D' (44h): Message Type is "Get parameter reply".
'1'-'2' (31h, 32h): Message length is 18 bytes.
Message
STX (02h): Start of Message
'0'-'0' (30h, 30h): Result code.
No error.
'0'-'2' (30h, 32h): Operation code page number is 2.
'7'-'9' (37h, 39h): Operation code is 79h (in the page 2).
'0'-'0' (30h, 30h): This operation is "Set parameter" type.
'F'-'F'-'F'-'F' (46h, 46h, 46h, 46h): Maximum value.
'0'-'0'-'3'-'2' (30h, 30h, 33h, 32h): The temperature is 25 degrees Celsius.
Readout value is 2's complement.
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-'D'-'1'-'2'
STX-'0'-'0'-'0'-'2'-'7'-'9'-'0'-'0'
-'F'-'F'-'F'-'F'-'0'-'0'-'3'-'2'-ETX
BCC
CR
Readout value
Temperature [Celsius]
Binary
Hexadecimal
+125.0
0000 0000 1111 1010
00FAh
+ 25.0
0000 0000 0011 0010
0032h
+
0.5
0000 0000 0000 0001
0001h
0
0000 0000 0000 0000
0000h
-
0.5
1111 1111 1111 1111
FFFFh
- 25.0
1111 1111 1100 1110
FFCEh
- 55.0
1111 1111 1001 0010
FF92h