These bytes indicate a result of the requested commands as follows,

00h: No Error.

01h: Unsupported operation with this monitor or unsupported operation under current condition.

This result code from the monitor is

encoded to ASCII characters.

Ex.) The

byte data 01h

is encoded to

ASCII character '0' and '1' (30h and 31h).

4th–5thbytes) OP code page: Operation code page.

These bytes indicate a replying item's OP code page.

This returned value from the monitor

is encoded to ASCII characters.

Ex.) The

byte data 02h

is encoded to

ASCII character '0' and '2' (30h and 32h).

Refer to

the operation

code table.

 

6th –7thbytes) OP code: Operation code

 

These bytes indicate a

replying item's OP code.

This returned value from the monitor

is encoded to ASCII characters.

Refer to

the operation

code table.

 

Ex.) The

byte data 1Ah

is encoded to

ASCII character '1' and 'A' (31h and 41h).

8th -9thbytes) Type: Operation type code 00h: Set parameter

01h: Momentary

Like the Auto Setup function which automatically changes the parameter. This returned value from the monitor is encoded to ASCII characters.

Ex.) The byte data 01h is encoded to ASCII character '0' and '1' (30h and 31h). 10th-13thbytes) Max. value: Maximum value which monitor can accept. (16bits)

This returned value from the monitor is encoded to ASCII characters.

Ex.) '0','1','2' and '3' means 0123h (291)

14th -17thbytes) Current Value: (16bits)

This returned value from the monitor is encoded to ASCII characters.

Ex.) '0','1','2' and '3' means 0123h (291)

18thbyte) ETX: End of Message

ASCII ETX (03h)

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

(8/50)

Page 8
Image 8
NEC RS-232C user manual Set parameter