NEC RS-232C Typical procedure example, Null Message, How to change the Brightness setting, Bcc

Page 11

Bit 5-2

Reserved (Don't care)

Bit

1

1:Positive Horizontal sync polarity.

Bit

0

0:Negative Horizontal sync polarity.

1:Positive

Vertical

sync polarity.

 

 

0:Negative

Vertical

sync polarity.

H Freq: Horizontal Frequency in unit 0.01kHz

V Freq: Vertical Frequency in unit 0.01Hz

Ex.) When H Freq is '1''2''A''9' (31h, 32h, 41h, 39h), it means 47.77kHz.

5.5.3 NULL Message

STX

Command code

'B' 'E'

ETX

The NULL message returned from the monitor is used in the following cases;

A timeout error has occurred. (The default timeout is 10sec.)

The monitor receives an unsupported message type.

The monitor detects a packet BCC (Block Check Code) error.

To tell the controller that the monitor does not have any answer to give to the host (not ready or not expected)

Following operations need a certain time for to execute, so the monitor will return this message when another message is received during execution.

Power ON, Power OFF, Auto Setup, Input, PIP Input, Auto Setup and Factory reset.

Complete "NULL Message" command packet as follows; 01h-30h-30h-41h-42h-30h-34h-02h-42h-45h-03h-CHK-0Dh SOH-'0'-'0'-'A'-'B'-'0'-'4'-STX-'B'-'E'-ETX-CHK- CR

6.Typical procedure example

The following is a sample of procedures to control the monitor, these are examples of "Get parameter",

"Set parameter" and "Save current settings".

6.1. How to change the “Brightness” setting.

Step 1. The controller requests the Monitor to reply with the current brightness setting and capability

to support this operation. (Get parameter)

 

Header

Message

Check code

Delimiter

SOH-'0'-Monitor ID-'0'-'C'-'0'-'6'

STX-'0'-'0'-'1'-'0'-ETX

BCC

CR

Header

 

 

 

SOH

(01h): Start Of Header

 

 

 

'0'

(30h): Reserved

 

 

 

Monitor ID: Specify the Monitor ID from 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 command".

'0'-'6' (30h, 36h): Message length is 6 bytes.

Message

STX (02h): Start of Message

'0'-'0' (30h, 30h): Operation code page number is 0.

'1'-'0' (31h, 30h): Operation code is 10h (in the OP code page 0).

ETX (03h): End of Message

(11/50)

Image 11
Contents Communication Parameter Connectors and wiringApplication Header block format fixed length Communication FormatALL STX ETX MSB LSB Message block formatSTX ETXSOH Check codeMSB LSB Following is an example of a Check code BCC calculation DelimiterGet current Parameter from a monitor Message typeSet parameter Current condition Set parameter replyMSB LSB ETX CommandsSave Current Settings Get Timing Report and Timing replyBCC Typical procedure exampleHow to change the Brightness setting Null MessageHeader Message Check code Delimiter Message Check code Delimiter Code STX-0-0-0-2-7-9-0-0 Power status read Power control procedureController requests the monitor to control monitor power Power controlAsset Data Read Request and reply Asset Data read and writeAsset Data write BCC DS-ETX Date & Time read and writeDate & Time Read Date & Time Write Check code Delimiter Schedule Read Schedule read and writeSTX-C-3-2-1-PG-ON HOUR-ON MIN Page BCC OFF HOUR-OFF MIN-INPUT-WD-FL-ETX Schedule Write B33h, 42h 59 =3Bh C33h, 43h Off timer isn’t setPG-ON HOURS-ON MIN-OFF HOURS-OFF MIN-INPUT-WD-FL-P Mode Page BCC OFF HOUR-OFF MIN-INPUT-WD-FL-P Mode Header 31/50 SOH-0-0-Monitor ID-B-0-C STX-C-3-1-5-ST-PG-EN-ETX STX-C-2-1-4-PG-ON HOUR-ON MIN 34/50 BCC Self-diagnosis status read Self diagnosisST Result of self-tests 0-030h, 30h00 Normal Model Name Read Serial No. & Model Name ReadSerial No. Read Security Lock Control Security Lock930h, 39h Page ISF Dicom SIMAdjust Hdmi SurroundPIP POPRGB/HV OSD Option Secam SyncDVI-PC DVI-HD NtscPIP ON/OFF All data are subject to change without notice
Related manuals
Manual 72 pages 50.57 Kb