NEC X551UN, X551S, V801-TM, V651, V552-TM User Manual

...
5 (1)

EXTERNAL CONTROL

NEC LCD Monitor

 

 

 

Rev.3.8

INDEX

 

 

 

I. Application ................................................................................

 

3

II. Preparation ...............................................................................

 

4

2. Connectors and wiring ....................................................................

 

4

2.1

RS-232C Remote control ...............................................................

 

4

2.2

LAN control ...........................................................................

 

4

III. Communication specification...............................................................

 

5

3. Communication Parameter ................................................................

 

5

3.1

RS-232C Remote control ...............................................................

 

5

3.2

LAN control ...........................................................................

 

5

3.3

Communication timing .................................................................

 

5

4. Communication Format ...................................................................

 

6

4.1

Header block format (fixed length) ......................................................

 

7

4.2

Message block format .................................................................

 

9

4.3

Check code ..........................................................................

 

11

4.4

Delimiter ............................................................................

 

12

5. Message type ...........................................................................

 

13

5.1

Get current Parameter from a monitor. .................................................

 

13

5.2

"Get parameter" reply.................................................................

 

14

5.3

Set parameter........................................................................

 

15

5.4

"Set parameter" reply .................................................................

 

16

5.5

Commands...........................................................................

 

17

5.5.1 Save Current Settings. ............................................................

 

17

5.5.2 Get Timing Report and Timing reply. ................................................

 

18

5.5.3 NULL Message....................................................................

 

19

IV. Control Commands .......................................................................

 

20

6. Typical procedure example...............................................................

 

20

6.1. How to change the “Backlight” setting. ................................................

 

20

6.2. How to read the measurement value of the built-in temperature sensors.

..................23

6.3. Operation Code (OP code) Table.......................................................

 

26

7. Power control procedure .................................................................

 

36

7.1

Power status read ....................................................................

 

36

7.2

Power control ........................................................................

 

38

8. Asset Data read and write................................................................

 

40

8.1

Asset Data Read Request and reply ....................................................

 

40

8.2

Asset Data write .....................................................................

 

42

(1/72)

9. Date & Time read and write ..............................................................

44

9.1 Date & Time Read ....................................................................

44

9.2 Date & Time Write ....................................................................

46

10.

Schedule read and write ................................................................

49

10.1

Schedule Read ......................................................................

49

10.2

Schedule Write ......................................................................

54

11.

Self diagnosis..........................................................................

64

11.1

Self-diagnosis status read............................................................

64

12.

Serial No. & Model Name Read ..........................................................

66

12.1

Serial No. Read .....................................................................

66

12.2

Model Name Read ...................................................................

67

13.

Security Lock ..........................................................................

68

13.1

Security Lock Control................................................................

68

14.

Direct TV Chanel Read & Write ..........................................................

70

14.1

Direct TV Chanel Read & Reply .......................................................

70

14.2

Direct TV Chanel Write & Reply .......................................................

71

(2/72)

I. Application

This document defines the communications method for control of the NEC LCD monitor, MultiSync P402 /P462 /P552 /P702 /V422 /V462 /V551 /V651 /V322 /V652 /V552 /X461S /X551S /X401S /X463UN /X551UN /V463 /V423 /X462S /X552S /X462UNV /V801 when using an external controller.

(3/72)

NEC X551UN, X551S, V801-TM, V651, V552-TM User Manual

II. Preparation

2. Connectors and wiring

2.1 RS-232C Remote control

Connector: 9-pin D-Sub

Cable: Cross (reversed) cable or null modem cable

(Please refer “Controlling the LCD monitor via RS-232C Remote control” on User’s manual.)

2.2 LAN control

Connector: RJ-45 10/100 BASE-T Cable: Category 5 or higher LAN cable

(Please refer “Controlling the LCD monitor via LAN control” on User’s manual.)

(4/72)

III. Communication specification 3. Communication Parameter

3.1 RS-232C Remote control

(1)

Communication system

Asynchronous

(2)

Interface

RS-232C

(3)

Baud rate

9600bps

(4)

Data length

8bits

(5)

Parity

None

(6)

Stop bit

1 bit

(7)

Communication code

ASCII

3.2 LAN control

(1)

Communication system

TCP/IP (Internet protocol suite)

(2)

Interface

Ethernet (CSMA/CD)

(3)

Communication layer

Transport layer (TCP)

(4)

IP address

* Using the payload of TCP segment.

