External Control LCD3215/LCD4215 1. Application This document defines the communications method for control of the LCD3215/LCD4215 when using an external controller 2. Connectors and wiring Connector: D-Sub 9-pin Cable: Cross (reversed) cable or null modem cable 3. Communication Parameter (1) Communication system Asynchronous (2) Interface RS-232C (3) Baud rate...
4. Communication Format Header Message Check Code Delimiter The command packet consists of four parts, Header, Message, Check code and Delimiter. Sequence of a typical procedure to control a monitor is as follows, [A controller and a monitor, two-way communication composition figure] Controller Monitor Get Parameter...
Page 3
byte) Source: Source equipment ID. (Sender) Specify a sender address. The controller must be ‘0’(30h). 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"...
Page 4
3 ÿ Set parameter The controller sends this message to change a setting of the monitor. Message format of the “Set parameter” is as follows, OP code OP code Set Value page Refer to section 5.3 “Set parameter” for more details. 4 ÿ...
Page 5
XOR D XOR D XOR ,,, D XOR: Exclusive OR Following is an example of a Check code (BCC) calculation. Header Message Check code Delimiter Destination Source Message OP code Reserved Message length OP code Set Value (BCC) Address Address type page xor …...
5. Message type 5.1 Get current Parameter from a monitor. OP code page OP code –5 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.
These bytes indicate a result of the requested commands as follows, 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). –5 bytes) OP code page: Operation code page.
Page 8
This OP code page data must be encoded to ASCII characters. Ex) The byte data 02h must be encoded to ASCII '0' and '2' (30h and 32h). Refer to the Operation code table. bytes) OP code: Operation code This OP code data must be encoded to ASCII characters. OP code 1Ah ->...
ASCII '0''0' (30h, 30h): Set parameter ASCII '0''1' (30h, 31h): Momentary Like Auto Setup function, that automatically changes the parameter. bytes) 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) bytes) Requested setting Value: Echoes back the parameter for confirmation.
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 Freq: Vertical Frequency in unit 0.01Hz Ex.) When H Freq is '1''2''A''9' (31h, 32h, 41h, 39h), it means 47.77kHz.
Page 11
Delimiter CR (0Dh): End of packet Step 2. The monitor replies with current Brightness setting and capability to support this operation. Header Message Check code Delimiter SOH-'0'-'0'-'A'-'D'-'1'-'2' STX-'0'-'0'-'0'-'0'-'1'-'0'-'0'-'0' -'0'-'0'-'6'-'4'-'0'-'0'-'3'-'2'-ETX Header SOH (01h): Start Of Header '0' (30h): Reserved '0' (30h): Message receiver is the controller 'A' (41h): Monitor ID LCD3215/LCD4215 must be ASCII 'A' (41h).
Page 12
Header Message Check code Delimiter SOH-'0'-'0'-'A'-'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 'A' (41h): Monitor ID LCD3215/LCD4215 must be ASCII 'A' (41h). 'F' (46h): Message Type is "Set parameter reply" '1'-'2' (31h, 32h): Message length is 18 bytes Message STX (02h): Start of Message...
Page 13
Check Header Message Delimiter code SOH-'0'-'A'-'0'-'E'-'0'-'A' STX-'0'-'2'-'7'-'8'-'0'-'0'-'0'-'1'-ETX Header SOH (01h): Start of Header '0' (30h): Reserved 'A' (41h): Monitor ID LCD3215/LCD4215 must be ASCII 'A' (41h). '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...
Page 14
Header SOH (01h): Start of Header '0' (30h): Reserved 'A' (41h): Monitor ID LCD3215/LCD4215 must be ASCII 'A' (41h). '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 02h.
7. Power control procedure 7.1 Power status read 1) The controller requests the monitor to reply a current power status. Header Message Check code Delimiter SOH-'0'-'A'-'0'-'A'-'0'-'6' STX-'0'-'1'-'D'-'6'-ETX Header SOH (01h): Start Of Header '0' (30h): Reserved 'A' (41h): Monitor ID LCD3215/LCD4215 must be ASCII 'A' (41h).
7.2 Power control 1) The controller requests the monitor to control monitor power. Header Message Check code Delimiter SOH-'0'-'A'-'0'-'A'-'0'-'C' STX-'C'-'2'-'0'-'3'-'D'-'6'- '0'-'0'-'0'-'1'-ETX Header SOH (01h): Start Of Header '0' (30h): Reserved 'A' (41h): Monitor ID LCD3215/LCD4215 must be ASCII 'A' (41h). '0' (30h): Message sender is the controller 'A' (41h): Message type is "Command"...
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. Header Message Check code Delimiter SOH-'0'-'A'-'0'-'A'-'0'-'A' STX-'C'-'0'-'0'-'B'-'0'-'0'-'2'-'0'-ETX Header SOH (01h): Start Of Header...
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. Header Message Check code Delimiter SOH-'0'-'A'-'0'-'A'-N-N STX-'C'-'0'-'0'-'E'-'0'-'0'- Data(0)-Data(1)---Data(N)-ETX Header SOH (01h): Start Of Header '0' (30h): Reserved 'A' (41h): Monitor ID LCD3215/LCD4215 must be ASCII 'A' (41h).
Page 19
Delimiter CR (0Dh): End of packet 9. Date & Time read and write 9.1 Date & Time Read This command is used in order to read the setting of Date & Time. 1) The controller requests the monitor to reply with the Date & Time. Header Message Check...
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 Delimiter SOH-'0'-'A'-'0'-'A'-'0'-'8' STX-'C'-'2'-'1'-'3'-PG-ETX Header SOH (01h): Start Of Header '0' (30h): Reserved 'A' (41h): Monitor ID LCD3215/LCD4215 must be ASCII 'A' (41h).
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 (minute) '0'-'0'(30h, 30h): 0 '3'-'B'(33h, 42h): 59 (=3Bh) '3'-'C'(33h, 43h): Off timer isn’t set. INPUT: Timer input '0'-'0'(30h, 30h): RGB1(DVI-D) '0'-'1'(30h, 31h): RGB2(D-SUB) '0'-'2'(30h, 32h): RGB3(BNC) '0'-'3'(30h, 33h): DVD/HD...
Page 25
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.
Page 26
Delimiter CR (0Dh): End of packet 2) The monitor replies a data for confirmation. 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 Header SOH (01h): Start Of Header '0' (30h): Reserved '0' (30h): Message receiver is the controller 'A' (41h): Monitor ID LCD3215/LCD4215 must be ASCII 'A' (41h).
Page 27
bit 5: Saturday bit 6: Sunday '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: 0(30h):once 1(31h):Everyday bit 1: 0(30h):once 1(31h):Every week bit 2: 0:Disable 1:Enable * When bit0 and bit1 are '1', it behaves as Everyday. ETX (03h): End of Message Check code BCC: Block Check Code...
'B' (42h): Message type is "Command reply" '0'-'C' (30h, 43h): Message length. Message STX (02h): Start of Message 'C'-'2'-'1'-'5' (43h, 32h, 31h, 35h): Schedule writes command ST: Schedule Status command 0(30h):No error 1(31h):Error PG-EN: Schedule data PG: Program No. '0'-'0'(30h, 30h): Program No.1 '0'-'6'(30h, 36h): Program No.7 EN: Enable /Disable '0'-'0'(30h, 30h): Disable...
Page 29
'A' (41h): Monitor ID LCD3215/LCD4215 must be ASCII 'A' (41h). 'B' (42h): Message type is "Command reply " 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' (34h and 30h). Message STX (02h): Start of Message 'A'-'1' (41h, 31h): Application Test Report reply command...
'A' (41h): Monitor ID LCD3215/LCD4215 must be ASCII 'A' (41h). 'B' (42h): Message type is "Command reply " 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'-'3'-'1'-'6' (41h, 33h, 31h, 36h): Serial No.
Page 31
Data(0) -Data(1)----Data(n):Model name 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 (31/37)
Page 32
Appendix A. Operation Code (OP code) Table Item OP code Parameter Remarks code page Brightness 0: dark MAX.: bright Contrast 0: low MAX.: high Sharpness 0: dull MAX: sharp Tint MAX: Color 0: pale MAX: deep Black Level 0: dark MAX: bright Noise Reduction 0: Off...
Page 33
Item OP code Parameter Remarks code page Zoom H-Expansion 1:100 ÿ 2:101 ÿ 201:300 ÿ Zoom V- Expansion 1:100 ÿ 2:101 ÿ 201:300 ÿ Zoom H-Position 0: Left side Max.: Right side Zoom V-Position 0: Down side Max.: Up side Screen reset 1: Reset Momentary...
Page 34
Item OP code Parameter Remarks code page Color System 1: NTSC 2: PAL 3: SECAM 4: Auto 5: 4.43NTSC 6: PAL-60 Side Border Color 0:Black 1:Middle 2:White Factory Reset 1: Reset Momentary Configuration Reset OSM Turn Off 0-9:Do not set. 5sec/step 10:10s 11:11s...
Page 35
Item OP code Parameter Remarks code page Gamma Selection Gamma Table Selection 1: Native Gamma 4: Gamma=2.2 8: Gamma=2.4 7: S Gamma Scan Mode 1: UNDERSCAN 02 ÿ H 2: OVER SCAN Scan Conversion 1: OFF(INTERLACE) 2: Enable (IP ON/PROGRESSIVE) Film Mode 1: OFF 2: AUTO...
Page 36
Item OP code Parameter Remarks code page PIP Input 0: No mean This 1: RGB-2(D-SUB) operation has 2: RGB-3(BNC) limitation of 3: RGB-1(DVI-D) selection. 12:DVD/HD Please refer 5:VIDEO(Composite) to the monitor 7: S-VIDEO instruction manual. Still Capture 0: Off Momentary 1: Capture Audio Input 1: Audio 1(PC)
Page 37
NEC Display Solutions, Ltd. makes no warranty for the use of its products and bears no responsibility for any errors or omissions which may appear in this document.