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)
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)
* Using the payload of TCP segment.
(4) IP address (Default) 192.168.0.10
* If you need to change,
Please refer “Network settings” on User’s manual.
(5) Port No. 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 wai t for a packet interval before next command is sent.
The packet interval needs to be longer than 600msec for the LCD monitor.
(5/72)
Header
Delimiter
Header
Delimiter
Header
Delimiter
Header
Delimiter
Header
Delimiter
Header
Delimiter
Header
Delimiter
Header
Delimiter
Header
Delimiter
Header
Delimiter
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”)
Get Parameter
Message
Check Code
Get Parameter Reply
Message
Check Code
Set Parameter
Message
Check Code
Set Parameter Reply
Message
Check Code
Get Parameter
Message
Check Code
Get Parameter Reply
Message
Check Code
Save Current Setting Command
Message
Check Code
Save Current Setting Command Reply
Message
Check Code
Monitor Controller
The controller send s command to
get a value from the monitor that
you want to change.
The monitor replies a current va lue
of the requested item.
The controller sends commands to
set an adjusted value.
The monitor replies to the
controller for confirmation.
The controller sends command to
get a value for confirmation.
The monitor replies an adjusted
value.
The controller requests to store
the adjusted value to the monitor.
The mo nitor replies to the
controller for confirmation.
■
For the special command (see the part 7 to 14. and 5.5.2)
Command
Message
Command Reply
Message
Check Code
Check Code
(6/72)
Monitor Controller
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.
-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)
Lo Hi Lo
Hi Lo Hi Lo Hi Lo
4.2 Message block format
“Message block format” is allied to the “Message Type” in the “Header”.
Refer to the section 6 “Message format” for more detail.
1
)
Get currentparameter
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
2
)
Get Parameter reply
The monitor will reply with the status of the requested item specified by the controller
in the “Get parameter message”.
STX
Hi
STX
Refer to section 5.1 “Get current parameter from a monitor.” for more details.
“Message format” of the “Get parameter reply” is as follows,
Result
Lo Hi Lo Hi Lo Hi Lo MSB
Refer to section 5.2 “Get parameter reply” for more details.
OP code page OP code
Hi Lo Hi Lo
OP code
page
Header
OP code Type Max value Current Value
Message
parameter” is as follows,
Check code Delimiter
ETX
LSB MSB
ETX
LSB
3
)
Set parameter
The controller sends this message to change a setting of the monitor.
Message format of the “Set parameter” is as follows,
OP code
STX
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,
5
)
Command
Result
Hi Lo
STX
page
Hi
Refer to section 5.3 “Set parameter” for more details.
OP code
Refer to section 5.4 “Set parameter reply” for more details.
OP code Set Value
page
OP code
MSB
ETX
LSB
Type Max value
MSB
Requested setting
Value
LSB MSB LSB
ETX
“Command message” format depends on each command.
Usually, this “com mand 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)
n+1
4.3 Check code
Header Message
Check code is the Block Check Code (BCC) between the Header and the End of Message except SOH.
27 26 25 24 23 22 21 20
SOH D0
Reserved D1
Destinatio n D2
Source D3
Type D4
Length(H) D5
Length(L) D6
STX D7
Data D8
| |
| |
ETX Dn
Check code D
P P P P P P P P
D
= D1 XOR D2 XOR D3 XOR ,,, D
n+1
n
XOR: Exclusive OR
Check code
Delimiter
Following is an example of a Check code (BCC) calculation.
Send this message when you want to get the status of a monitor.
For the status that you want to get, specify the “OP co de page” the “ OP co de”, refer t o
A. Operati on code table”.
st
1
byte) STX : Start of Message
ASCII STX (02h)
nd-3rd
2
bytes) 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)
“Appendix
Refer to Operation code table. (Appendix A)
th–5th
4
bytes) 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.
th
6
byte) ETX: End of Message
ASCII ETX (03h)
(13/72)
5.2 "Get parameter" reply
STX
st
1
Result OP code page
OP code
Hi Lo Hi Lo Hi Lo Hi Lo MSB
2nd-3rd 4th–5th 6th –7th 8th -9
Type Max value Current Value
th
10th -13th 14th -17th 18th
LSB MSB
LSB
The monitor replies with a current value and the status of the requested it em (operation code).
st
1
byte) STX: Start of Message
ASCII STX (02h)
nd-3rd
2
bytes) Result code.
These bytes indicate a result of the requested commands as follows,
00h: No Error.
01h: Unsupported operation with this monito r or unsupported operation u nder 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).
th–5th
4
bytes) 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).
ETX
Refer to the operation code table.
th
6
–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).
th
8
-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).
th
10
-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)
th
14
-17thbytes) Current Value: (16bits)
This returned value from the monitor is encoded to ASCII characters.
Ex.) '0','1','2' and '3' means 0123h (291)
th
18
byte) ETX: End of Message
ASCII ETX (03h)
(14/72)
5.3 Set parameter
th
STX
st
1
OP code page
OP code
Hi Lo Hi Lo MSB
2nd-3rd 4th-5th 6th-9th 10
Set Value
LSB
ETX
Send this message to change monitor’s adjustment and so on.
The controller requests a monitor to change value.
st
1
byte) STX: Start of Message
ASCII STX (02h)
nd-3rd
2
bytes) 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.
th-5th
4
bytes) 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.
th-9th
6
bytes) Set value
: (
16bit)
This data must be encoded to ASCII characters.
Ex.) 0123h -> 1
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.
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
BCC CR
Delimiter
(20/72)
CR (0Dh): End of packet
Step 3. The controller request the monitor to change the Backlight setting
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'
-'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)
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
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.