(Default) 192.168.0.10

 

 

* If you need to change,

(5)

Port No.

Please refer “Network settings” on User’s manual.

7142 (Fixed)

(Note)

The monitor will disconnect the connection if no packet data is received for 15 minutes.

And the controller (PC) has to re-connect to control the monitor again, after 15 minutes or more.

3.3 Communication timing

The controller should wait for a packet interval before next command is sent. The packet interval needs to be longer than 600msec for the LCD monitor.

(5/72)

4. Communication Format

Header

Message

Check Code

Delimiter

The command packet consists of four parts, Header, Message, Check code and Delimiter.

Recommended sequence of a typical procedure to control a monitor is as follows, [A controller and a monitor, two-way communication composition figure]

■ For the general command (see the part "6.3. Operation Code (OP code) Table”)

Controller

 

 

 

 

 

 

 

Monitor

 

 

 

 

 

Get Parameter

 

 

The controller sends command to

 

 

 

 

 

 

 

 

Header

Message

Check Code

Delimiter

 

 

 

 

get a value from the monitor that

 

 

 

 

Get Parameter Reply

 

 

 

you want to change.

 

 

 

 

 

 

 

The monitor replies a current value

 

 

Header

Message

Check Code

Delimiter

 

 

 

 

 

 

 

 

 

 

 

 

of the requested item.

 

 

 

 

 

 

Set Parameter

 

 

 

 

 

 

 

 

 

The controller sends commands to

 

 

 

 

 

 

 

 

 

 

Header

Message

Check Code

Delimiter

 

 

 

 

 

 

 

 

 

 

 

 

set an adjusted value.

 

 

 

 

 

 

 

 

 

 

Set Parameter Reply

Header

Message

Check Code

Delimiter

Get Parameter

Header

Message

Check Code

Delimiter

Get Parameter Reply

The monitor replies to the controller for confirmation.

The controller sends command to get a value for confirmation.

Header

Message

Check Code

Delimiter

The monitor replies an adjusted

 

 

 

 

value.

 

 

 

 

Save Current Setting Command

Header

Message

Check Code

Delimiter

Save Current Setting Command Reply

Header

Message

Check Code

Delimiter

■ For the special command (see the part 7 to 14. and 5.5.2)

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

The monitor replies to the controller for confirmation.

Controller

 

Monitor

Command

Header

Message

Check Code

Delimiter

Command Reply

Header

Message

Check Code

Delimiter

The control does not suitable for above fixed protocol; use the proper command for each control. Please refer section 5.5 and section 7 to 13.

The monitor replies a proper message defined for each control.

(6/72)

4.1 Header block format (fixed length)

 

Header

 

Message

Check code

Delimiter

 

 

 

 

 

 

 

 

 

 

 

SOH

Reserved

Destination

 

Source

 

Message

 

Message

 

'0'

 

 

Type

 

Length

 

 

1st

2nd

3rd

4th

 

5th

 

6th

-7th

 

 

1stbyte) SOH: Start of Header

ASCII SOH (01h)

2ndbyte) Reserved: Reserved for future extensions. On this monitor, it must be ASCII '0'(30h).

3rdbyte) Destination: Destination equipment ID. (Receiver)

Specify a commands receiver’s address.

The controller sets the “MONITOR ID” or “GROUP ID” of the monitor controlled in here. On the reply, the monitor sets ‘0’ (30h), always.

“MONITOR ID”, “GROUP ID” to “Destination Address” conversion table is as follows,

Monitor

Destination

Monitor

Destination

Monitor

Destination

Monitor

Destination

ID

Address

ID

Address

ID

Address

ID

Address

1

41h(‘A’)

26

5Ah(‘Z’)

51

73h

76

8Ch

2

42h(‘B’)

27

5Bh

52

74h

77

8Dh

3

43h(‘C’)

28

5Ch

53

75h

78

8Eh

4

44h(‘D’)

29

5Dh

54

76h

79

8Fh

5

45h(‘E’)

30

5Eh

55

77h

80

90h

6

46h(‘F’)

31

5Fh

56

78h

81

91h

7

47h(‘G’)

32

60h

57

79h

82

92h

8

48h(‘H’)

33

61h

58

7Ah

83

93h

9

49h(‘I’)

34

62h

59

7Bh

84

94h

10

4Ah(‘J’)

35

63h

60

7Ch

85

95h

11

4Bh(‘K’)

36

64h

61

