Programming
160
NI-3101-SIG Signature Series NetLinx Integrated Controller
IR/Serial Send_Commands
The following IR and IR/Serial Send_Commands generate control signals for external equipment. In
these examples: <DEV> = device.
IR/Serial Send_Commands
Command
Description
CAROFF
Disable the IR carrier signal
until a 'CARON' command is
received.
Syntax:
SEND_COMMAND <DEV>,"'CAROFF'"
Example:
SEND_COMMAND IR_1,"'CAROFF'"
Stops transmitting IR carrier signals to the IR_1 port.
CARON
Enable the IR carrier signals
(default).
Syntax:
SEND_COMMAND <DEV>,"'CARON'"
Example:
SEND_COMMAND IR_1,"'CARON'"
Starts transmitting IR carrier signals to the IR_1 port.
CH
Send IR pulses for the
selected channel.
All channels below 100 are transmitted as two digits. If the IR code for ENTER
(function #21) is loaded, an Enter will follow the number. If the channel is
greater than or equal to (>=) 100, then IR function 127 or 20 (whichever exists)
is generated for the one hundred digit. Uses 'CTON' and 'CTOF' times for pulse
times.
Syntax:
SEND_COMMAND <DEV>,"'CH',<channel number>"
Variable:
channel number = 0 - 199.
Example:
SEND_COMMAND IR_1,"'CH',18"
This device 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.
CP
Halt and Clear all active or
buffered IR commands, and
then send a single IR pulse.
You can set the Pulse and Wait times with the 'CTON' and 'CTOF' commands.
Syntax:
SEND_COMMAND <DEV>,"'CP',<code>"
Variable:
code = IR port's channel value 0 - 252 (253 - 255 reserved).
Example:
SEND_COMMAND IR_1,"'CP',2"
Clears the active/buffered commands and pulses IR_1 port's channel 2.
Содержание FG2105-08
Страница 12: ...Introduction 6 NI 3101 SIG Signature Series NetLinx Integrated Controller...
Страница 46: ...Configuration and Firmware Update 40 NI 3101 SIG Signature Series NetLinx Integrated Controller...
Страница 142: ...NetLinx Security with a Terminal Connection 136 NI 3101 SIG Signature Series NetLinx Integrated Controller...
Страница 175: ...Troubleshooting 169 NI 3101 SIG Signature Series NetLinx Integrated Controller...