-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).
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.
(3/40)
1)Get currentparameter
Lo Hi Lo
Hi Lo Hi Lo Hi Lo
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
3
)
Set parameter
The controller sends this message to change a setting of the monitor.
STX
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.
Message format of the “Set parameter” is as follows,
OP code
page
Hi
Refer to section 5.3 “Set parameter” for more details.
OP code page
Hi Lo Hi Lo
OP code
page
OP code Set Value
OP code Type Max value Current Value
parameter” is as follows,
OP code
MSB
ETX
LSB
ETX
LSB MSB
ETX
LSB
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
Hi Lo
5
)
Command
“Command message” format depends on each command.
Usually, this “command message” is used for some non-sli der controls and some special o perations,
such as “Save curr ent settings”, “Get timing report”, “power cont rol”, “Schedule”, etc. Refer to
section 5. 5 “Commands message” for more details.
6
)
Command reply
The monitor replies to a query from the controller.
Refer to section 5.4 “Set parameter reply” for more details.
OP code
page
OP code
Type Max value
MSB
LSB MSB LSB
Requested setting
Value
ETX
(4/40)
“Command reply message” format depends on each command.
n+1
Refer to section 5.5 “Commands message” for more details.
4.5 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 D5
STX D6
Data D7
| |
| |
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.
The monitor replies status as the following format;
Command SS H Freq. V Freq.
'4' 'E' Hi Lo MSB LSB MSB LSB
SS: Timing status byte
ETX
STX
Bit 7 = 1: Sync Frequency is out of range.
Bit 6 = 1: Unstable count
(9/40)
Bit 5-2 Reserved (Don't care)
Bit 1 1:Po sitive Horizontal sync polarity.
0:Negative Horizonta l sync pol arity.
Bit 0 1:Po sitive 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.
5.5.3 NULL Message
0:Negative Vertical sync polarity.
STX
The NULL message returned from the monitor is used in the following cases;
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 th e section 4.5 “Check code” for a BCC calculation.
(10/40)
Delimiter
CR (0Dh): End of packet
Step 2. The monitor replies with current Brightness 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' (3 0h, 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): Brightness max value is 100(0064h).
'0'-'0'-'3'-'2' (30h, 30h, 33h, 32h): Current Brightness setting is 50(0032h) .
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to th e section 4.5 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
Step 3. The controller request the monitor to change the Brightness 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 Brightness setting 80(0050h).
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to th e 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.
Delimiter
Delimiter
(11/40)
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
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' (3 0h, 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): Brightness max value is 100(0064h).
'0'-'0'-'5'-'0' (30h, 30h, 35h, 30h): Received a Brightness setting was 80(0050h) .
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to th e 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 Brightness setting. (Recommended)
Step 5. Request the monitor to store the Brightness 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 th e section 4.5 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
Delimiter
BCC CR
6.2. How to read the measurement value of the built-in temperature sensors.
MultiSync LCD4020/4620/5220/6520 has three, or MULTEOS M40/46 has two built-in temperat ure sensors.
The controller can monitor inside temperatures by using those sensors through RS-232C.
The following shows the procedure for reading the temperatures from the sensors.
Step 1. Select a temperature sensor which you want to read.