NEC RS-232C IV. Control Commands Typical procedure example, How to change the Backlight setting

Page 20

IV. Control Commands

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 “Backlight” 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

Check code

BCC: Block Check Code

Refer to the section 4.5 “Check code” for a BCC calculation.

Delimiter

CR (0Dh): End of packet

Step 2. The monitor replies with current Backlight setting and capability to support this operation.

Header

Message

Check code

Delimiter

SOH-'0'-'0'-Monitor ID-'D'-'1'-'2'

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

BCC

CR

-'0'-'0'-'6'-'4'-'0'-'0'-'3'-'2'-ETX

Header

SOH (01h): Start Of Header

'0' (30h): Reserved

'0' (30h): Message receiver is the controller.

Monitor ID: Indicate a replying Monitor ID.

Ex.) When this byte is set to 'A', the replying Monitor ID is '1'.

'D' (44h): Message Type is "Get parameter reply".

'1'-'2' (31h, 32h): Message length is 18 bytes.

Message

STX (02h): Start of Message

'0'-'0' (30h, 30h): Result code. No error.

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

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

'0'-'0' (30h, 30h): This operation is "Set parameter" type.

'0'-'0'-'6'-'4' (30h, 30h, 36h, 34h): Backlight max value is 100(0064h).

'0'-'0'-'3'-'2' (30h, 30h, 33h, 32h): Current Backlight setting is 50(0032h) .

ETX (03h): End of Message

Check code

BCC: Block Check Code

Refer to the section 4.5 “Check code” for a BCC calculation.

Delimiter

(20/72)

Image 20
Contents External Control 10.1 Application LAN control II. Preparation Connectors and wiringRS-232C Remote control Communication timing AsciiCommunication Format Get Parameter Reply MonitorHeader block format fixed length ALLPage Message block format STXETX MSB LSB10/72 Check code SOHDelimiter Message type Get current Parameter from a monitor00h No Error Get parameter replySet parameter ETX MSB LSBSet parameter reply Current condition Commands Save Current Settings Send 0730h, 37h as Get Timing Report command Get Timing Report and Timing replyNull Message BCC IV. Control Commands Typical procedure exampleHow to change the Backlight setting Message Check code Delimiter Header Message Check code Delimiter SOH-0-Monitor ID-0-E-0-A STX-0-2-7-8-0-0-0-1-ETX SOH-0-Monitor ID-0-C-0-6 STX-0-2-7-9-ETX Readout value is 2s complement Operation Code OP code Table Dicom SIMPosition 00h 20h Left side OP code Parameter Remarks Cod Pag Input Resolution DAh Surround HdmiRGB/HV PIPOSD 02h 7Dh None DVI-PC DVI-HDScart IP ON/PROGRESSIVEMute Unmute Screen Mute Screen Mute on Screen Mute OFF MTS‘SURROUND’ PIP ON/OFFOP code Parameter Remarks Cod Pag PIP Input 02h 73h No mean Power control procedure Power status readCR 0Dh End of packet 37/72 Power control Controller requests the monitor to control monitor powerDelimiter CR 0Dh End of packet 39/72 Asset Data read and write Asset Data Read Request and replyDelimiter CR 0Dh End of packet 41/72 Asset Data write CR 0Dh End of packet 43/72 BCC DS-ETX Date & Time read and writeDate & Time Read MN Minutes 0-030h, 30h Date & Time Write Check code Delimiter Delimiter CR 0Dh End of packet 48/72 Schedule read and write Schedule ReadB33h, 42h C33h, 43h On timer isnt set Page BCC OFF HOUR-OFF MIN-INPUT-WD-FL-ETX B33h, 42h 59 =3Bh C33h, 43h Off timer isn’t set PG-ON HOURS-ON MIN-OFF HOURS-OFF MIN-INPUT-WD-FL-P Mode Schedule WritePage BCC OFF HOUR-OFF MIN-INPUT-WD-FL-P Mode 57/72 SOH-0-Monitor ID-0-A-0-A STX-C-2-1-5-PG-EN-ETX Delimiter CR 0Dh End of packet 59/72 STX-C-2-1-4-PG-ON HOUR-ON MIN SOH-0-0-Monitor ID-B-1-8 STX-C-3-1-4-ST-PG-ON HOUR-ON MIN 030h, 30h 731h, 37h 23 =17h 831h, 38h Off timer isnt set SOH-0-0-Monitor ID-B-0-C STX-C-3-1-5-ST-PG-EN-ETX Self diagnosis Self-diagnosis status readPage Serial No. & Model Name Read Serial No. ReadModel Name Read Security Lock Security Lock ControlSTX-C-3-1-D-ST-EN-ETX Direct TV Chanel Read & Write Direct TV Chanel Read & ReplyDirect TV Chanel Write & Reply All data are subject to change without notice
Related manuals
Manual 50 pages 13.24 Kb