Download  Print this page

NEC V321-2 Communications Manual page 15

V321-2 : rs232 codes for v321, v421, v461
Hide thumbs

Advertisement

Table of Contents
'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-'0'-'0'-Monitor ID-'D'-'1'-'2'
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.
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
STX-'0'-'0'-'0'-'2'-'7'-'9'-'0'-'0'
-'F'-'F'-'F'-'F'-'0'-'0'-'3'-'2'-ETX
Readout value is 2's complement.
Temperature [Celsius]
+125.0
+ 25.0
+ 0.5
0
- 0.5
- 25.0
- 55.0
Message
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
(15/37)
Check code
BCC
Hexadecimal
00FAh
0032h
0001h
0000h
FFFFh
FFCEh
FF92h
Delimiter
CR

Hide quick links:

Advertisement

Table of Contents
loading

  Also See for NEC V321-2

  Related Manuals for NEC V321-2