Amx Interface Port AXB-IRS4 Uživatelský manuál Strana 17

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 22
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 16
Programming
13
AXB-IRS4 IR/Serial Interface (4 Ports)
Send Commands (Cont.)
Command Description
"'SP',code" Transmit IR code pulses. Pulse time is set by the CTON and CTOF com-
mands.
Variable:
code = 1-252
Example:
SEND_COMMAND 1,"'SP',2"
Transmits a pulse out for command number 2 to device 1.
XCHM
Changes the IR output pattern for
the XCH command.
Syntax:
SEND_COMMAND <DEV>,'XCH-<Mode>'
Variable:
Mode = 0-4
Example:
SEND_COMMAND IR_1,'XCH 3'
Sets the IR_1 device's extended channel command to mode 3.
Mode 0 Example (default): [x] [x] <x> <enter>
SEND_COMMAND IR_1, 'XCH 3'
Transmits the IR code as 3-enter.
SEND_COMMAND IR_1, 'XCH 34'
Transmits the IR code as 3-4-enter.
SEND_COMMAND IR_1, 'XCH 343'
Transmits the IR code as 3-4-3-enter.
Mode 1 Example: <x> <x> <x> <enter>
SEND_COMMAND IR_1, 'XCH 3'
Transmits the IR code as 0-0-3-enter.
SEND_COMMAND IR_1, 'XCH 34'
Transmits the IR code as 0-3-4-enter.
SEND_COMMAND IR_1, 'XCH 343'
Transmits the IR code as 3-4-3-enter.
Mode 2 Example: <x> <x> <x>
SEND_COMMAND IR_1, 'XCH 3'
Transmits the IR code as 0-0-3.
SEND_COMMAND IR_1, 'XCH 34'
Transmits the IR code as 0-3-4.
SEND_COMMAND IR_1, 'XCH 343'
Transmits the IR code as 3-4-3.
Mode 3 Example: [[100][100]…] <x> <x>
SEND_COMMAND IR_1, 'XCH 3'
Transmits the IR code as 0-3.
SEND_COMMAND IR_1, 'XCH 34'
Transmits the IR code as 3-4.
SEND_COMMAND IR_1, 'XCH 343'
Transmits the IR code as 100-100-100-4-3.
Zobrazit stránku 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22

Komentáře k této Příručce

Žádné komentáře