7Dh

86

96h

12

4Ch(‘L’)

37

65h

62

7Eh

87

97h

13

4Dh(‘M’)

38

66h

63

7Fh

88

98h

14

4Eh(‘N’)

39

67h

64

80h

89

99h

15

4Fh(‘O’)

40

68h

65

81h

90

9Ah

16

50h(‘P’)

41

69h

66

82h

91

9Bh

17

51h(‘Q’)

42

6Ah

67

83h

92

9Ch

18

52h(‘R’)

43

6Bh

68

84h

93

9Dh

19

53h(‘S’)

44

6Ch

69

85h

94

9Eh

20

54h(‘T’)

45

6Dh

70

86h

95

9Fh

21

55h(‘U’)

46

6Eh

71

87h

96

A0h

22

56h(‘V’)

47

6Fh

72

88h

97

A1h

23

57h(‘W’)

48

70h

73

89h

98

A2h

24

58h(‘X’)

49

71h

74

8Ah

99

A3h

25

59h(‘Y’)

50

72h

75

8Bh

100

A4h

ALL

2Ah(‘*’)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Group

Destination

Group

Destination

Group

Destination

Group

Destination

ID

Address

ID

Address

ID

Address

ID

Address

 

A

31h(‘1’)

D

34h(‘4’)

G

37h(‘7’)

J

3Ah(‘:’)

 

B

32h(‘2’)

E

35h(‘5’)

H

38h(‘8’)

 

 

 

C

33h(‘3’)

F

36h(‘6’)

I

39h(‘9’)

 

 

 

Ex.) If you want to control a monitor that has the "ID No." as '1', specify a destination address

(7/72)

'A'(41h). If you want to control all of the monitors which are connected by a daisy chain, specify a destination address ‘ ’(2Ah).

4thbyte) Source: Source equipment ID. (Sender) Specify a sender address.

The controller must be ‘0’ (30h).

On the reply, the monitor sets the own MONITOR ID in here.

5thbyte) Message Type: (Case sensitive.)

Refer to section 4.2 “Message block format” for more details.

ASCII 'A' (41h): Command.

ASCII 'B' (42h): Command reply.

ASCII 'C' (43h): Get current parameter from a monitor.

ASCII 'D' (44h): "Get parameter" reply.

ASCII 'E' (45h): Set parameter.

ASCII 'F' (46h): "Set parameter" reply.

6th -7th bytes) Message Length:

Specify the length of the message (that follows the header) from STX to ETX. This length includes STX and ETX.

The byte data must be encoded to ASCII characters.

Ex.) The byte data 3Ah must be encoded to ASCII characters '3' and 'A' (33h and 41h). The byte data 0Bh must be encoded to ASCII characters '0' and 'B' (30h and 42h).

(8/72)

4.2 Message block format

 

 

 

 

Header

Message

Check code

Delimiter

“Message

block format”

is allied to the

“Message

Type” in the “Header”.

Refer to

the section 6

“Message format”

for more

detail.

 

1 Get current parameter

The controller sends this message when you want to get the status of the monitor.

For the status that you want to get, specify the “OP code page” and “OP code”,

refer to “Appendix A. Operation code table”.

 

 

“Message format” of the “Get current

parameter” is as follows,

 

 

 

 

 

 

 

 

 

STX

OP code page

OP code

ETX

 

 

Hi

Lo

Hi

 

Lo

 

 

 

 

 

 

Refer to section 5.1 “Get current parameter from a monitor.” for more details.

2 Get Parameter reply

The monitor will reply with the status of the requested item specified by the controller in the “Get parameter message”.

“Message format” of the “Get parameter reply” is as follows,

STX

 

Result

OP code

OP

code

Type

 

 

Max value

Current Value

 

ETX

 

 

page

 

 

 

 

Hi

 

Lo

Hi

 

Lo

Hi

 

Lo

Hi

 

Lo

MSB

 

 

 

LSB

MSB

 

 

 

LSB

 

Refer to section 5.2 “Get parameter reply” for more details.

3 Set parameter

The controller sends this message to change a setting of the monitor.

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.

4 Set 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.

5 Command

“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

(9/72)

section 5.5 “Commands message” for more details.

6 Command 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.

(10/72)

4.3 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

Following is an example of a Check code (BCC) calculation.

 

 

 

Header

 

 

 

 

 

 

 

 

Message

 

 

 

 

Check

Delimiter

SOH

Reserved

