beautypg.com

NEC RS-232C User Manual

Page 5

background image

(5/50)

Message format of the

“Set parameter” is as follows,

Refer to section 5.3

“Set parameter” for more details.

4

Set Parameter reply

The monitor replies with this message for a confirmation of the

“Set parameter message”.

Message format of the

“Set parameter reply” is as follows,

Refer to section 5.4

“Set parameter reply” for more details.

5

Command

“Command message” format depends on each command.

Usually, this

“command message” is used for some non-slider controls and some special operations,

such as

“Save current settings”, “Get timing report”, “power control”, “Schedule”, etc. Refer to

section 5.5

“Commands message” for more details.

6

Command reply

The monitor replies to a query from the controller.

“Command reply message” format depends on each command.

Refer to section 5.5

“Commands message” for more details.

4.5 Check code

Check code is the Block Check Code (BCC) between the Header and the End of Message except SOH.

D

n+1

= D

1

XOR D

2

XOR D

3

XOR ,,, D

n

XOR: Exclusive OR

OP code

page

OP code

Set Value

STX

Hi

Lo

Hi

Lo

MSB

LSB

ETX

Result

OP code

page

OP code

Type

Max value

Requested setting

Value

ETX

STX

Hi

Lo

Hi

Lo

Hi

Lo

Hi

Lo

MSB

LSB

MSB

LSB

Header

Message

Check code

Delimiter

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

SOH

D

0

Reserved

D

1

Destination

D

2

Source

D

3

Type

D

4

Length(H)

D

5

Length(L)

D

6

STX

D

7

Data

D

8

|

|

|

|

ETX

D

n

Check code

D

n+1

P

P

P

P

P

P

P

P