AMX NetLinx Integrated Controller NI-4000 Instruction Manual page 127

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.)
PTOF
Sets the time between power
pulses in .10-second
increments, and is stored in
permanent memory.
PTON
Sets the duration of power
pulses in .10-second
increments. Time is stored in
permanent memory.
SET IO LINK
Links an IR or Serial port to
an I/O channel for use with
DE, POD, PON and POF
commands.
SET MODE
Sets the IR/Serial ports for IR
or Serial-controlled devices
connected to a CardFrame or
NetModule.
SP
Generates a single IR pulse.
XCH
Transmits IR code in the
format set with the XCHM
mode command.
NetLinx Integrated Controllers
Syntax:
SEND_COMMAND <DEV>," 'PTOF',<Time>"
Variable:
Time = 0-255 in tenths of a second increments; default = 15 (1.5 seconds).
Example:
SEND_COMMAND IR_1," 'PTOF',15"
Sets the time between power pulses to 1.5 seconds for the IR_1 device.
Syntax:
SEND_COMMAND <DEV>," 'PTON',<Time>"
Variable:
Time = 0-255 in tenths of a second increments; default = 5 (.5 seconds).
Example:
SEND_COMMAND IR_1," 'PTON',15"
Sets the duration of the power pulse to 1.5 seconds for the IR_1 device.
The I/O status is automatically reported on channel 255 on the IR port.
Syntax:
SEND_COMMAND <DEV>,"'SET IO LINK <Number>'
Variable:
Number = 1-8; set the I/O channel to 0 to disable I/O link settings.
Example:
SEND_COMMAND IR_1," 'SET IO LINK 1'"
Sets the IR_1 port link to I/O channel 1. The IR port uses the specified I/O
input as power status for processing PON and POF commands.
Syntax:
SEND_COMMAND <DEV>, 'SET MODE <Mode>'
Variable:
Mode = IR or Serial
Example:
SEND_COMMAND IR_1, 'SET MODE IR'
Sets the IR_1 port to IR mode for IR control.
You can use the CTON to set pulse lengths and CTOF for time off between
pulses.
Syntax:
SEND_COMMAND <DEV>," 'SP',<IR OUT>"
Variable:
IR OUT = 1-252 (253-255 reserved)
Example:
SEND_COMMAND IR_1, " 'SP',25"
Pulses IR code 25 on IR_1 device.
Syntax:
SEND_COMMAND <DEV>,'XCH <Channel>'
Variable:
Channel = 0-999
Programming
121

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx ni-2000Netlinx ni-3000

Table of Contents