RS232/485/LAN Serial Communication Control for LDT551V 1. Application This document defines the communication protocols for serial control of the LDT551V. -----Revision History----1st Release: May. 24 2011. H.Tanizoe, M.Juichiya, T.Kimura, Y.
. Connectors and wiring A: RS-232C connection Connector: D-Sub 9-pin Cable: Cross (reversed) cable or null modem cable B: CAT5 (OPTION) RS-485 connection PC to CAT5 Tx BOX Connector: USB or D-SUB 9pin Cable: USB (Standard A – Standard B) cable or RS-232C (D-SUB 9pin) Cross (reversed)cable (Three wired (TXD, RXD, GND) for Auto conversion mode only, Full wired Cross cable for both of conversion mode) USB Cable Note: USB control is converted to RS-232C in before conversion to CAT5 RS-485 control in CAT5 Tx
. 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 LDT551V. [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.
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 LDT551V. 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. 2) Control sequence (1) The command from a computer to the LCD monitor will be sent in 600ms.
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 LDT551V. The command packet consists of four parts, Header, Message, Check code and Delimiter.
4.1 Header block format (fixed length) SOH 1st Reserved '0' 2nd Destination 'A' 3rd Header Message Message Type Source 4th 5th Check code Delimiter Message Length 6th -7th 1stbyte) SOH: Start of Header ASCII SOH (01h) 2ndbyte) Reserved: Reserved for future extensions. LDT551V must be ASCII '0'(30h) 3rdbyte) Destination: Destination equipment ID. (Receiver) Specify a command’s receiver’s address.
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”.
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.
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) nd 2 -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). th 4 –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. th 4 -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. th 6 -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. 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.
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.
'1'-'0' (31h, 30h): Operation code is '0'-'0' (30h, 30h): This operation is '0'-'0'-'6'-'4' (30h, 30h, 36h, 34h): '0'-'0'-'5'-'0' (30h, 30h, 35h, 30h): ETX (03h): End of Message 10h (in the page 0) "Set parameter" type Brightness max value is 100(0064h) Received a Brightness setting was 80(0050h) as 80% 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.
STX (02h): Start of Message '0'-'2' (30h, 32h): Operation code page number is 02h '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.
'0'-'6' (30h, 36h): Message length is 6 bytes 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.
Delimiter 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.
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.
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.
Message 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)
a broad cast command(only “set command” is available), then the ’*’(2Ah)should be applied. '0' (30h): Message sender is the controller 'A' (41h): Message type is "Command" '1'-'4'(31h, 34h): Message length.
Message STX (02h): Start of Message '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
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'-'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.
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.
WD: Week setting bit 0: Monday bit 1: Tuesday bit 2: Wednesday bit 3: Thursday bit 4: Friday bit 5: Saturday bit 6: Sunday EX. '0'-'1'(30h, '0'-'4'(30h, '0'-'F'(30h, '7'-'F'(37h, FL: Option bit 0: bit 1: bit 2: * When 31h): 34h): 46h): 46h): Monday Wednesday Monday, Tuesday, Wednesday and Thursday Monday to Sunday Everyday Every week Schedule Disable/Enable bit0 and bit1 are '1', it behaves as Everyday. EX.
PG-ON HOURS-ON MIN-OFF HOURS-OFF Min-NPUT-WD-FL: Schedule data PG: Program No. '0'-'0'(30h, 30h): Program No.1 | '0'-'6'(30h, 36h): Program No.7 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.
FL: Option bit 0: bit 1: bit 2: * When Everyday Every week Schedule Disable/Enable bit0 and bit1 are '1', it behaves as Everyday. EX.
2) The monitor replies a result of the self-diagnosis. Header SOH-'0'-'0'-'A'-'B'-N-N Header SOH (01h): '0' (30h): '0' (30h): 'A' (41h): Message STX-'A'-'1'ST(0)-ST(1) --------ST(n)-ETX Check code BCC Delimiter CR Start Of Header Reserved Message receiver is the controller Monitor ID This portion should depend on the monitor ID of Monitor.( ’A’(41h)-‘Z’(5Ah)). 'B' (42h): Message type is "Command reply " N-N: Message length. Note.
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.
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 Zoom H-Position OP code page 02h Zoom V-Position 02h CDh Screen reset Balance 00h 00h 06h 93h Treble 00h 8Fh Bass 00h 91h Audio reset PIP Size 02h 02h 31h 71h 00h 1Eh Power Save 00h E1h Language 00h 68h Gamma 02h DBh Brightness 02h DCh Cooling Fan Motion 02h 7Dh 02h DDh Color System 02h 21h Side Border Color 02h DFh Factory Reset 00h 04h CCh PIP AUDIO Item Configuration 1 PIP Audio PIP Reset Auto Setup Auto Adjust Screen Saver Configuration Reset
Advanced Option Configuration 2 OSD Turn Off 00h FCh Information OSD 02h 3Dh Off Timer 02h 2Bh H Position 02h 38h V Position 02h 39h Input Resolution 02h DAh Black Level Expansion 02h 22h Gamma Selection 02h 68h 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 OSD Position Tiling Frame comp.
Temperature sensor CONTROL LOCK Input 00h 60h Picture Mode 02h 1Ah PIP ON/OFF Still ON/OFF 02h 72h PIP Input 02h 73h Still Capture 02h 76h Audio Input 02h 2Eh Mute 00h 8Dh Volume UP/Down 00h 62h PIP H Position 02h 74h PIP V Position 02h 75h Select sensor 02h 78h 02h 79h Temperature Readout a temperature CONTROL LOCK of Front button and IR control (ON/OFF) 00h E3h (43/46) 1: RGB3 (D-SUB) 2: RGB4 (BNC) 3: RGB1 (HDMI) 4: RGB2 (DVI-D) 12: DVD/HD 5: VIDEO (Composite) 7:
B. Application Note for RS485 based communication using CAT5 Tx BOX. (Legacy mode only) 5) 6) RS-485 is half-duplex communication. So data flow control in HOST side is required. Data flow control is done by following procedure. HOST send data to Monitor while both of RTS and DTR signal is “LOW” (Clear) status. HOST receive data from Monitor while RTS signal is “HIGH”(Set) status. 7) Following chart shows more detailed timing of data flow control by RTS.
C. 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 Power On, Power Off or Sleep/Standby.
All data are subject to change without notice. Copyright 2008-2011 Mitsubishi ElectricCorporation All Right Reserved This document provides the technical information for users. Mitsubishi ElectricCorporation reserves the right to change or modify the information contained herein without notice. Mitsubishi ElectricCorporation makes no warranty for the use of its products and bears no responsibility for any errors or omissions which may appear in this document.