RS232/LAN Serial Communication Control Specification for A2129 (MDT552S/LDT552V) 1. Application This document defines the communication protocols for serial control of the A2129(MDT552S/LDT552V). A2129: A common regulatory name for MDT552S and LDT552V. This model name is noted on rating label. MDT552S: A model name for the market, US, EU and Asia and others, except for Japan. LDT552V: A model name for the Japan market. -----Revision History----th Dec. 15 2012 1st release H.Tanizoe, M.Hayashi, M.
. Connectors and wiring You connect the computer and the displays with serial cables for the display control. You can use one of serial communication control ports with selecting whether RS-232C or LAN. A: RS-232C connection Connector: D-Sub 9-pin Cable: Cross (reversed) cable or null modem cable B: LAN connection Connector: Modular 8pin (RJ45) Cable: Modular 8pin (RJ45), Strait CAT5/6/7 LAN cable * If you connect one PC and one display without LAN HUB, you use Cross LAN cable.
. Communication Parameter Set each communication parameters to the PC connected with each kind of cable.
3.1 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 A2129(MDT552S/LDT552V)”. [Important Information] HOST system shall send next command after receiving a reply command from Monitor, if it is sequential commands communication. If Host doesn’t wait for monitor’s reply, monitor operation error may happen.
Example of communication timing Command #1 Command #2 PC Reply #1 Reply #2 Display b2 b1 a2 a1 Characters of Command #1 0 0 v P C R c1 * Command interval from PC (Wait sending next command for processing in display.) a > 14sec: When Command #1 is power command “POWER ON”,”POWER OFF”. a > 5sec: When Command #1 is video input command “INPUT D-SUB”,”INPUT VIDEO”, etc. a > 1.8sec: When Command #1 is store the adjusted value command “SAVE CURRENT SETTINGS”, “SAVE CURRENT SETTINGS QUICK”.
4. Communication Format 4.1. Basic command This command set supports only the basic control of monitor and does NOT support multi monitor control by daisy chained connection. This command set will be written in the user’s manual of A2129(MDT552S/LDT552V). 1) Control command diagram The command is structured by the address code, function code, data code and end code. The length of the command is different for each function.
3) Operation commands The operation commands execute the basic operation setting of this LCD monitor.
5) Remote command (Not executable in sleep/standby mode. When the remote commands are sent while sleep/standby mode, the sleep/stand-by mode is only canceled.) Some remote control operations can be achieved by the remote command codes. The remote commands have no data codes. Button’s name on remote Function Character ASCII +/VOLUME r06 72h 30h 36h -/VOLUME r07 72h 30h 37h AV MUTE ra6 72h 61h 36h AUTO SETUP r09 72h 30h 39h [Example] When executing the AUTO SETUP.
4.2. Extended command Note: This command set supports multi monitor control by daisy chained connection. This command set will NOT be written in the user’s manual of A2129(MDT552S/LDT552V). The command packet consists of four parts, Header, Message, Check code and Delimiter.
4.3 Header block format (fixed length) SOH 1st Reserved '0' 2nd Destination 'A' 3rd Header Message Type Source 4th Message 5th Check code Delimiter Message Length 6th -7th 1stbyte) SOH: Start of Header ASCII SOH (01h) 2ndbyte) Reserved: Reserved for future extensions. A2129(MDT552S/LDT552V) must be ASCII '0'(30h) 3rdbyte) Destination: Destination equipment ID. (Receiver) Specify a command’s receiver’s address.
4.4 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 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; OP code page Hi Lo STX OP code Hi Lo ETX Refer to section 5.
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.
4.5 Check code Header Check code Message Delimiter Check code is the Block Check Code (BCC) between the Header and the End of Message except SOH. SOH Reserved Destination Source Type Length STX Data | | ETX Check code D0 D1 D2 D3 D4 D5 D6 D7 | | Dn Dn+1 27 26 25 24 23 22 21 20 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 SOH Reserved .
5. Message type 5.1 Get current Parameter from a monitor. STX 1 st OP code page Hi Lo 2nd-3rd OP code Hi Lo 4th–5th ETX 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.
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).
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. 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.
ASCII '0''0' (30h, 30h): Set parameter ASCII '0''1' (30h, 31h): Momentary Like Auto Setup function, that automatically changes the parameter. th 10 -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.
ASCII: 01h-30h-41h-30h-41h-30h-34h-02h-30h-44h-03h-CHK-0Dh SOH-'0'-'A'-'0'-'A'-'0'-'4'-STX-'0'-'D'-ETX-CHK- CR The monitor replies the packet for confirmation as follows; SOH-'0'-'0'-'A'-'B'-'0'-'6'-STX-'0'-'0'-'0'-'D'-ETX-CHK- CR 5.5.2 Get Timing Report and Timing reply. The controller requests the monitor to report the displayed image timing. STX Command code '0' '7' Send "07"(30h, 37h) as Get Timing Report command.
Complete "NULL Message" command packet as follows; (The destination “A” (monitor ID of 1) is only an example. It should be changed according to the target monitor ID) 01h-30h-30h-41h-41h-30h-34h—02h-42h-45h-03h-CHK-0Dh SOH-'0'-'0'-'A'-'A'-'0'-'4'-STX-'B'-'E'-ETX-CHK- CR 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 “Brightness” setting. Step 1.
'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): Brightness max value is 100(0064h) '0'-'0'-'3'-'2' (30h, 30h, 33h, 32h): Current Brightness setting is 50(0032h) as 50% 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 3.
'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) as 80% 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 1. Repeat Step 1 and Step 2, if you need to check the Brightness setting. (Recommended) Step 5.
'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 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 for confirmation.
Message STX (02h): Start of Message '0'-'2' (30h, 32h): Operation code page number is 02h. '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.5 “Check code” for a BCC calculation. Delimiter CR (0Dh): End of packet Step 4. The monitor replies a temperature of selected sensor.
7. Power control procedure 7.1 Power status read 1) The controller requests the monitor to reply a current power status. Header SOH-'0'-'A'-'0'-'A'-'0'-'6' Message STX-'0'-'1'-'D'-'6'-ETX Check code BCC Delimiter CR Header SOH (01h): Start Of Header '0' (30h): Reserved 'A' (41h): Monitor ID If the command should be sent to certain monitor only, the either of character ‘A’(41h) to ‘Z’(5Ah) which is corresponding to monitor ID from No1 to No.26 should be set to this portion.
CR (0Dh): End of packet 7.2 Power control 1) The controller requests the monitor to control monitor power. Header SOH-'0'-'A'-'0'-'A'-'0'-'C' Message STX-'C'-'2'-'0'-'3'-'D'-'6''0'-'0'-'0'-'1'-ETX Check code BCC Delimiter CR Header SOH (01h): Start Of Header '0' (30h): Reserved 'A' (41h): Monitor ID If the command should be sent to certain monitor only, the either of character ‘A’(41h) to ‘Z’(5Ah) which is corresponding to monitor ID from No1 to No.26 should be set to this portion.
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. 8. Asset Data read and write 8.1 Asset Data Read Request and reply This command is used in order to read Asset Data. 1) The controller requests the monitor to reply with Asset data.
'C'-'1'-'0'-'B' (43h, 31h, 30, 42h): Asset read reply command Data(0) – Data(N): Retuned Asset data. 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 8.2 Asset Data write This command is used in order to write Asset Data. 1) The controller requests the monitor to write Asset data.
Message STX (02h): Start of Message '0'-'0': Result code. No error 'C'-'0'-'0'-'E' (43h, 30h, 30, 45h): Asset Data write command '0'-'0': Offset address from top of Asset data. 00h : Write data into from top of the Asset data area. Data(0) –- Data(N): Asset data. The data must be ASCII characters strings. 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 9. Date & Time read and write 9.
STX (02h): Start of Message 'C'-'3'-'1'-'1' (43h, 33h, 31h, 31h): Date & Time read reply command 'YY'-'MM'-'DD'-'WW'-'HH'-'MN'-'DS': Date & Time data YY: Year (offset 2000) '0'-'0'(30h, 30h): 2000 | '6'-'3'(36h, 33h): 2099 (99 = 63h) MM: Month '0'-'1'(30h, 31h): January | '0'-'C'(30h, 43h): December DD: Day '0'-'1'(30h, 31h): 1 | '1'-'E'(31h, 45h): 30(=1Eh) '1'-'F'(31h, 46h): 31(=1Fh) WW: weekdays '0'-'0'(30h, '0'-'1'(30h, '0'-'2'(30h, '0'-'3'(30h, '0'-'4'(30h, '0'-'5'(30h, '0'-'6'(30h, 30h): 31h): 32h):
'0' (30h): Message sender is the controller 'A' (41h): Message type is "Command" '1'-'4'(31h, 34h): Message length.
'C'-'3'-'1'-'2' (43h, 33h, 31h, 32h): Date & Time write reply command ST: Date & Time Status command '0'-'0'(30h, 30h): No error '0'-'1'(30h, 31h): Error 'YY'-'MM'-'DD'-'WW'-'HH'-'MN'-'DS': Date & Time data YY: Year (offset 2000) '0'-'0'(30h, 30h): 2000 | '6'-'3'(36h, 33h): 2099 (99 = 63h) MM: Month '0'-'1'(30h, 31h): January | '0'-'C'(30h, 43h): December DD: Day '0'-'1'(30h, 31h): 1 | '1'-'E'(31h, 45h): 30(=1Eh) '1'-'F'(31h, 46h): 31(=1Fh) WW: weekdays This parameter if no use, since the week is automatica
10. Schedule read and write 10.1 Schedule Read This command is used in order to read the setting of the Schedule. 1) The controller requests the monitor to read Schedule Header Message Check code SOH-'0'-'A'-'0'-'A'-'0'-'8' STX-'C'-'2'-'1'-'3'-PG-ETX BCC Delimiter CR Header SOH (01h): Start Of Header '0' (30h): Reserved 'A' (41h): Monitor ID If the command should be sent to certain monitor only, the either of character ‘A’(41h) to ‘Z’(5Ah) which is corresponding to monitor ID from No1 to No.
'3'-'C'(33h, 43h): On timer isn't set. OFF_HOUR: Turn off time (hour) '0'-'0'(30h, 30h): 00 | '1'-'7'(31h, 37h): 23 (=17h) '1'-'8'(31h, 38h): Off timer isn't set. OFF_MIN: Turn off time '0'-'0'(30h, 30h): | '3'-'B'(33h, 42h): '3'-'C'(33h, 43h): INPUT: Timer input '0'-'0'(30h, 30h): '0'-'A'(30h, 48h): '0'-'1'(30h, 31h): '0'-'2'(30h, 32h): '0'-'4'(30h, 34h): '0'-'5'(30h, 35h): '0'-'6'(30h, 36h): '0'-'7'(30h, 37h): '0'-'8'(30h, 38h): '0'-'9'(30h, 39h): (minute) 0 59 (=3Bh) Off timer isn’t set.
10.2 Schedule Write This command is used in order to write the setting of the Schedule. 1) The controller requests the monitor to write Schedule.
bit bit bit bit bit bit 1: 2: 3: 4: 5: 6: Tuesday Wednesday Thursday Friday Saturday Sunday Example) '0'-'1'(30h, '0'-'4'(30h, '0'-'F'(30h, '7'-'F'(37h, 31h): 34h): 46h): 46h): Monday Wednesday Monday, Tuesday, Wednesday and Thursday Monday to Sunday FL: Option bit 0: Everyday bit 1: Every week bit 2: Schedule Disable/Enable * When bit0 and bit1 are '1', it behaves as Everyday.
ON_HOUR: Turn on '0'-'0'(30h, | '1'-'7'(31h, '1'-'8'(31h, time (hour) 30h): 00 37h): 23 (=17h) 38h): ON timer isn't set. ON_MIN: Turn on time (minute) '0'-'0'(30h, 30h): 0 | '3'-'B'(33h, 42h): 59 '3'-'C'(33h, 43h): On timer isn’t set. OFF_HOUR: Turn off time (hour) '0'-'0'(30h, 30h): 00 | '1'-'7'(31h, 37h): 23 (=17h) '1'-'8'(31h, 38h): Off timer isn't set.
Check code BCC: Block Check Code Refer to the section 4.5 “Check code” for a BCC calculation. Delimiter CR (0Dh): End of packet 11. Self diagnosis 11.1 Self-diagnosis status read This command is used in order to read the Self-diagnosis status. 1) The controller requests the monitor to read Self-diagnosis status.
90:PANEL Backlight Driver Error The data must be ASCII characters strings. Example) The byte data 70 is encoded as ASCII characters '7' and '0' (37h and 30h). ETX (03h): End of Message Check code BCC: Block Check Code Refer to the section 4.5 “Check code” for a BCC calculation.
12. Serial No. & Model Name Read 12.1 Serial No. Read This command is used in order to read a serial No. 1) The controller requests the monitor to read a serial No. Header Message SOH-'0'-'A'-'0'-'A'-'0'-'6' STX-'C'-'2'-'1'-'6'-ETX Check code BCC Delimiter CR Header SOH (01h): Start Of Header '0' (30h): Reserved 'A' (41h): Monitor or ID If the command should be sent to certain monitor only, the either of character ‘A’(41h) to ‘Z’(5Ah) which is corresponding to monitor ID from No1 to No.
12.2 Model Name Read This command is used in order to read the Model Name. 1) The controller requests the monitor to read Model Name. Header Message SOH-'0'-'A'-'0'-'A'-'0'-'6' STX-'C'-'2'-'1'-'7'-ETX Check code BCC Delimiter CR Header SOH (01h): Start Of Header '0' (30h): Reserved 'A' (41h): Monitor ID If the command should be sent to certain monitor only, the either of character ‘A’(41h) to ‘Z’(5Ah) which is corresponding to monitor ID from No1 to No.26 should be set to this portion.
13. Control Commands for Auto Brightness function A2129(MDT552S/LDT552V) supports the Auto Brightness function via RS232c control in order to share a sensor detected result in a monitor with multiple monitors. We have 2 modes of control. Stand alone mode: A monitor can control the others as Master(Primary). Remote control mode: All of monitors are controlled by Host PC as slave(Secondary). 13.1 Auto Brightness Parameter Read Read parameters about AUTO BRIGHTNESS from A monitor to Host PC.
bit5:Video Detect(1:On,0:Off) bit6-7:Not used VAL_H: ASCII code of bit4-7of data VAL_L: ASCII code of bit0-3 of data Example) If Bit0 and 1 =1 and the other bits =0, (00000011) VAL_H='0'(0x30) VAL_L='3'(0x33) ETX (03h): End of Message Check code BCC: Block Check Code Refer to the section 4.5 “Check code” for a BCC calculation.
13.2 Auto Brightness Parameter Write Send Auto Brightness Parameters from Host( PC or Primary Monitor) to Slave (Secondary) Monitors. 1) Write Parameters from PC to Monitor.
bit4:Saturation(1:On,0:Off) bit5:Video Detect(1:On,0:Off) bit6-7:Not used VAL_H: ASCII code of bit4-7of data VAL_L: ASCII code of bit0-3 of data Example) If Bit0 =1, Bit1 =1 and the other bits =0 (00000011b), then VAL_H='0'(0x30) and VAL_L='3'(0x33). ETX (03h): End of Message Check code BCC: Block Check Code Refer to the section 4.5 “Check code” for a BCC calculation.
13.3 Auto Brightness Sensor Read Read light sensor detected data from Monitor to Host PC. 1) Read Request from PC to Monitor. Header Message Check code Delimiter SOH-'0'-'A'-'0'-'A'-'0'-'6' STX-'C'-'2'-'2'-'3'–ETX BCC CR Header SOH (01h): Start Of Header '0' (30h): Reserved 'A' (41h): Monitor ID If the command should be sent to certain monitor only, the either of character ‘A’(41h) to ‘Z’(5Ah) which is corresponding to monitor ID from No1 to No.26 should be set to this portion.
BCC: Block Check Code Refer to the section 4.5 “Check code” for a BCC calculation.
13.4 Auto Brightness Sensor Write Broadcast light sensor data from Host(PC or Primary Monitor) to Secondary Monitors. 1) Write Parameters from PC to Monitors.
FVAL_HL:Front Sensor Detected Data(High Low byte) FVAL_LH:Front Sensor Detected Data(Low High byte) FVAL_LL:Front Sensor Detected Data(Low Low byte) BVAL_HH:Back Sensor Detected Data(High High byte) BVAL_HL:Back Sensor Detected Data(High Low byte) BVAL_LH:Back Sensor Detected Data(Low High byte) BVAL_LL:Back Sensor Detected Data(Low Low byte) APL_HH:APL data(High High byte) APL_HL:APL data(High Low byte) APL_LH:APL data(LowHigh byte) APL_LL:APL data(Low Low byte) ETX (03h): End of Message Check code BCC: Bl
14. Control Commands for Automatic ID Assignment function You can set sequential Monitor ID automatically for daisy chained monitors. This function is executed by following 2 steps. Step1: Change the communication mode to “ID assignment mode” by Mode change command. Step2: Apply Monitor ID by Automatic ID assignment Command. 14.1 Mode Change Command Change the RS232C communication mode to “ID assignment Mode”. 1) Write Parameters from PC to Monitors.
14.2 Automatic ID Assignment This command executes the Automatic ID assignment operation by Monitor itself. Only start ID should be suggested by Host to 1st connected Monitor and daisy chained monitor can assign own Monitor ID one by one sequentially. 1) Write Parameters from PC to Monitors.
Appendix A. Operation Code (OP code) Table [Note: Do not send any code to monitor except for the codes in following table. If you sent any “undefined” code to monitor, it may cause error of Monitor operation.
OP code H Resolution OP code page 02h V Resolution 02h 51h Zoom Mode 02h CEh 50h Zoom H-Expansion 02h 6Ch Zoom V- Expansion 02h 6Dh 0: | Max. 0: | Max.
Item OP code page 02h OP code Parameter DCh 02h 7Dh 02h DDh Color System 02h 21h Side Border Color 02h DFh Factory Reset 00h 04h 1:normal 2:decrease brightness 1:Auto 2:Forced ON 0: 0s(Off) | 90: 900s 1: NTSC 2: PAL 3: SECAM 4: Auto 5: 4.
Item OP code page 02h OP code 40h 0: 1: 2: 3: 4: Scan Mode 02h E3h Scan Conversion 02h 25h Film Mode 02h 23h Monitor ID IR Control 02h 02h 3Eh 3Fh H monitor 02h D0h V monitor 02h D1h Position 02h D2h Mode 02h D3h 02h D5h 02h D8h Control the Closed Caption Function 02h FDh Advanced Option Reset Input 02h 00h E4h 60h Picture Mode 02h 1Ah 1: OVER SCAN 2: UNDERSCAN 1: OFF(INTERLACE) 2: Enable (IP ON/PROGRESSIVE) 1: OFF 2: AUTO 1-26:ID 1: Lock (Off) 3:Primary 2: Normal 4:
Item OP code page 02h OP code Parameter Remarks 73h This operation has limitation of selection. Please refer to the monitor instruction manual.
B. Application Note for LAN based communication The RS-232C command code is been able to execute on LAN. When you make your application program, you use socket port as a TCP/IP client. Please refer general technical documents (commercially available) of network control. Preparation of system setup (1) Connect with the PC, the displays and LAN HUB with LAN cable. (See page 2.) (2) The Main Power Switch (AC) of the display is ON. So the modes of the display are Powr On, Power Off or Sleep/Standby.
C. Power control timing instruction for OPS PC.
All data are subject to change without notice. Copyright 2008-2012 Mitsubishi Electric Corporation All Right Reserved This document provides the technical information for users. Mitsubishi Electric Corporation reserves the right to change or modify the information contained herein without notice. Mitsubishi Electric Corporation makes no warranty for the use of its products and bears no responsibility for any errors or omissions which may appear in this document.