6. Serial Communications

To interface the DHD Controller with a home theater automation/control system or a PC running terminal emulation software, connect it to your control system or PC as shown in Figure 3-12.

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.

6.1

RS-232 Connection and Port Configuration

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 <Enter>.

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<Enter> or

BRIGHTNESS,-10 <Enter>.

You can also send a string of multiple commands on a single line, separated by commas. For example, COMPOSITE,BRIGHTNESS 100,ANAMORPHIC <Enter> switches to the Composite video input, sets the brightness to 100 and sets the aspect ratio to Anamorphic. Command strings can be up to 255 characters long.

Table 6-1lists the RS-232 command set. The “Parameter (min/max)” column shows the valid parameter ranges, or “NA” for commands that take no parameters.

When you enter a valid command, the DHD Controller executes it and acknowledges it with a plus sign on the command line (+ >). When you enter an invalid command -- one that is misspelled or followed by values outside the valid range for that command -- the DHD Controller ignores it and returns a minus sign (- >).

Table 6-1. Serial Commands

Command

Parameter

 

Value

Description

(min/max)

 

Stored?

 

 

 

 

 

 

 

 

 

 

Power On/Off Commands

 

 

 

 

 

OFF

NA

 

NA

Turns projector off

 

 

 

 

 

ON

NA

 

NA

Turns projector on

 

 

 

 

 

POWER

0/1

 

NA

Turns projector on and off

 

 

 

 

 

POWER?

NA

 

NA

Returns power status

 

 

 

 

 

6.2

Serial Command Syntax

Runco VX-4000d/VX-5000d Owner’s Operating Manual

61

Page 73
Image 73
Runco VX-5000d Serial Communications, RS-232 Connection and Port Configuration, Serial Command Syntax, Serial Commands