beautypg.com

External control, 1 serial communications, Rs-232 connection and port configuration – Runco LIGHTSTYLE LS-10D User Manual

Page 91: Serial command syntax, Serial communications, Pre l iminar y

background image

Runco LS-10d Installation/Operation Manual

75

PRE

L

IMINAR

Y

In addition to using the DHD Controller front-panel keypad or remote control unit, there
are three methods of controlling the LS-10d and DHD Controller externally:

• Using a serial (RS-232) link to send ASCII commands and receive responses to those

commands.

• Using discrete infrared (IR) codes to program a third-party remote control unit.

• Using an HDMI connection to send Consumer Electronics Control (CEC) commands

from a BD player or other source component that supports CEC.

The following sections describe these methods.

6.1
Serial Communications

The DHD Controller uses a simple text-based control protocol to take requests from
control devices and to provide responses to such devices. This section describes how to
send control messages over a serial link between the DHD Controller and an
automation/control system or a PC running terminal emulation software.

RS-232 Connection and
Port Configuration

To interface the LS-10d with an automation/control system or a PC running terminal
emulation software, connect it to the DHD Controller as shown in Figure 3-7. Connect
your control system or PC to the RS-232 input of the DHD Controller as shown in Figure
3-13
.

Configure the RS-232 controller or PC serial port as follows: no parity, 8 data bits, 1 stop
bit and no flow control. Set the baud rate to 19200, to match that of the DHD Controller
RS-232 port.

Serial Command Syntax

Serial commands to the DHD Controller take the following form:

• Commands are not case-sensitive.

• For a single command that takes no parameters, type the command followed by a

carriage return; for example, to set the aspect ratio to Letterbox, type
LETTERBOX .

• For a single command that takes a parameter, type the command, a space or a

comma and the desired value followed by a carriage return; for example, to set the
brightness to -10, type

BRIGHTNESS -10 or

BRIGHTNESS,-10 .

• You can also send a string of multiple commands on a single line, separated by

commas. For example,

COMPOSITE,BRIGHTNESS 50,16:9 switches to

the Composite video input, sets the brightness to 50 and sets the aspect ratio to 16:9.
Command strings can be up to 255 characters long.

6. External Control

Avoid combining the

ON or POWER 1 commands with other commands

on a single line. After sending

ON or POWER 1, allow at least five (5)

seconds for the DHD Controller to power up. If you have enabled the
ISF splash screen (refer to Splash Configure on page 64
), allow 15
seconds for the DHD Controller to power up.

Once it does, it will accept and properly execute multiple serial
commands.

Note