Resumo do conteúdo contido na página número 1
External Control NEC LCD Monitor
1. Application
This document defines the communications method for control of the NEC LCD monitor, MultiSync X461UN
/X461HB /X431BT /P401 /P461 /P521 /P701 /S401 /S461 /S521 and MULTEOS M401 /M461 /M521 when using
an external controller.
2. Connectors and wiring
2.1 RS-232C Remote control
Connector: 9-pin D-Sub
Cable: Cross (reversed) cable or null modem cable
(Please refer “Controlling the LCD monitor via RS-232C Remote control”
Resumo do conteúdo contido na página número 2
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 The controller sends command to Delimiter Check Code Message Header get a value from the monitor that you want to change. Get Parameter Reply Check C
Resumo do conteúdo contido na página número 3
nd 2 byte) Reserved: Reserved for future extensions. On this monitor, it must be ASCII '0'(30h). rd 3 byte) Destination: Destination equipment ID. (Receiver) Specify a commands receiver ’s address. The controller sets the “MONITOR ID ” or “GROUP ID ” of the monitor controlled in here. On the reply, the monitor sets ‘0 ’ (30h), always. “MONITOR ID ”, “GROUP ID ” to “Destination Address ” conversion table is as follows, Monitor Destination Monitor Destination Monitor Destination Mon
Resumo do conteúdo contido na página número 4
th 5 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. th th 6 -7 bytes) Message Length: Specify the length of the message (that follows the header) from STX to ETX. This length includes STX and ETX.
Resumo do conteúdo contido na página número 5
Message format of the “Set parameter” is as follows, OP code OP code Set Value STX page ETX Hi Lo Hi Lo MSB LSB 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, OP code Requested setting Result OP code Type Max value ETX STX page Value Hi Lo Hi Lo Hi Lo Hi Lo MSB LSB MSB LSB Refer to sectio
Resumo do conteúdo contido na página número 6
Following is an example of a Check code (BCC) calculation. Header Message Check code Delimiter Destination Source Message OP code SOH Reserved Message length STX OP code Set Value ETX (BCC) Address Address type page 01 30 41 30 45 30 41 02 30 30 31 30 30 30 36 34 03 77 0D D D D D D D D D D D D D D D D D D D D 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Check code (BCC) D = D xor D xor D xor … xor D xor D xor D 17 1 2 3 14 15 16 = 30h xor 41h xor 30h xor 45h xor 3
Resumo do conteúdo contido na página número 7
5. Message type 5.1 Get current Parameter from a monitor. OP code page OP code STX ETX Hi Lo Hi Lo st nd rd th th th 1 2 -3 4 –5 6 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 ”. st 1 byte) STX: Start of Message ASCII STX (02h) nd rd 2 -3 bytes) OP code page: Operation code page. Specify the “OP code page ” for the control which you wa
Resumo do conteúdo contido na página número 8
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). th th 4 –5 bytes) 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 charac
Resumo do conteúdo contido na página número 9
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. th th 4 -5 bytes) OP code: Operation code This OP code data must be encoded to ASCII characters. Ex.) OP code 1Ah -> OP code (Hi) = ASCII '1' (31h) OP code (Lo) = ASCII 'A' (41h) Refer to the Operation code table. th th 6 -9 bytes) Set value: (16bit) This data must be encoded to ASCII characters. st Ex.) 0123h ->
Resumo do conteúdo contido na página número 10
ASCII '0''0' (30h, 30h): Set parameter ASCII '0''1' (30h, 31h): Momentary Like Auto Setup function, that automatically changes the parameter. th th 10 -13 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) th th 14 -17 bytes) Requested setting Value: Echoes back the parameter for confirmation. (16bits) Reply data from the monitor is encoded to ASCII characters. Ex.) '0''1''2'
Resumo do conteúdo contido na página número 11
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. 5.5.3 NULL Message Command code STX ETX 'B' 'E' The NULL message returned from the monitor is used in the following
Resumo do conteúdo contido na página número 12
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 with current Brightness setting and capability to support this operation. Header Message Check code Delimiter SOH-'0'-'0'-Monitor ID-'D'-'1'-'2' STX-'0'-'0'-'0'-'0'-'1'-'0'-'0'-'0' BCC CR -'0'-'0'-'6'-'4'-'0'-'0'-'3'-'2'-ETX Header SOH (01h): Start Of Header '0' (30h): Reserved '0' (30h): Message receiver is the
Resumo do conteúdo contido na página número 13
CR (0Dh): End of packet Step 4. The monitor replies with a message for confirmation. Delimiter Header Message Check code SOH-'0'-'0'- Monitor ID -'F'-'1'-'2' STX-'0'-'0'-'0'-'0'-'1'-'0' —'0'-'0'-'0' BCC CR -'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
Resumo do conteúdo contido na página número 14
The following shows the procedure for reading the temperatures from the sensors. Step 1. Select a temperature sensor which you want to read. Check Header Message Delimiter code SOH-'0'-Monitor ID-'0'-'E'-'0'-'A' STX-'0'-'2'-'7'-'8'-'0'-'0'-'0'-'1'-ETX BCC CR Header SOH (01h): Start of Header '0' (30h): Reserved Monitor ID: Specify the Monitor ID which you want to get a value. Ex.) If Monitor ID is '1', specify 'A'. '0' (30h): Message sender is the controller. 'E' (45h): Messag
Resumo do conteúdo contido na página número 15
Delimiter CR (0Dh): End of packet Step 3. The controller requests the monitor to send the temperature from the selected sensor. Header Message Check code Delimiter SOH-'0'-Monitor ID-'0'-'C'-'0'-'6' STX-'0'-'2'-'7'-'9'-ETX BCC CR Header SOH (01h): Start of Header '0' (30h): Reserved Monitor ID: Specify the Monitor ID 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".
Resumo do conteúdo contido na página número 16
Check code BCC: Block Check Code Refer to the section 4.5 “Check code ” for a BCC calculation. Delimiter CR (0Dh): End of packet 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'-Monitor ID-'0'-'A'-'0'-'6' STX-'0'-'1'-'D'-'6'-ETX BCC CR Header SOH (01h): Start Of Header '0' (30h): Reserved Monitor ID: Specify the Monitor ID from which you want to get s
Resumo do conteúdo contido na página número 17
0001: ON 0002: Stand-by (power save) 0003: Suspend (power save) 0004: OFF (same as IR power off) 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 7.2 Power control 1) The controller requests the monitor to control monitor power. Header Message Check code Delimiter SOH-'0'-Monitor ID-'0'-'A'-'0'-'C' STX-'C'-'2'-'0'-'3'-'D'-'6'- BCC CR '0'-'0'-'0'-'1'-ETX Header S
Resumo do conteúdo contido na página número 18
'0'-'0' (30h, 30h): Result code. No error. 'C'-'2’,'0'-'3'-'D'-'6' (43h, 32h, 30h, 33h, 44h, 36h): power control reply command The monitor replies same as power control command to the controller. '0'-'0'-'0'-'1' (30h, 30h, 30h, 31h): Power mode 0001: ON 0002, 0003: Do not set. 0004: OFF (same as the power off by IR) 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
Resumo do conteúdo contido na página número 19
'B' (42h): Message type is "Command reply" N-N: Message length Ex.) The byte data 20h is encoded to ASCII characters '2' and '0' (32h and 30h). Note.) This length includes STX and ETX. Message STX (02h): Start of Message 'C'-'1'-'0'-'B' (43h, 31h, 30h, 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 pack
Resumo do conteúdo contido na página número 20
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 '0'-'0': Result code. No error. 'C'-'0'-'0'-'E' (43h, 30h, 30h, 45h): Asset Data write command '0'-'0'(30h, 30h): 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.