AMX NetLinx Integrated Controller NI-4000 Instruction Manual page 125

Amx corporation netlinx integrated controllers (ni-2000, ni-3000, and ni-4000) instruction manual
Hide thumbs Also See for NetLinx Integrated Controller NI-4000:
Table of Contents

Advertisement

IR/Serial Send_Commands (Cont.)
CH
Sends IR pulses to select a
channel. All channels below
100 are transmitted as two
digits. If the IR code for
ENTER (#21) is loaded, an
Enter will follow the number. If
the channel is greater than or
equal to 100, the IR function
127 is generated for the one
hundred digit.
CP
Clears buffered IR
commands, and sends a
single IR pulse. You can set
the Pulse and Wait times with
the CTON and CTOF
commands.
CTOF
Sets the duration of off time
(no signal) between IR pulses
for channel and IR function
transmissions. Off time
settings are stored in
non-volatile memory. The
factory default for channel off
time is 5 (.5 second).
CTON
Sets the total time of IR
pulses transmitted, and is
stored in non-volatile
memory.
NetLinx Integrated Controllers
Syntax:
SEND_COMMAND <DEV>," 'CH',<Number>"
Variable:
Number = 0-199
Example:
SEND_COMMAND IR_1," 'CH',18"
The Controller performs the following:
• Transmits IR signals for 1 (IR code 11). The transmit time is set with the
CTON command.
• Waits until the time set with the CTOF command elapses.
• Transmits IR signals for 8 (IR code 18).
• Waits for the time set with the CTOF command elapses. If the IR code for
Enter (IR code 21) is programmed, the Controller performs steps 5 and 6.
• Transmits IR signals for Enter (IR code 21).
• Waits for the time set with the CTOF command elapses.
Syntax:
SEND_COMMAND <DEV>,"'CP',<Number>"
Variable:
Number = 1-252 (253-255 reserved)
Example:
SEND_COMMAND IR_1,"'CP',2"
Clears the active/buffered commands and pulses IR_1 port's channel 2.
This command is associated with the SP (single pulse) and CP (clear pulse)
commands.
Syntax:
SEND_COMMAND <DEV>,"'CTOF',<Time>"
Variable:
Time = 0-255 in tenths of a second increments
Example:
SEND_COMMAND IR_1,"'CTOF',10"
Sets the off time between each IR pulse to 1 second.
Syntax:
SEND_COMMAND <DEV>," 'CTON',<Time>"
Variable:
Time = 0-255 in tenths of a second increments; default = 5 (.5 second).
Example:
SEND_COMMAND IR_1,"'CTON',20"
Sets the IR pulse duration to 2 seconds.
Programming
119

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx ni-2000Netlinx ni-3000

Table of Contents