5. IR Learning
If you are controlling devices that lack serial control ports (the recommended method for controlling non-networked
devices) but have an infrared remote control, you can place your CB2000 into an IR learning mode.
• Choose Enter Command
• Select one of the ‘Learn Universal IR...’ options from the drop-down list
• Click Send CMD
• Hold the device’s IR remote control within 15cm/6in of the CB2000 button panel, then press the button on the
remote control for the function to be learned
• The IR command string will appear in the Receive Command window, and is available for copying and pasting
into an Action Definition (see Appendix A.3).
When an IR command is learned the controller inserts an “IR Header” onto the front of the command. Each Hex
byte of this header contains information pertaining to certain IR parameters of a learned code. It is not retransmit-
ted with the IR code. It tells the controller what to do with the code string that follows. It is helpful to understand the
first 6 bytes of this header when dealing with difficult IR devices.
Example IR header: 40 00 03 00 01 54
BYTE 1:
Carrier frequency of the IR command: 28kHz, 30kHz, 32kHz, 36kHz, 38kHz, 40kHz and 56kHz. This byte
should not be changed unless there is a need to strip the carrier from the IR signal. This can be accom-
plished by changing the byte to 00.
BYTE 2:
Idle/Delay time – a user adjustable time to override the existing idle gap between IR bursts when the IR
command is sent more than once, or to add a delay time after the last IR command burst. Allowable timing
increments are 04h – 7Fh for an idle gap override, and 80h - FFh for an added delay time. Each hex unit is
equal to 10ms delay. For example, a value of 0Ah (decimal 10) would insert a delay of 100ms between the
IR bursts. Default is 00h, which means that the controller will use the idle time that is part of the learned IR
code. A value of 90h (decimal 144) would add a 1.44 second delay after the last IR command sent.
BYTE 3:
Repeat - selects how many times the IR command is to be repeated. Allowable values are from 01h to FFh
(must be in Hex form!). Default is 03h and 00h is invalid.
BYTE 4:
Repeat Mode - three selections: 00h = repeat the entire IR command, 01 = repeat the IR header only once,
02h = repeat the IR command with an offset. Default is 00h.
BYTE 5:
Offset – displays which section of the IR burst was learned.
01 = Learn Universal code
02 = Learn Universal code w/1 skip
03 = Learn Universal code w/2 skips
BYTE 6:
Data Length – displays the size of the data string in Hex form including the header.
26