background image

Programming

17

NXI NetLinx Integrated Controller

IR/Serial Send_Commands (Cont.)

CTOF

Sets the duration of off time 
(no signal) between IR pulses 
for channel and IR function 
transmissions. Off time set-
tings are stored in non-vola-
tile 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 mem-
ory. 

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 set-
tings to the device request-
ing 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

IROFF

Halts and clears all IR output 
on the designated port.

Syntax:

SEND_COMMAND <DEV>,'IROFF'

Example:

SEND_COMMAND IR_1,'IROFF'

Immediately halts and clears all IR output signals on the IR_1 port.

POD

Disables active PON (power 
on) or POF (power off) com-
mand settings. 

Channel 255 changes are enabled. This command is used in conjunction with 
the I/O Link command.
Syntax:

SEND_COMMAND <DEV>,'POD'

Example:

SEND_COMMAND IR_1,'POD'

Disables PON and POF command settings on the IR_1 device.

POF

Turns off a device, based on 
input Link. 

 If at any time the IR sensor reads that the device is on (such as if one turned it 
on manually at the front panel), the card automatically attempts to turn the 
device back off. If three attempts fail, the card will continue executing com-
mands in the buffer. If there are no commands in the buffer, the card will con-
tinue to try until a 'PON' or 'POD' command is received. If it fails to turn the 
device off, a PUSH and RELEASE is made on channel 254 to indicate a power 
failure error.
Channel 255 changes are disabled 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 commands 28 (if present) or 9 to the IR_1 device.

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

Страница 1: ...Operation Reference Guide Controllers NXI NetLinx Integrated Controller Initial Release Last Revised 1 8 2009 ...

Страница 2: ... liability applies whether damages are sought or a claim is made under this warranty or as a tort claim including negligence and strict product liability a contract claim or any other claim This limitation of liability cannot be waived or amended by any person This limitation of liability will be effective even if AMX Corporation or an authorized representative of AMX Corporation has been advised ...

Страница 3: ...IR Serial Connections and Wiring 6 Input Output I O Connections and Wiring 6 Programming 7 Using the ID Button 7 Device Port System D P S 7 Program Port Commands 8 ESC Pass Codes 10 Notes on Specific Telnet Terminal Clients 11 WindowsTM client programs 11 Linux Telnet client 11 LED Disable Enable Send_Commands 11 RS232 422 485 Ports Channels 11 RS 232 422 485 Send_Commands 12 RS 232 422 485 Send_S...

Страница 4: ...ii NXI NetLinx Integrated Controller Table of Contents ...

Страница 5: ...onents Remove the faceplate to see the front panel FIG 1 containing groups of colored LED indicators that light when their corresponding control ports receive transmit data These LEDs are grouped by control type and are numbered according to their corresponding port connector numbers on the rear panel The rear panel contains all of the RS 232 422 485 Relay IR Serial and I O connectors plus the ID ...

Страница 6: ...annel range 1 32 767 Channels 1 253 output IR commands Channel 254 feedback Power Fail used with PON and POF commands Channel 255 feedback Power status when IOLink is set I O port 16 8 channel I O port for contact closure 0 5 VDC voltage sensing or interac tive power sensing for IR ports Channel range 1 8 Front panel components Card slot Accepts NXC ME260 NetLinx Master or Hub card Hub Cards NXC N...

Страница 7: ... commands Channel 254 PowerFail used with PON and POF commands Channel 255 Power status when IOLink is set I O port 16 8 channel I O port for contact closure 0 5 VDC voltage sensing or interac tive power sensing for IR ports The 10 pin male connector has inputs that detect 0 1 5 VDC low as a Push and 3 5 5 VDC high as a Release When used as an input each of the eight I O ports act as a switch to g...

Страница 8: ...Product Information 4 NXI NetLinx Integrated Controller ...

Страница 9: ...he 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 wires 2 Insert each wire into the appropriate opening on the connector according to the wiring diagrams and connector types described in this section Do not tighten the screws excessively doing so may strip the threads ...

Страница 10: ... 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 or equivalent The GND connector is a common ground and is shared by all I O ports The following table lists the wiring specifications for the I O connectors IR Serial Connector Wiring Specifications No Port Signal ...

Страница 11: ...n NetLinx Studio Device Port System D P S A device is any hardware component that can be connected to an AXlink or ICSNet bus Each device must be assigned a unique number to locate that device on the bus The NetLinx programming language 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 speci...

Страница 12: ...atic IP Address Subnet Mask Gateway IP and MAC Address MEM Displays the largest free block of Master Card memory MSG OFF MSG OFF disables the MSG ON display see below MSG ON MSG On sets the terminal program to display all messages generated by the Master Card OFF Turns off a channel on a device The device can be on any system the master you are connected to can reach You can specify the device num...