Destination

Source

Message

Message length

 

STX

OP code

OP code

 

Set Value

 

ETX

code

 

 

 

(BCC)

 

Address

Address

type

 

page

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

01

30

41

30

45

30

 

41

02

30

30

31

30

30

30

36

34

03

77

0D

D0

D1

D2

D3

D4

D5

 

D6

D7

D8

D9

D10

D11

D12

D13

D14

D15

D16

D17

D18

Check code (BCC) D17 = D1 xor D2 xor D3 xor … xor D14 xor D15 xor D16

=30h xor 41h xor 30h xor 45h xor 30h xor 41h xor 02h xor 30h xor 30h xor 31h xor 30h xor 30h xor 30h xor 36h xor 34h xor 03h

=77h

(11/72)

4.4 Delimiter

Header

Message

Check code

Delimiter

Packet delimiter code; ASCII CR(0Dh).

(12/72)

5. Message type

5.1 Get current Parameter from a monitor.

STX

OP

code page

OP

code

ETX

Hi

 

Lo

Hi

 

Lo

1st

 

2nd-3rd

 

4th–5th

6th

Send this message when you want to get the status of a monitor.

For the status that you want to get, specify the “OP code page” the “OP code”, refer to “Appendix A. Operation code table”.

1stbyte) STX: Start of Message

ASCII STX (02h)

2nd-3rdbytes) OP code page: Operation code page.

Specify the “OP code page” for the control which you want to get the status. Refer to “Appendix A Operation code table” for each item.

OP code page data must be encoded to ASCII characters.

Ex.) The byte data 02h must be encoded to ASCII characters '0' and '2' (30h and 32h). OP code page 02h -> OP code page (Hi) = ASCII '0' (30h)

OP code page (Lo) = ASCII '2' (32h)

Refer to Operation code table. (Appendix A)

4th–5thbytes) OP code: Operation code

Refer to “Appendix A Operation code table” for each item.

OP code data must be encoded to ASCII characters.

Ex.) The byte data 3Ah must be encoded to ASCII characters '3' and 'A' (33h and 41h). OP code 3Ah -> OP code (Hi) = ASCII '3' (33h)

OP code (Lo) = ASCII 'A' (41h)

Refer to Operation code table.

6thbyte) ETX: End of Message

ASCII ETX (03h)

(13/72)

5.2 "Get parameter" reply

STX

 

 

Result

OP code page

OP code

 

 

 

Type

 

 

Max value

 

Current Value

ETX

Hi

 

Lo

Hi

 

Lo

Hi

Lo

 

Hi

 

Lo

 

MSB

 

 

 

LSB

 

MSB

 

 

 

LSB

1st

 

 

2nd-3rd

4th–5th

6th –7th

 

 

8th -9th

 

 

10th -13th

 

 

14th -17th

 

18th

 

 

The monitor replies with a current value and the status of the requested item (operation code).

 

 

 

1stbyte) STX: Start of Message

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASCII STX (02h)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2nd-3rdbytes) Result code.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(14/72)

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

This OP code page data must be encoded to ASCII characters.

 

Ex.) The byte data 02h must be encoded to ASCII '0' and '2' (30h and 32h).

 

Refer to the Operation code table.

 

 

 

 

 

 

4th-5thbytes) OP code: Operation code

 

 

 

 

 

 

 

This OP code data must be encoded to ASCII characters.

 

Ex.) OP code 1Ah ->

OP code (Hi) = ASCII '1' (31h)

 

 

 

 

 

 

OP code (Lo) = ASCII 'A' (41h)

 

Refer to the Operation code table.

 

 

 

 

 

 

6th-9thbytes) Set value: (16bit)

 

 

 

 

 

 

 

 

 

This data must be encoded to ASCII characters.

 

 

 

Ex.) 0123h ->

 

1st(MSB) = ASCII '0' (30h)

 

 

 

 

 

 

 

 

2nd

= ASCII '1' (31h)

 

 

 

 

 

 

 

 

3rd

= ASCII '2' (32h)

 

 

4th(LSB) = ASCII '3' (33h)

10thbyte) ETX: End of Message

ASCII ETX (03h)

(15/72)

5.4 "Set parameter" reply

 

Result

OP code page

 

OP code

 

Type

 

Max value

Requested setting

 

STX

 

 

 

 

Value

 

ETX

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hi

 

Lo

Hi

 

Lo

 

Hi

 

Lo

 

