NEC RS-232C user manual Check code, Msb Lsb, Soh

Page 5

Message format of the “Set parameter” is as follows,

STX

OP code

OP

code

Set

Value

 

ETX

 

page

 

 

Hi

 

Lo

Hi

 

Lo

MSB

 

 

 

LSB

 

Refer to section 5.3 “Set parameter” for more details.

4Set Parameter reply

 

The monitor replies with this message for a confirmation of the “Set parameter message”.

 

 

 

 

Message format of the

“Set parameter reply” is as follows,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STX

 

Result

OP code

OP code

 

Type

 

Max value

Requested setting

ETX

 

 

page

 

 

 

Value

 

 

 

Hi

Lo

Hi

 

Lo

Hi

 

Lo

Hi

 

Lo

MSB

 

 

 

LSB

MSB

 

 

LSB

 

Refer to section 5.4 “Set parameter reply” for more details.

5Command

“Command message” format depends on each command.

Usually, this “command message” is used for some non-slider controls and some special operations, such as “Save current settings”, “Get timing report”, “power control”, “Schedule”, etc. Refer to section 5.5 “Commands message” for more details.

6Command reply

The monitor replies to a query from the controller.

“Command reply message” format depends on each command. Refer to section 5.5 “Commands message” for more details.

4.5 Check code

Header Message

Check code

Delimiter

Check code is the Block Check Code (BCC) between the Header and the End of Message except SOH.

 

SOH

 

D0

27

26

25

24

23

22

21

20

 

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

D1

 

 

 

 

 

 

 

 

 

 

Destination

 

D2

 

 

 

 

 

 

 

 

 

Source

 

D3

 

 

 

 

 

 

 

 

 

Type

 

D4

 

 

 

 

 

 

 

 

 

Length(H)

 

D5

 

 

 

 

 

 

 

 

 

Length(L)

 

D6

 

 

 

 

 

 

 

 

 

STX

 

D7

 

 

 

 

 

 

 

 

 

Data

 

 

D8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ETX

 

Dn

 

 

 

 

 

 

 

 

 

Check code

 

Dn+1

P

P

P

P

P

P

P

P

Dn+1 = D1 XOR D2 XOR D3 XOR ,,, Dn

XOR: Exclusive OR

(5/50)

Image 5
Contents Communication Parameter Connectors and wiringApplication Header block format fixed length Communication FormatALL STX Message block formatETX STX ETX MSB LSBSOH 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 replySave Current Settings CommandsGet Timing Report and Timing reply MSB LSB ETXHow to change the Brightness setting Typical procedure exampleNull Message BCCHeader 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 DVI-PC DVI-HD SyncNtsc SecamPIP ON/OFF All data are subject to change without notice
Related manuals
Manual 72 pages 50.57 Kb