'0'-'0' (30h, 30h): This operation is "Set parameter" type.

'0'-'0'-'0'-'3' (30h, 30h, 30h, 33h): Number of temperature sensors are 3 (0003h).

'0'-'0'-'0'-'1' (30h, 30h, 30h, 31h): temperature sensor is #1.

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 3. The controller requests the monitor to send the temperature from the selected sensor.

 

Header

Message

Check code

Delimiter

SOH-'0'-Monitor ID-'0'-'C'-'0'-'6'

STX-'0'-'2'-'7'-'9'-ETX

BCC

CR

Header

 

 

 

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

Delimiter

SOH-'0'-'0'-Monitor ID-'D'-'1'-'2'

STX-'0'-'0'-'0'-'2'-'7'-'9'-'0'-'0'

BCC

CR

-'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.

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.

(24/72)

Page 24
Image 24
NEC RS-232C manual SOH-0-Monitor ID-0-C-0-6 STX-0-2-7-9-ETX