AMX NXI manual Input/Output SendCommands, ZAP High, Zap Low, GET Input, SET Input

Page 25

Programming

IR/Serial Send_Commands (Cont.)

ZAP HIGH

Syntax:

Deletes all IR data stored in

SEND_COMMAND <DEV>, 'ZAP HIGH'

the NXI ports 12-15.

Example:

 

 

SEND_COMMAND IR_4, 'ZAP HIGH'

 

Deletes IR commands in ports 12-15 of the IR_4 device.

 

 

ZAP LOW

Syntax:

Deletes all IR data stored in

SEND_COMMAND <DEV>, 'ZAP LOW'

the NXI ports 8-11.

Example:

 

 

SEND_COMMAND IR_1, 'ZAP LOW'

 

Deletes IR commands in ports 8-11 of the IR_1 device.

 

 

Input/Output Send_Commands

The following Send_Commands program the I/O ports on the NXI.

I/O SEND_COMMANDS

GET INPUT

An active state can be high (logic high) or low (logic low or contact closure).

Gets the input channels

Channel changes, Pushes, and Releases generate reports based on their

active state.

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

An active state can be high (logic high) or low (logic low or contact closure).

Sets the input channel's

Channel changes, Pushes, and Releases generate reports based on their

active state. Setting an input to ACTIVE HIGH will disable the output for that

active state.

channel.

 

 

Syntax:

 

SEND_COMMAND <DEV>,'SET INPUT <Channel> <State>'

 

Variable:

 

State = LOW or HIGH

 

Example:

 

SEND_COMMAND IO,'SET INPUT 1 HIGH'

 

Sets the I/O channel to detect a high state change, and disables output on the

 

channel.

 

 

NXI NetLinx Integrated Controller

21

 

 

Image 25
Contents NXI AMX Limited Warranty and Disclaimer Table of Contents Table of Contents NXI NetLinx Integrated Controller Front and Rear Panel Components Product InformationNXI Specifications SpecificationsPorts Front panel componentsRear Panel Components Product Information NXI NetLinx Integrated Controller RS-232/422/485 Wiring Specifications Installing the Master or Hub CardRelay Connections and Wiring RS-232/422/485 Wiring SpecificationsInput/Output I/O Connections and Wiring IR/Serial Connections and WiringIR/Serial Connector Wiring Specifications Port Wiring SpecificationsStructure DEV Using the ID ButtonNumberportsystem PC COM Port Communication Settings Program Port CommandsProgram Port Commands Command DescriptionSendcommand Reboot DPSProgram Info PulseEscape Pass Codes ESC Pass CodesLED SendCommands LED Disable/Enable SendCommandsRS232/422/485 Ports Channels RS232/422/485 Ports ChannelsRS-232/422/485 SendCommands RS-232/422/485 SendCommandsTset Baud SET BaudHsoff HsonTxclr RxonXoff XONRS-232/422/485 SendString Escape Sequences RS-232/422/485 SendString Escape SequencesIR/Serial SendCommands IR/Serial SendCommandsIR / Serial Ports 8 15 Channels IR / Serial Ports ChannelsCtof GET ModeCton IroffPON SET ModePtof PtonSendcommand IR1, SP,25 Sendcommand DEV, SP,IR OUTXCH XchmZAP High Input/Output SendCommandsZAP LOW GET InputProgramming NXI NetLinx Integrated Controller Programming Enter the Document Name Here It’s Your World Take Control