AMX NI-4000 IR/Serial SendCommands Cont, Sets the time between power SENDCOMMAND DEV, PTOF,Time

Models: NI-2000 NI-4000 NI-3000

1 134
Download 134 pages 57.78 Kb
Page 127
Image 127
Sets the time between power SEND_COMMAND <DEV>," 'PTOF',<Time>"

Programming

IR/Serial Send_Commands (Cont.)

PTOF

Syntax:

Sets the time between power SEND_COMMAND <DEV>," 'PTOF',<Time>"

pulses in .10-second

Variable:

increments, and is stored in

Time = 0-255 in tenths of a second increments; default = 15 (1.5 seconds).

permanent memory.

 

 

Example:

 

SEND_COMMAND IR_1," 'PTOF',15"

 

Sets the time between power pulses to 1.5 seconds for the IR_1 device.

 

 

PTON

Syntax:

Sets the duration of power

SEND_COMMAND <DEV>," 'PTON',<Time>"

pulses in .10-second

Variable:

increments. Time is stored in

Time = 0-255 in tenths of a second increments; default = 5 (.5 seconds).

permanent memory.

 

 

Example:

 

SEND_COMMAND IR_1," 'PTON',15"

 

Sets the duration of the power pulse to 1.5 seconds for the IR_1 device.

 

 

SET IO LINK

The I/O status is automatically reported on channel 255 on the IR port.

Links an IR or Serial port to

Syntax:

an I/O channel for use with

SEND_COMMAND <DEV>,"'SET IO LINK <Number>'

DE, POD, PON and POF

Variable:

commands.

 

 

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.

 

 

SET MODE

Syntax:

Sets the IR/Serial ports for IR

SEND_COMMAND <DEV>, 'SET MODE <Mode>'

or Serial-controlled devices

Variable:

connected to a CardFrame or

Mode = IR or Serial

NetModule.

 

 

Example:

 

SEND_COMMAND IR_1, 'SET MODE IR'

 

Sets the IR_1 port to IR mode for IR control.

 

 

SP

You can use the CTON to set pulse lengths and CTOF for time off between

Generates a single IR pulse.

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.

 

 

XCH

Syntax:

Transmits IR code in the

SEND_COMMAND <DEV>,'XCH <Channel>'

format set with the XCHM

Variable:

mode command.

Channel = 0-999

 

NetLinx Integrated Controllers

121

 

 

 

 

Page 127
Image 127
AMX NI-4000, NI-3000, NI-2000 IR/Serial SendCommands Cont, Sets the time between power SENDCOMMAND DEV, PTOF,Time