NEC RS-232C manual Set parameter, Etx Msb Lsb

Models: RS-232C

1 72
Download 72 pages 50.57 Kb
Page 15
Image 15

5.3 Set parameter

STX

 

OP code page

OP code

 

Set Value

 

ETX

 

 

Hi

 

Lo

Hi

Lo

 

MSB

 

 

LSB

 

 

1st

 

 

2nd-

3rd

4th

-5th

 

 

6th-9th

 

10th

 

Send this message to change monitor’s adjustment and so on.

The controller requests a monitor to change value.

 

 

1stbyte) STX: Start of Message

 

 

 

 

 

 

 

ASCII STX (02h)

 

 

 

 

 

 

 

 

 

 

2nd-3rdbytes) OP code page: Operation code page

 

 

 

This OP code page data must be encoded to ASCII characters.

 

Ex.) The byte data 02h must be encoded to ASCII '0' and '2' (30h and 32h).

 

Refer to the Operation code table.

 

 

 

 

 

 

4th-5thbytes) OP code: Operation code

 

 

 

 

 

 

 

This OP code data must be encoded to ASCII characters.

 

Ex.) OP code 1Ah ->

OP code (Hi) = ASCII '1' (31h)

 

 

 

 

 

 

OP code (Lo) = ASCII 'A' (41h)

 

Refer to the Operation code table.

 

 

 

 

 

 

6th-9thbytes) Set value: (16bit)

 

 

 

 

 

 

 

 

 

This data must be encoded to ASCII characters.

 

 

 

Ex.) 0123h ->

 

1st(MSB) = ASCII '0' (30h)

 

 

 

 

 

 

 

 

2nd

= ASCII '1' (31h)

 

 

 

 

 

 

 

 

3rd

= ASCII '2' (32h)

 

 

4th(LSB) = ASCII '3' (33h)

10thbyte) ETX: End of Message

ASCII ETX (03h)

(15/72)

Page 15
Image 15
NEC RS-232C manual Set parameter, Etx Msb Lsb