2 using discrete ir codes, Ir command protocol, Using discrete ir codes – Runco LIGHTSTYLE LS-10D User Manual

Page 96: Pre l iminar y

Advertising
background image

External Control

80

Runco LS-10d Installation/Operation Manual

PRE

L

IMINAR

Y

6.2
Using Discrete IR
Codes

The DHD Controller accepts commands in the form of IR signals that conform to the
Phillips RC5 protocol. Each DHD Controller remote control button has an RC5 control
code associated with it.

You can use these codes to program a third-party, “universal” remote control unit to work
with the DHD Controller. These third-party products usually come with a computer
software application for this purpose. For more information, consult the documentation
provided with the remote control unit.

IR Command Protocol

The IR control codes have the following characteristics:

• Each code consists of 14 bits:

• Two (2) start bits (always 1);

• A toggle bit. This bit is inverted every time a key is released and pressed again. This

allows the DHD Controller to distinguish between a button that remains down and
one that is pressed repeatedly.

• Five (5) address bits. The default address is 17 (binary 10001). To change it, select

Remote Code from the Miscellaneous menu (in the Service menu) and follow the
steps given on page 70.

• Six (6) data bits.

• The carrier frequency is 36 kHz, with the modulated pulses having a 25% duty cycle.

• Commands are sent at a maximum rate of 9 Hz.

For example, here is the RC5 control code for the ON button on the DHD Controller
remote control unit (assuming the default address is used):

RIGHT

NA

NA

Right-Arrow (

) key

UP

NA

NA

Up-Arrow (

) key

Table 6-1. Serial Commands (continued)

Command

Parameter

(min/max)

Value

Stored?

Description

With Toggle Bit = 0

Hex

3

4

4

1

Binary

1

1

0

1

0

0

0

1

0

0

0

0

0

1

With Toggle Bit = 1

Hex

3

C

4

1

Binary

1

1

1

1

0

0

0

1

0

0

0

0

0

1

Function

Start

Bits

Toggle

Bit

Address

Command

Advertising