background image

Programming

9

 NetLinx Integrated Controller (No Master) - Operation Reference Guide

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.

Syntax:

SEND_COMMAND <DEV>," 'CH',<Number>"

Variable:

Number = 0-199

Example:

SEND_COMMAND IR_1," 'CH',18"

The NXI 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 NXI performs steps 5 and 6.

• Transmits IR signals for Enter (IR code 21).

• Waits for the time set with the CTOF command elapses.

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.

Syntax:

SEND_COMMAND <DEV>,"'CP',<Number>"

Variable:

Number = 1-252 and 256-65,000 (253-255 reserved)

Example:

SEND_COMMAND IR_1,"'CP',2"

Clears the active/buffered commands and pulses IR_1 port's channel 2.

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). 

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.

CTON

Sets the total time of IR pulses transmitted, and is stored in non-volatile memory. 

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.

GET MODE

Polls the IR/Serial ports and reports the active mode settings to the device requesting the information.

Syntax:

SEND_COMMAND <DEV>, 'GET MODE'

Example:

SEND_COMMAND IR_1,'GET MODE'

System response example:

PORT 4 IR,CARRIER,IO LINK 0

Содержание NetLinx NXI

Страница 1: ...Operation Reference Guide Product Category NXI NetLinx Integrated Controller No Master Last Revised 3 04 2013...

Страница 2: ...ked on the outside of each box The RMA is valid for a 30 day period After the 30 day period the RMA will be cancelled Any shipments received not consistent with the RMA or after the RMA is cancelled w...

Страница 3: ...fications 1 Relay Connections and Wiring 1 IR Serial Connections and Wiring 2 Input Output I O Connections and Wiring 2 Programming 1 Overview 1 Using the ID Button 1 Device Port System D P S 1 Progra...

Страница 4: ...programs 4 Linux Telnet client 4 LED Disable Enable SEND_COMMANDs 4 LED DIS 4 LED EN 4 ESC D 4 ESC H 4 RS232 422 485 Ports Channels 5 255 5 RS 232 422 485 SEND_COMMANDs 5 B9MOFF 5 B9MON 5 CHARD 5 CHA...

Страница 5: ...oller No Master Operation Reference Guide CP 9 CTOF 9 CTON 9 GET MODE 9 IROFF 10 POD 10 POF 10 PON 10 PTOF 10 PTON 11 SET IO LINK 11 SET MODE 11 SP 11 XCHM 12 XCH 12 ZAP HIGH 12 Input Output SEND_COMM...

Страница 6: ...4 NetLinx Integrated Controller No Master Operation Reference Guide Table of Contents...

Страница 7: ...he NXI is equipped with a removable faceplate that covers the front panel components FIG 1 Remove the faceplate to see the front panel containing groups of colored LED indicators that light when their...

Страница 8: ...N and POF commands Channel 255 feedback Power status when IOLink is set I O port Port 16 8 channel I O port for contact closure 0 5 VDC voltage sensing or interactive power sensing for IR ports Channe...

Страница 9: ...werFail used with PON and POF commands Channel 255 Power status when IOLink is set I O port Port 16 8 channel I O port for contact closure 0 5 VDC voltage sensing or interactive power sensing for IR p...

Страница 10: ...NXI NetLinx Integrated Controller 4 NetLinx Integrated Controller No Master Operation Reference Guide...

Страница 11: ...ntil you feel the rear edge of the card lightly snap into place 9 Re apply power and other connections as necessary Preparing connecting captive wires 1 Strip 0 25 inch of wire insulation off all wire...

Страница 12: ...high 3 5 5 VDC signal as a Release When used for outputs the I O port acts as a switch to GND and is rated at 200 mA 12 VDC The PWR pin 12VDC 200 mA is designed as a power output for the PCS2 or VSS2...

Страница 13: ...guage allows numbers in the range 0 32 767 Device 0 refers to the local master numbers greater than 32 767 are reserved NetLinx requires a Device Port System D P S specification This D P S triplet can...

Страница 14: ...that is defined in the DEFINE_DEVICE section of the program See ESC Pass Codes on page 3 for descriptions of the escape codes available in pass mode PING Tests network connectivity to and confirms th...

Страница 15: ...messages will be shown starting with the most recent SHOW NOTIFY Displays a list of devices that other systems have requested input from and the types of information needed Note that the local system...

Страница 16: ...e telnet RAFT If the code to go back to command mode is entered ALT 29 which is the character is not sent but telnet command mode is entered LED Disable Enable Send_Commands The following commands ena...

Страница 17: ...munication parameters to nine data bits one stop bit and locks in the baud rate CHARD Sets the delay time between transmitted characters in 100 microsecond increments Syntax SEND_COMMAND DEV CHARD Tim...

Страница 18: ...SEND_COMMAND DEV TSET BAUD Baud Parity Data Stop 485 DISABLE ENABLE HSOFF Disables hardware handshaking default Syntax SEND_COMMAND DEV HSOFF Example SEND_COMMAND RS232_1 HSOFF Disables hardware hand...

Страница 19: ...Syntax SEND_STRING DEV 27 17 Time Variable Time 1 255 in 100 microsecond increments Example SEND_STRING RS232_1 27 17 10 Sends a break character of 1 millisecond to the RS232_1 device 27 18 1 Sets th...

Страница 20: ...e Syntax SEND_STRING DEV 27 20 1 Example SEND_STRING RS232_1 27 20 1 Sets the RTS hardware handshaking output to High on the RS232_1 device IR Serial Ports Channels 00001 00229 IR commands 00229 00253...

Страница 21: ...times with the CTON and CTOF commands Syntax SEND_COMMAND DEV CP Number Variable Number 1 252 and 256 65 000 253 255 reserved Example SEND_COMMAND IR_1 CP 2 Clears the active buffered commands and pu...

Страница 22: ...d after receipt of this command You can only use the PON and POF commands when an IR device has a linked I O channel Syntax SEND_COMMAND DEV POF Example SEND_COMMAND IR_1 POF Sends power down IR comma...

Страница 23: ...ntax 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...

Страница 24: ...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...

Страница 25: ...nnel changes Pushes and Releases generate reports based on their active state Syntax SEND_COMMAND DEV GET INPUT CHAN Variable CHAN 1 8 Example SEND_COMMAND IO GET INPUT 1 Gets the I O port s active st...

Страница 26: ...tion knowledge In the ever changing AV industry continual education is key to success AMX University is dedicated to ensuring that you have the opportunity to gather the information and experience you...

Отзывы: