background image

 

 

(1/56) 

RS232/485/LAN Serial Communication Control   
for MDT652S

 

1.

 

Application

 

 

This document defines the communication protocols for serial control of the MDT652S.

 

 
 
 

 

-----Revision History----- 

 

 

1

st

  Release  

May. 24 2011. H.Tanizoe, M.Juichiya, T.Kimura, Y.Ashizaki 

 

       

Summary of Contents for MDT652S

Page 1: ... Serial Communication Control for MDT652S 1 Application This document defines the communication protocols for serial control of the MDT652S Revision History 1st Release May 24 2011 H Tanizoe M Juichiya T Kimura Y Ashizaki ...

Page 2: ...ed cable USB Standard USB cable A B Note The CAT5 serial communication function requires half duplex communication control by DTR and RTS control which is not required by simple RS232C control The RS485 communication function is different fromRS232C control method Please check Appendix B for more details C LAN connection Connector Modular 8pin RJ45 Cable Modular 8pin RJ45 Strait CAT5 6 7 LAN cable...

Page 3: ... code ASCII Communication signals TXD RXD RTS Note Set the parameters on to USB driver properties RTS is negative polarity 2 RS 232C connection between PC and CAT5 Tx BOX Interface RS 232C Asynchronous Half duplex Baud rate 9600bps Data length 8bits Parity None Stop bit 1 bit Flow control None Communication code ASCII Communication signals TXD RXD DTR Note DTR is negative polarity C LAN connection...

Page 4: ...ods of command interval from PC See below example Available Command list at DC power off status MDT652S can t accept and reply any command except for the following commands when it is in DC power off or power saving Power status Read Read Model name Read Serial number Read Power on Power off Example of communication timing a1 b1 Command 1 Reply 1 Command 2 Reply 2 Command interval from PC Wait sen...

Page 5: ...ill send a return command 600ms after it has received and encoded If the command isn t received correctly the LCD monitor will not send the return command 3 The personal computer checks the command and confirms if the command which has been sent has been executed or not 4 This LCD monitor sends various codes other than return code When having a control sequence by RS 232C reject other codes from p...

Page 6: ...his command the monitor returns the command with Data code of current status to host computer ex When Host computer ask Power status of monitor the status of monitor is powered on Structure of the Read command ASCII HEX Function Data Receive Function Data Receive ON vP 1 76 50 31 POWER OFF sleep stand by vP 0 76 50 30 HDMI vI r1 76 49 72 31 DVI D vI r2 76 49 72 32 D SUB vI r3 76 49 72 33 BNC vI r4...

Page 7: ...des Function Button s name on remote 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 AUTOSETUP Figures and symbols enclosed in quotation marks are ASCII codes Sending commands from the PC etc Status code from the projector Description 30 30 72 30 39 0D 00r09 Command operating the same as the MENU button 30 ...

Page 8: ...er Get Parameter Reply Header Message Check Code Delimiter Set Parameter Header Message Check Code Delimiter Set Parameter Reply Header Message Check Code Delimiter Header Message Check Code Delimiter Get Parameter Reply Save Current Setting Command Get Parameter Header Message Check Code Delimiter The controller sends a command to get a value from the monitor that you want to change The monitor r...

Page 9: ...er address The controller must be 0 30h 5th byte Message Type Case sensitive Refer to section 4 2 Message block format for more details ASCII A 41h Command ASCII B 42h Command reply 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 6th 7th bytes Message Length Specify the length of the message that follows the...

Page 10: ...essage to change a setting of the monitor Message format of the Set parameter is as follows Refer to section 5 3 Set parameter for more details 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 Result OP code page OP code Type Max value Requested setting Value ETX STX Hi Lo Hi Lo Hi Lo...

Page 11: ... 11 56 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 ...

Page 12: ...xor 30h xor 36h xor 34h xor 03h 77h 4 6 Delimiter Packet delimiter code ASCII CR 0Dh Header Message Check code Delimiter 27 26 25 24 23 22 21 20 SOH D0 Reserved D1 Destination D2 Source D3 Type D4 Length D5 STX D6 Data D7 ETX Dn Check code Dn 1 P P P P P P P P Header Message SOH Reserved Destination Address Source Address Message type Message length STX OP code page OP code Set Value ETX Check cod...

Page 13: ...fer to Operation code table Appendix A 4th 5th 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 6th byte ETX End of Message ASCII ETX 03h 5 2 Get param...

Page 14: ... 1 and A 31h and 41h 8th 9th bytes Type Operation type code 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 00h Set parameter 01h Momentary Like the AutoSetup function which automatically changes the parameter 10th 13th bytes Max value Maximum value which monitor can accept 16bits This returned value from th...

Page 15: ...as Broadcast then no reply should be sent back 1st byte STX Start of Message ASCII STX 02h 2nd 3rd bytes Result code ASCII 0 0 30h 30h No Error ASCII 0 1 30h 31h Unsupported operation with this monitor or unsupported operation under current condition 4th 5th bytes OP code page Echoes back the Operation code page for confirmation Reply data from the monitor is encoded to ASCII characters Ex OP code...

Page 16: ...ore the adjusted value Send OC 30h 43h as Save current settings command Complete Save Current setting 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 ASCII 01h 30h 41h 30h 41h 30h 34h 02h 30h 43h 03h CHK 0Dh SOH 0 A 0 A 0 4 STX 0 C ETX CHK CR The monitor replies the packet for confirmation as follows SOH 0 0 A B...

Page 17: ...h SOH 0 A 0 A 0 4 STX 0 7 ETX CHK CR The monitor replies status as the following format 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 Negative Horizontal sync polarity Bit 0 1 Positive Vertical sync polarity 0 Negative Vertical sync polarity H Freq Horizontal Frequency in unit 0 01kHz V Fr...

Page 18: ...r of character A 41h to Z 5Ah which is corresponding to monitor ID from No1 to No 26 should be set to this portion If it is a broad cast command only set command is available then the 2Ah should be applied 0 30h Message sender is the controller C 43h Message 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...

Page 19: ...available then the 2Ah should be applied 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 as 80 ETX 03h End of Message Check code BCC Block Check ...

Page 20: ...t to this portion If it is 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 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...

Page 21: ... F 46h Message Type is Set parameter reply 1 2 30h 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 0 02h 7 8 37h 38h Operation code is 78h in the page 2 0 0 30h 30h This operation is Set parameter type 0 0 0 2 30h 30h 30h 32h Number of temperature sensors 2 0002h 0 0 0 1 30h 30h 30h 31h temperature sensor is...

Page 22: ...he monitor ID of Monitor A 41h Z 5Ah 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 0 0 F F 30h 30h 46h 46h Maximum value 0 0 3 2 30h 30h 33h 32h The temperatu...

Page 23: ...r CR 0Dh End of packet 2 The monitor returns with the current power status Header SOH 01h Start Of Header 0 30h Reserved 0 30h Message receiver is the controller A 41h Monitor ID This portion should depend on the monitor ID of Monitor A 41h Z 5Ah B 42h Message Type is Command reply 1 2 31h 32h Message length is 18 bytes Message STX 02h Start of Message 0 2 30h 32h Reserved data 0 0 30h 30h Result ...

Page 24: ...de Refer to the section 4 5 Check code for a BCC calculation Delimiter CR 0Dh End of packet 2 The monitor replies a data for confirmation If command is sent as Broadcast then no reply should be sent back Header Message Check code Delimiter SOH 0 0 A B 0 E STX 0 0 C 2 0 3 D 6 0 0 0 1 ETX BCC CR Header SOH 01h Start Of Header 0 30h Reserved 0 30h Message sender is the controller A 41h Monitor ID Thi...

Page 25: ... 0 A 30h 41h Message length is 10 bytes Message STX 02h Start of Message C 0 0 B 43h 30h 30 42h Asset read request command 0 0 30h 30h Offset data from top of the Asset data At first set 00h Read data from the top of Asset data area 2 0 32h 30h Read out data length is 32bytes Maximum readout length is 32bytes at a time ETX 03h End of Message Check code BCC Block Check Code Refer to the section 4 5...

Page 26: ...the controller A 41h Message type is Command N N Message length Note The maximum data length that can be written to the monitor at a time is 32bytes Ex The byte data 20h is encoded as ASCII characters 2 and 0 32h and 30h Message STX 02h Start of Message C 0 0 E 43h 30h 30 45h Asset Data writes command 0 0 Offset address from top of Asset data 00h Write data from top of the Asset data area Data0 Da...

Page 27: ...k code Delimiter SOH 0 A 0 A 0 6 STX C 2 1 1 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 0 30h Message sender is the controller A 41h Message type is Command 0 6 30h 36h length Message STX 02h...

Page 28: ...h Thursday 0 5 30h 35h Friday 0 6 30h 36h Saturday HH Hours 0 0 30h 30h 0 1 7 31h 37h 23 17h MN Minutes 0 0 30h 30h 0 3 B 33h 42h 59 3Bh DS Daylight saving Summer time 0 0 30h 30h NO 0 1 30hm 31h YES 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 2 Date Time Write This command is used in order to wri...

