beautypg.com

NEC RS-232C User Manual

Page 10

background image

(10/50)

ASCII '0''0' (30h, 30h): Set parameter

ASCII '0''1' (30h, 31h): Momentary

Like Auto Setup function, that automatically changes the parameter.

10

th

-13

th

bytes) Max. value: Maximum value that monitor can accept. (16bits)

Reply data from the monitor is encoded to ASCII characters.

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

14

th

-17

th

bytes) Requested setting Value: Echoes back the parameter for confirmation. (16bits)

Reply data from the monitor is encoded to ASCII characters.

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

18

th

byte) ETX: End of Message

ASCII ETX (03h)

5.5 Commands

"Command message format" depends on each command

.

Some commands are shown with usage. Refer to

section 7 to 13.

5.5.1 Save Current Settings.

The controller requests for the monitor to store the adjusted value.

Send "OC"(30h, 43h) as Save current settings command.

Complete "Save Current setting" command packet as follows;

ASCII: 01h-30h-41h-30h-41h-30h-34h-02h-30h-43h-03h-CHK-0Dh

SOH-'0'-'A'-'0'-'A'-'0'-'4'-STX-'0'-'C'-ETX-CHK- CR

The monitor replies the packet for confirmation as follows;

SOH-'0'-'0'-'A'-'B'-'0'-'6'-STX-'0'-'0'-'0'-'C'-ETX-CHK- CR

5.5.2 Get Timing Report and Timing reply.

The controller requests the monitor to report the displayed image timing.

Send "07"(30h, 37h) as Get Timing Report command.

Complete "Get Timing Report" command packet as follows;

ASCII: 01h-30h-41h-30h-41h-30h-34h-02h-30h-37h-03h-CHK-0Dh

SOH-'0'-'A'-'0'-'A'-'0'-'4'-STX-'0'-'7'-ETX-CHK- CR

The monitor replies status as the following format;

SS: Timing status byte

Bit 7 = 1: Sync Frequency is out of range.
Bit 6 = 1: Unstable count

Command code

STX

'0'

'C'

ETX

Command code

STX

'0'

'7'

ETX

Command

SS

H Freq.

V Freq.

STX

'4'

'E'

Hi

Lo

MSB

LSB

MSB

LSB

ETX