This document defines the communications method for control of the NEC LCD monitor, MultiSync E705
/E805 when using an external controller.
(3/104)
II. Preparation
2. Connectors and wiring
2.1 RS-232C Remote control
Connect or: 9-pin D-Su b
Cable: Cross (reverse d) cable or null modem cable
(Please refer “Controlling the LCD monitor via RS-232C Remote control” on User’s manual.)
2.2 LAN control
Connect or: RJ-45 10/1 00 BASE-T
Cable: Category 5 or higher LAN cable
(Please refer “Controlling the LCD monitor via LAN control” on User’s manual.)
(4/104)
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 AS CII
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) Automatic setup
* 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 moni tor again, after 15 mi nutes or more.
3.3 Communication timing
The controller should wait for a reply packet before the next command is sent.
(Note)
When the followi ng commands are sent, a controller shou ld wait for specifi ed period after receiving
the reply command before sending the next command.
Power On, Power Off: 15 seconds
Input, PIP Input, Auto Setup, Factory Reset: 10 seconds
(5/104)
Header
Delimiter
Set Parameter
Set Parameter Reply
Get Parameter
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
Message
Check Code
Message
Check Code
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 value
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 24. and 5.5.2)
Command
Message
Command Reply
Message
Check Code
Check Code
(6/104)
Monitor Controller
The cont rol does not suitable for
above fixed protocol; use the
proper command for each control.
Please refer section 5.5 and
section 7 to 24.
The monitor replies a proper
message defined for each control.
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’)
Destination
Address
Destination
Address
Monitor
ID
Group
ID
Address
Destination
Address
Monitor
ID
Group
ID
Destination
Address
Destination
Address
Monitor
ID
Group
ID
Address
Destination
Address
(7/104)
Ex.) If you want to control a monitor that has the "ID No." as '1', specify a destination address
'A'(41h). If you want to control all of the monitors which are connected by a daisy chain, specify
a destination address ‘*’(2Ah).
th
4
byte) 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.
th
5
byte) Message Type: (Case sensitive.)
Refer to section 4.2 “Message block format” for more details.
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.
th
6
-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/104)
Hi Lo Hi Lo
Hi Lo Hi Lo Hi Lo Hi 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 4.1 “Header block 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,
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
STX OP cod e
page
Refer to section 5.1 “Get current parameter from a monitor.” for more details.
OP code
page
Refer to section 5.2 “Get parameter reply” for more details.
Header
OP code
Message
ETX
Type Max va lue Current Va lue ETX
Check code Delimiter
MSB
LSB MSB
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,
STX
4)Set Parameter reply
The monitor replies with this message for a confirmation of the “Set parameter message”.
STX Result OP code
5)Command
OP code
page
Hi Lo Hi Lo MSB
Refer to section 5.3 “Set parameter” for more details.
Message format of the “Set parameter reply” is as follows,
page
Refer to section 5.4 “Set parameter reply” for more details.
OP code
OP code
Set Value ETX
LSB
Type Max value Requested setting
MSB
Value
LSB MSB
ETX
LSB
“Command message” format depends on each command.
Usually, this “command message” is used for some non-slider controls and some special operations,
(9/104)
such as “S ave cu rrent settings”, “Get timing report”, “power control”, “Schedule”, etc. Refer to
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/104)
n+1
Header
Message
Check
Delimiter
SOH Reserved
Destination
Source
Message
Message length
STX OP code
OP code
Set Value
ETX
0
8
9
10
11
12
13
14
15
16
17
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.
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:Nega tive H orizon tal sy nc pol arity.
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
ETX
MSB
LSB
MSB
LSB
Ex.) When H Freq is '1''2''A''9' (31h, 32h, 41h, 39h), it means 47.77kHz.
(19/104)
5.5.3 NULL Message
STX
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)
A null message will be returned by the monitor if the “Start Proof of Play” command is sent
and the monitor has already started Proof of Play.
A null message will be returned by the monitor if the “Stop Proof of Play” command is sent
and the mo nitor has not started Proof of Play.
Complete " NULL Message" command packet as follows;
ETX
(20/104)
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
SOH-'0'-Monitor ID-
'0'-'C'-'0'-'6'
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.3 “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
SOH-'0'-'0'-Monitor ID-
'D'-'1'-'2'
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.3 “Check code” for a BCC calculation.
STX-'0'-'0'-'1'-'0'-ETX BCC CR
STX-'0'-'0'-'0'-'0'-'1'-'0'-'0'-'0'
-'0'-'0'-'6'-'4'-'0'-'0'-'3'-'2'-ETX
Delimiter
Delimiter
BCC CR
(21/104)
Delimiter
CR (0Dh): End of packet
Step 3. The controller request the monitor to change the Backlight setting
Header Message Check code
SOH-'0'-Monitor ID-
'0'-'E'-'0'-'A'
STX-'0'-'0'-'1'-'0'-
'0'-'0'-'5'-'0'-ETX
BCC CR
Delimiter
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.3 “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
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
BCC CR
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.3 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
Delimiter
(22/104)
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)
Header Message Check code
SOH-'0'-Monitor ID-
'0'-'A'-'0'-'4'
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.3 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
STX-'0-'C'-ETX BCC CR
Delimiter
(23/104)
6.2. How to read the measurement value of the built-in temperature sensors.
MultiSync E705 /E805 have t hr ee built-in temp er ature sensors.
The controller can monitor inside temperatures by using those sensors with external control.
The following shows the procedure for reading the temperatures from the sensors.
Step 1. Select a temperature sensor which you want to read.
Header Message Check code
SOH-'0'-Monitor ID-
'0'-'E'-'0'-'A'
Header
SOH (01h): Start of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID which you want to get a value.
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'-'2' (30h, 32h): Operation code page number is 2.
'7'-'8' (37h, 38h): Operation code is 78h (on page 2).
'0'-'0'-'0'-'1' (30h, 30h, 30h, 31h): Select the temperature sensor #1 (01h).
00h: No meaning
01h: Sensor #1
02h: Sensor #2
03h: Sensor #3
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.3 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
Step 2. The monitor replies for confirmation.
STX-'0'-'2'-'7'-'8'-
'0'-'0'-'0'-'1'-ETX
BCC CR
Delimiter
Header Message Check code Delimiter
SOH-'0'-'0'-Monitor ID-
'F'-'1'-'2'
Header
SOH (01h): Start of Header
'0' (30h): Reserved
'0' (30h): Message receiver is the controller.
Monitor ID: Indicates 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'-'2' (30h, 32h): Operation code page number is 2.
'7'-'8' (37h, 38h): Operation code is 78h (in the page 2).
'0'-'0' (30h, 30h): This operation is "Set parameter" type.
STX-'0'-'0'-'0'-'2'-'7'-'8'-'0'-'0'-
'0'-'0'-'0'-'3'-'0'-'0'-'0'-'1'-ETX
(24/104)
BCC CR
'0'-'0'-'0'-'3' (30h, 30h, 30h, 33h): Number of temperature sensors are 3 (0003h).
'0'-'0'-'0'-'1' (30h, 30h, 30h, 31h): temperature sensor is #1.
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.3 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
Step 3. The controller requests the monitor to send the temperature from the selected sensor.
Header Message Check code
SOH-'0'-Monitor ID-
STX-'0'-'2'-'7'-'9'-ETX BCC CR
Delimiter
'0'-'C'-'0'-'6'
Header
SOH (01h): Start of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID 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".
'0'-'6' (30h, 36h): Message length is 6 bytes.
Message
STX (02h): Start of Message
'0'-'2' (30h, 32h): Operation code page number is 2.
'7'-'9' (37h, 39h): Operation code is 79h (in the page 2).
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.3 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
Step 4. The monitor replies a temperature of selected sensor.
Header Message Check code
SOH-'0'-'0'-Monitor ID-
'D'-'1'-'2'
STX-'0'-'0'-'0'-'2'-'7'-'9'-'0'-'0'
-'F'-'F'-'F'-'F'-'0'-'0'-'3'-'2'-ETX
BCC CR
Delimiter
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'-'2' (30h, 32h): Operation code page number is 2.
'7'-'9' (37h, 39h): Operation code is 79h (in the page 2).
'0'-'0' (30h, 30h): This operation is "Set parameter" type.
'F'-'F'-'F'-'F' (46h, 46h, 46h, 46h): Maximum value.
'0'-'0'-'3'-'2' (30h, 30h, 33h, 32h): The temperature is 25 degrees Celsius.
(25/104)
Readout value is 2's complement.
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.3 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
Temperature [Celsius]
+125.0 0000 0000 1111 1010 00FAh