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.