Hi

Lo

MSB

 

 

 

LSB

MSB

 

 

 

LSB

 

1st

2nd-3rd

 

4th-5th

 

6th-7th

 

8th-9th

 

10th-13th

14th -17th

18th

 

 

The Monitor echoes back the parameter and status of the requested operation code.

 

 

 

1stbyte) STX: Start of Message

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASCII STX (02h)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2nd-3rdbytes) Result code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASCII '0''0' (30h, 30h): No Error.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASCII '0''1' (30h, 31h): Unsupported operation with this monitor or unsupported operation under

 

 

 

current condition.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4th-5thbytes) OP code page: Echoes back the Operation code page for confirmation.

 

 

 

 

 

Reply data from the monitor is encoded to ASCII characters.

 

 

 

 

 

 

 

 

 

Ex.) OP code page 02h ->

 

 

OP code page = ASCII '0' and '2' (30h and 32h)

 

 

 

 

 

Refer to Operation code table.

 

 

 

 

 

 

 

 

 

 

 

 

 

6th-7thbytes) OP code: Echoes back the Operation code for confirmation. Reply data from the monitor is encoded to ASCII characters.

Ex.) OP code 1Ah -> OP code (Hi) = ASCII '1' (31h)

OP code (Lo) = ASCII 'A' (41h)

Refer to Operation code table 8th-9thbytes) Type: Operation type code

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

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

Like Auto Setup function, that automatically changes the parameter. 10th-13thbytes) 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)

14th -17thbytes) 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) 18thbyte) ETX: End of Message

ASCII ETX (03h)

(16/72)

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.

STX

Command code

ETX

'0'

'C'

 

 

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

(17/72)

5.5.2 Get Timing Report and Timing reply.

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

STX

Command code

ETX

'0'

'7'

 

 

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;

STX

Command

 

SS

 

H Freq.

 

 

V Freq.

 

ETX

'4'

'E'

Hi

 

Lo

MSB

 

 

LSB

MSB

 

 

LSB

 

 

 

 

 

 

 

SS: Timing status byte

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

Bit 5-2 Reserved (Don't care)

Bit 1 1:Positive Horizontal sync polarity. 0:Negative Horizontal sync polarity.

Bit 0 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.

(18/72)

5.5.3 NULL Message

STX

Command code

ETX

'B'

'E'

 

 

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

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

(19/72)

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 '1'-'0' (31h, 30h): Operation code is 10h (in the ETX (03h): End of Message

0.

OP code page 0).

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)

CR (0Dh): End of packet

Step 3. The controller request the monitor to change the Backlight setting

Header

Message

Check

Delimiter

code

SOH-'0'-Monitor ID-'0'-'E'-'0'-'A'

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

BCC

CR

Header

SOH (01h): Start Of Header '0' (30h): Reserved

Monitor ID: Specify the Monitor ID of which you want to change a setting. Ex.) If Monitor ID is '1', specify 'A'.

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

'E' (45h): Message Type is "Set parameter command". '0'-'A' (30h, 41h): Message length is 10 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 page 0).

'0'-'0'-'5'-'0' (30h, 30h, 35h, 30h): Set Backlight setting 80(0050h). 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 4. The monitor replies with a message for confirmation.

Header

Message

Check code

Delimiter

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

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

BCC

CR

-'0'-'6'-'4'-'0'-'0'-'5'-'0'-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'. 'F' (46h): Message Type is "Set 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'-'5'-'0' (30h, 30h, 35h, 30h): Received a Backlight setting was 80(0050h) . 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

Repeat Step 1 and Step 2, if you need to check the Backlight setting. (Recommended) Step 5. Request the monitor to store the Backlight setting. (Save Current Settings Command)

(21/72)

Header

Message

Check code

Delimiter

SOH-'0'-Monitor ID-'0'-'A'-'0'-'4'

STX-'0-'C'-ETX

BCC

CR

Header

SOH (01h): Start Of Header '0' (30h): Reserved

Monitor ID: Specify the Monitor ID which you want to store the setting. Ex.) If Monitor ID is '1', specify 'A'.

'0' (30h): Message sender is the controller. 'A' (41h): Message type is "Command".

'0'-'4' (30h, 34h): Message length is 4 bytes.

Message

STX (02h): Start of Message

'0'-'C' (30h, 43h): Command code is 0Ch as "Save current settings". 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

(22/72)

Loading...
+ 50 hidden pages