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.

 

 

 

Readout value is 2's complement.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Temperature [Celsius]

Readout value

 

 

 

 

 

 

 

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

 

 

 

ETX (03h): End of Message

(15/50)

Page 15
Image 15
NEC RS-232C user manual STX-0-0-0-2-7-9-0-0