Page 29: ...y 0 1 30h 31h 1 1 E 31h 45h 30 1Eh WW weekdays This parameter if no use since the week is automatically calculated by Monitor based on the date data HH Hours 0 0 30h 30h 0 1 7 31h 37h 23 17h MN Minutes 0 0 30h 30h 0 3 B 33h 42h 59 3Bh DS Daylight saving Summer time 0 0 30h 30h NO 0 1 30h 30h YES ETX 03h End of Message Check code BCC Block Check Code Refer to the section 4 5 Check code for a BCC ca...

Page 30: ...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 automatically calculated by Monitor based on the date data HH Hours 0 0 30h 30h 0 1 7 31h 37h 23 17h MN Minutes 0 0 30h 30h 0 3 B 33h 42h 59 3Bh DS Daylight saving Summer time 0 0 30h 30h NO 0 1 30h 31h YES ETX 03h End of Message Ch...

Page 31: ...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 2 The monitor replies Schedule to the controller Header Message Check code Delimiter SOH 0 0 A B 1 6 STX C 3 1 3 PG ON HOURS ON MIN OFF HOURS OFF Min INPUT WD FL ETX BCC CR Header SOH 01h Start of Header 0 30h Reserved 0 30h Message rece...

Page 32: ... bit 3 Thursday bit 4 Friday bit 5 Saturday bit 6 Sunday EX 0 1 30h 31h Monday 0 4 30h 34h Wednesday 0 F 30h 46h Monday Tuesday Wednesday and Thursday 7 F 37h 46h 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 EX FL setting Schedule Everyweek Everyday Schedule behavior 0 0 30h 30h Schedule Disable 0 1 30h 31h...

Page 33: ...h 36h Message length Message STX 02h Start of Message C 2 1 4 43h 32h 31h 34h Schedule writes command PG ON HOURS ON MIN OFF HOURS OFF Min INPUT 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 time hour 0 0 30h 30h 00 1 7 31h 37h 23 17h 1 8 31h 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...

Page 34: ...0h 37h O O O Everyday 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 2 The monitor replies a data for confirmation If command is sent as Broadcast then no reply should be sent back Header Message Check code Delimiter SOH 0 0 A B 1 8 STX C 3 1 4 ST PG ON HOURS ON MIN OFF HOURS OFF Min NPUT WD FL ETX BCC...

Page 35: ... 33h RGB4 BNC 0 4 30h 34h DVD HD 0 5 30h 35h VIDEO 0 6 30h 36h VIDEO S 0 7 30h 37h It is operates by last memory input 0 8 30h 38h RGB5 CAT5 Option 0 9 30h 39h RGB6 DisplayPort 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 31h Monday 0 4 30h 34h Wednesday 0 F 30h 46h Monday Tuesday Wednesday and Thursday 7 F 37h 46h Mo...

Page 36: ... is corresponding to monitor ID from No1 to No 26 should be set to this portion 0 30h Message sender is the controller A 41h Message type is Command 0 4 30h 34h Message length Message STX 02h Start of Message B 1 42h 31h Self diagnosis command 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 2 The monito...

Page 37: ...abnormality 72 Analog 5V abnormality 73 Audio amplifier 12V abnormality 78 Panel 12V abnormality 80 Cooling fan 1 abnormality 81 Cooling fan 2 abnormality 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 Delimiter CR 0Dh End of packet ...

Page 38: ...or a BCC calculation Delimiter CR 0Dh End of packet 2 The monitor replies a data for confirmation If command is sent as Broadcast then no reply should be sent back Header Message Check code Delimiter SOH 0 0 A B N N STX C 3 1 6 Data 0 Data 1 Data n ETX BCC CR Header SOH 01h Start Of Header 0 30h Reserved 0 30h Message receiver is the controller A 41h Monitor ID This portion should depend on the mo...

Page 39: ...culation Delimiter CR 0Dh End of packet 2 The monitor replies a data for confirmation If command is sent as Broadcast then no reply should be sent back Header Message Check code Delimiter SOH 0 0 A B N N STX C 3 1 7 Data 0 Data 1 Data n ETX BCC CR Header SOH 01h Start Of Header 0 30h Reserved 0 30h Message receiver is the controller A 41h Monitor ID This portion should depend on the monitor ID of ...

Page 40: ...e sender is the controller A 41h Message type is Command 0 6 30h 36h Message length Message STX 02h Start of Message C 2 2 1 43h 32h 32h 31h Auto Brightness Parameter Read command 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 2 Reply from Monitor to PC The monitor replies the packet for confirmation a...

Page 41: ...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 Delimiter CR 0Dh End of packet ...

Page 42: ...of 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 Delimiter CR 0Dh End of packet 2 Reply from Monitor to PC Basically No need reply because it is broadcasting request only for reference if the write command is done...

Page 43: ... 43 56 Delimiter CR 0Dh End of packet ...

