This document defines the communications method for control of the LCD4010/LCD4610 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 9600bps
(4) Data length 8bits
(5) Parity None
(6) Stop bit 1 bit
(7) Communication code ASCII
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 LCD4010/LCD4610.
(1/37)
4. Communication Format
g
g
g
d
g
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]
Monitor Controller
Get Parameter
Check Code Delimiter
Messa
Header
e
Get Parameter Reply
Header
Message
Check Code
Set Parameter
Check Code Delimiter
Messa
Header
e
Set Parameter Reply
Header
Message
Check Code
Get Parameter
Check Code Delimiter
Messa
Header
e
Get Parameter Reply
Header
Message
Check Code
Save Current Setting Comman
Check Code Delimiter
Messa
Header
e
Delimiter
Delimiter
Delimiter
The controller sends command to
get a value from the monitor that
you want to change.
The monitor replies a current value
of the requested item.
The controller sends commands to
set an adjusted value.
The monitor replies to the
controller for confirmation.
The controller sends command to
get a value for confirmation.
The monitor replies an adjusted
value.
The controller requests to store
the adjusted value to the monitor.
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID from 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 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'-'0' (31h, 30h): Operation code is 10h (in the OP code page 0)
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 “Check code” for a BCC calculation.
(10/37)
Delimiter
CR (0Dh): End of packet
Step 2. The monitor replies with current Brightness setting and capability to support this operation.
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'.
'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'-'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)
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. The controller request the monitor to change the Brightness setting
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID of which you want to change a setting.
Ex.) If Monitor ID is '1', specify 'A'.
'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)
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 with a message for confirmation.
BCC CR
Check
code
Delimiter
(11/37)
Header Message Check codeDelimiter
SOH-'0'-'0'- Monitor ID -'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
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 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'-'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'-'5'-'0' (30h, 30h, 35h, 30h): Received a Brightness setting was 80(0050h)
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
Repeat Step 1 and Step 2, if you need to check the Brightness setting. (Recommended)
Step 5. Request the monitor to store the Brightness setting. (Save Current Settings Command)
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID which you want to store the setting.
Ex.) If Monitor ID is '1', specify 'A'.
'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 a BCC calculation.
Delimiter
CR (0Dh): End of packet
BCC CR
6.2. How to read the measurement value of the built-in temperature sensors.
LCD4010/LCD4610 has two built-in temperature sensors.
The controller can monitor inside temperatures by using those sensors through RS-232C.
The following shows the procedure for reading the temperatures from the sensors.
Step 1. Select a temperature sensor which you want to read.
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): Message Type is "Set parameter command"
'0'-'A' (30h, 41h): Message length is 10 bytes
Message
STX (02h): Start of Message
'0'-'2' (30h, 32h): Operation code page number is 0
'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.
SOH (01h): Start of Header
'0' (30h): Reserved
'0' (30h): Message receiver is the controller
Monitor ID: Indicates a replying Monitor ID.
Ex.) When this byte is set to 'A', the replying Monitor ID is '1'.
'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
'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 #1.
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. The controller requests the monitor to send the temperature from the selected sensor.
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'.
'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 temperature is 25 degrees Celsius.
Readout value is 2's complement.
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 “Check code” for a BCC calculation.
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID from which you want to get status.
Ex.) If Monitor ID is '1', specify 'A'.
'0' (30h): Message sender is the controller
'A' (41h): Message Type is "Command"
'0'-'6' (30h, 36h): Message length is 6 bytes
Message
STX (02h): Start of Message
'0'-'1'-'D'-'6': Get power status 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 monitor returns with the current power status.
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'.
'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 code
00: No Error
01: Unsupported
'D'-'6'(44h, 36h): Display power mode code
'0'-'0' (30h, 30h): Parameter type code is "Set parameter"
'0'-'0'-'0'-'4' (30h, 30h, 30h, 34h): Power mode is 4 types
'0'-'0'-'0'-'1' (30h, 30h, 30h, 31h): Current power mode
<Status>
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
BCC CR
(15/37)
7.2 Power control
1) The controller requests the monitor to control monitor power.
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID which you want to change a setting.
Ex.) If Monitor ID is '1', specify 'A'.
'0' (30h): Message sender is the controller
'A' (41h): Message type is "Command"
'0'-'C (30h, 43h): Message length is 12 bytes
Message
STX (02h): Start of Message
'C'-'2’,'0'-'3'-'D'-'6' (43h, 32h, 30h, 33h, 44h, 36h): power control command
'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.
BCC CR
2) The monitor replies a data for confirmation.
Header Message
SOH-'0'-'0'-Monitor
ID-'B'-'0'-'C'
Header
SOH (01h): Start Of Header
'0' (30h): Reserved
'0' (30h): Message sender is the controller
Monitor ID: Indicate a replying Monitor ID.
Ex.)
When this byte is set to 'A', the replying Monitor ID is '1'.
'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
'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
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 “Check code” for a BCC calculation.
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID from which you want to get data.
Ex.) If Monitor ID is '1', specify 'A'.
'0' (30h): Message sender is the controller
'A' (41h): Message type is "Command"
'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.
Secondly set 20h: Read data from the 32bytes offset point in the 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 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
2) The monitor replies Asset data to the controller.
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'.
'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
'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.
20h : Write data into from the 32bytes offset point in 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
BCC CR
(18/37)
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.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 code Delimiter
SOH-'0'-Monitor
ID-'0'-'A'-'0'-'6'
Header
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID of which you want to get status.
Ex.) If Monitor ID is '1', specify 'A'.
'0' (30h): Message sender is the controller
'A' (41h): Message type is "Command"
'0'-'6'(30h, 36h): length.
Message
STX (02h): Start of Message
'C'-'2'-'1'-'1' (43h, 32h, 31h, 31h): Date & time read request 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 monitor replies Date & Time to the controller.
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID of which you want to change the setting.
Ex.) If Monitor ID is '1', specify 'A'.
'0' (30h): Message sender is the controller
'A' (41h): Message type is "Command"
'1'-'2'(31h, 32h): Message length.
Message
STX (02h): Start of Message
'C'-'2'-'1'-'2' (43h, 32h, 31h, 32h): Date & Time write 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
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID which you want to get status.
Ex.) If Monitor ID is '1', specify 'A'.
'0' (30h): Message sender is the controller
'A' (41h): Message type is "Command"
'0'-'A'(30h, 41h): Message length.
Message
STX (02h): Start of Message
'C'-'2'-'1'-'5' (43h, 32h, 31h, 35h): Enable/Disable Schedule writes reply command
PG-EN: Schedule data
PG: Program No.
'0'-'0'(30h, 30h): Program No.1
|
'0'-'6'(30h, 36h): Program No.7
SOH (01h): Start of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID which you want to get status.
Ex.) If Monitor ID is '1', specify 'A'.
'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 monitor replies a result of the self-diagnosis.
Header Message Check code Delimiter
SOH-'0'-'0'-Monitor ID-'B'-N-N STX-'A'-'1'-
ST(0)-ST(1) --------ST(n)-ETX
Header
SOH (01h): Start Of Header
'0' (30h): Reserved
'0' (30h): Message receiver is the controller
(28/37)
BCC CR
Monitor ID: Indicate a replying Monitor ID
Ex.)
When this byte is set to 'A', the replying Monitor ID is '1'.
'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
ST: Result of self-tests
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID which you want to get Serial Number.
Ex.) If Monitor ID is '1', specify 'A'.
'0' (30h): Message sender is the controller
'A' (41h): Message type is "Command"
'0'-'6'(30h, 36h): Message length.
Message
STX (02h): Start of Message
'C'-'2'-'1'-'6' (43h, 32h, 31h, 36h): Serial No. command
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 “Check code” for a BCC calculation.
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'.
'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. reply command
Data(0)-Data(1)----Data(n):Serial Number
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
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.
This
operation has
limitation of
selection.
Please refer
to the monitor
instruction
manual.
Momentary
sensor
Temperature
Readout a temperature 02h 79h Returned value is
2's complement.
Refer to section 6.2
Read only
(36/37)
d
All data are subject to change without notice.
Copyright 2004-2005 NEC Display Solutions, Ltd. All Right Reserved
This document provides the technical information for users. NEC Display Solutions, Ltd. reserves the right to change or modify the information containe
herein without notice. 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.
(37/37)
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.