Страница 13: ...his will not update clocks on devices connected to another Master in Master to Master systems SET DNS D P S Prompts you to enter a Domain Name DNS IP 1 DNS IP 2 and DNS IP 3 Then you enter Y yes to approve store the information in the Master Card Entering N no cancels the operation SET IP D P S Prompts you to enter a Host Name Type DHCP or Fixed IP address Subnet Mask and Gateway IP address Enter ...

Страница 14: ...M 2001 The systems listed are shown in numerical order TCP LIST Lists all active TCP IP connections TIME Displays the current time on the Master Card URL LIST D P S Displays the list of URL addresses programmed in the Master Card Escape Pass Codes Command Description ESC ESC Exit Pass Mode Typing a plus shift followed by another plus followed by an ESC the escape key followed by another escape exi...

Страница 15: ...rminal programs Linux Telnet client The Linux Telnet client has three anomalies that are known at this time A null 00 character is sent after a carriage return If an ALT 255 is entered two 255 characters are sent per the 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 fol...

Страница 16: ...he delay time between transmitted characters in 100 microsecond increments Syntax SEND_COMMAND DEV CHARD Time Variable Time 0 255 in 100 microsecond increments Example SEND_COMMAND RS232_1 CHARD10 Sets a 1mS delay between all transmitted characters CHARDM Sets the delay time between transmitted characters in 1 millisecond increments Syntax SEND_COMMAND DEV CHARDM Time Variable Time 0 255 in 1 mill...

Страница 17: ...d Parity Data Stop 485 DISABLE ENABLE TSET BAUD works the same as SET BAUD except that the changes are not permanent and the previous values will be restored if the power is cycled on the device HSOFF Disables hardware hand shaking default Syntax SEND_COMMAND DEV HSOFF Example SEND_COMMAND RS232_1 HSOFF Disables hardware handshaking on the RS232_1 device HSON Enables RTS ready to send and CTS clea...

Страница 18: ...rs to the Master Card TXCLR Stops and clears all charac ters waiting in the transmit buffer Syntax SEND_COMMAND DEV TXCLR Example SEND_COMMAND RS232_1 TXCLR Clears and stops all characters waiting in the RS232_1 device s transmit buffer XOFF Disables software handshak ing default Syntax SEND_COMMAND DEV XOFF Example SEND_COMMAND RS232_1 XOFF Disables software handshaking on the RS232_1 device XON ...

Страница 19: ... all character transmissions You can use this escape sequence with the B9MON command Syntax SEND_STRING DEV 27 18 0 Example SEND_STRING RS232_1 27 18 0 Sets the RS232_1 devices ninth data bit to 0 on all character transmissions 27 19 Inserts time delays before transmitting the next charac ter Syntax SEND_STRING DEV 27 19 Time Variable Time 1 255 in 1 millisecond increments Example SEND_STRING RS23...

Страница 20: ...w 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 func tion 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 ...

Страница 21: ...FF Halts and clears all IR output on the designated port Syntax SEND_COMMAND DEV IROFF Example SEND_COMMAND IR_1 IROFF Immediately halts and clears all IR output signals on the IR_1 port POD Disables active PON power on or POF power off com mand settings Channel 255 changes are enabled This command is used in conjunction with the I O Link command Syntax SEND_COMMAND DEV POD Example SEND_COMMAND IR...

Страница 22: ...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 PTON Sets the duration of power pulses in 10 second incre ments Time is stored in per manent memory 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 P...

Страница 23: ...nd_Commands Cont SP Generates a single IR pulse 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 and 256 65 000 Example SEND_COMMAND IR_1 SP 25 Pulses IR code 25 on IR_1 device ...

Страница 24: ...IR code as 0 0 3 enter SEND_COMMAND IR_1 XCH 34 Transmits the IR code as 0 3 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 3 4 SEND_COMMAND IR_1 XCH 343 Transmits the IR code as 3 4 3 Mode 3 Example 100 100 x x SEND_COMMAND IR_1 XCH 3 Transmits th...

Страница 25: ...active state can be high logic high or low logic low or contact closure Channel 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 state System response INPUT1 ACTIVE HIGH SET INPUT Sets the input channel s active state An active state can be high logic high...

Страница 26: ...Programming 22 NXI NetLinx Integrated Controller ...

Страница 27: ...Programming 23 Enter the Document Name Here ...

Страница 28: ...registered trademarks of AMX AMX reserves the right to alter specifications without notice at any time It s Your World Take Control 3000 RESEARCH DRIVE RICHARDSON TX 75082 USA 800 222 0193 469 624 8000 469 624 7153 fax 800 932 6993 technical support www amx com ...

Отзывы: