4.
IR-CTRL Commands
4.1 Data format
A 3-byte long data frame, whose layout is as follows, is exchanged between the IR-CTRL and control
computer:
Transmitted data frame:
The first bit, which is transmitted/received, is Byte 3, Bit 7.
If the control computer is a C Control Unit, the driver software (irdriv.s19) expects a corresponding
data frame in its output/input buffer when requested with SYS&H101.
This allocates the variables of C Control in the range from Byte 1 to Byte 3.
4.2 Commands to the IR-CTRL (SUBCOMMAND)
The operation of the IR-CTRL is determined by the SUBCOMMAND, ADDRESS contains the address
of the addressed IR component and COMMAND the command, which shall be transmitted to this
address.
Command 0 Transmission of data over the IR interface
The byte located in ADRESS and COMMAND shall be transmitted by the IR-CTRL in
accordance with the configured type of code as RC5 or REC80 data frames.
The answer of the IR-CTRL contains a remote control command received in the mean
time (and the address) or 255 in both bytes, if nothing has been received.
Command 1 Transmission of received data
Received IR remote control commands shall be split according to IR component
address and command and transmitted in the Bytes ADRESS and COMMAND.
If not remote control command is received, then these bytes have respectively the
value 255.
Command 2 Activate REC80 mode
Command 3 Activate RC5 mode
17
English
Byte 1
Byte 2
Byte 3
command
Adress
Subcommand
Содержание IR-CTRL
Страница 2: ......