Page 44: ...4 STX C 3 2 3 RES RES FVAL_HH FVAL_HL FVAL_LH FVAL_LL BVAL_HH BVAL_HL BVAL_LH BVAL_LL APL_HH APL_HL APL_LH APL_LL ETX BCC CR Header SOH 01h Start Of Header 0 30h Reserved 0 30h Message receiver is the controller A 41h Monitor ID B 42h Message type is Command reply 1 4 31h 34h Message length Message STX 02h Start of Message C 3 2 3 41h 33h 32h 33h Auto Brightness Sensor Read Reply Command RES Resul...

Page 45: ... 45 56 BCC Block Check Code Refer to the section 4 5 Check code for a BCC calculation ...

Page 46: ...a 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 Block Check Code Refer to the section 4 5 Check code for a BCC calculation Delimiter CR 0Dh End of packet 2 Reply from Monitor to Ho...

Page 47: ...ted 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 Block Check Code Refer to the section 4 5 Check code for a BCC calculation D...

Page 48: ...Monitor ID Use as ALL for Broadcasting of parameter 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 E 30h 45h Command code is 0Eh as Force Mode Change 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 2 Reply fro...

Page 49: ...e C 2 2 0 41h 32h 32h 30h Exec ID Assignment VAL Value Start Monitor ID No 1 26 Ex 1 0 30h 1 31h 26 1 31h A 41h 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 2 Reply from Monitor to PC Basically No need reply because it is broadcasting request This is only for reference if the write command is done wi...

Page 50: ...deep Black Level 00h 92h 0 dark MAX bright Noise Reduction 02h 20h 0 Off MAX Color control 00h Red 16h Green 18h Blue 1Ah 0 MAX Reserved 00h 14h Color Temperature 2 00h 0ch 0 2600K 74 10000K 100K step PICTURE Picture reset 00h 08h 1 Reset Momentary H Position 00h 20h 0 Left side Max Right side Depends on a display timing V Position 00h 30h 0 Down side Max Up side Depends on a display timing Clock ...

Page 51: ...Size 02h 71h 1 Small 2 Middle 3 Large PIP Audio N A PIP PIP Reset N A Momentary Auto Setup 00h 1Eh 1 Execute Momentary Auto Adjust N A Power Save 00h E1h 0 OFF 1 ON Language 00h 68h 1 English 2 German 3 French 4 Spanish 5 Japanese 6 Italian 7 Swedish 8 Chinese OSD Language Gamma 02h DBh 1 normal 2 screen saving gamma Brightness 02h DCh 1 normal 2 decrease brightness Cooling Fan 02h 7Dh 1 Auto 2 Fo...

Page 52: ...h 1 OFF 2 MIDDLE 3 HIGHT Gamma Selection 02h 68h Gamma Table Selection 1 Native Gamma 4 Gamma 2 2 8 Gamma 2 4 7 S Gamma 5 Option Dicom simulate Scan Mode 02h E3h 1 OVER SCAN 2 UNDERSCAN Scan Conversion 02h 25h 1 OFF INTERLACE 2 Enable IP ON PROGRESSIVE Film Mode 02h 23h 1 OFF 2 AUTO Monitor ID 02h 3Eh 1 26 ID IR Control 02h 3Fh 1 Lock Off 3 Primary 2 Normal 4 Secondary H monitor 02h D0h 1 5 Number...

Page 53: ... VIDEO 8 CAT5 Option 9 DisplayPort This operation has limitation of selection Please refer to the monitor instruction manual Still Capture 02h 76h 0 Off 1 Capture Momentary Audio Input 02h 2Eh 1 Audio 1 PC 4 HDMI 2 Audio 2 3 Audio 3 Mute 00h 8Dh 0 2 UNMUTE 1 MUTE Volume UP Down 00h 62h 0 whisper 100 loud PIP H Position 02h 74h 0 left side MAX right side PIP V Position 02h 75h 0 UP side Max Down si...

Page 54: ...nitor approx 140msec min HOST PC should keep RTS signal LOW while above b period at least a and c is required in order to make reliable communication between HOST and Monitor 4 Example of programming System Case1 OS Windows XP Professional SP2 CPU Centrino Duo 1 66GHz Case2 OS Windows XP Home SP1 CPU Pentium4 2 8GHz Case3 OS Windows XP Professional SP2 CPU Pentium3 933MHz Procedure Send Data Escap...

Page 55: ...the gateway mask Set it to 255 255 255 0 for normal use DEFAULT GATEWAY Set the IP address of the gateway router to externally connect the local area including the monitor Default address is 192 168 0 1 It depends on each model 5 Read the OSD menu LAN SETTING for control program PORT Read the port number Default number is 63007 It depends on model MDT652S 63007 or 3007 Communication protocol order...

Page 56: ...ment 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 ...

Reviews: