AMX NI-3000 Input/Output SendCommands, I/O Sendcommands, Programming, Get Input, Set Input

Models: NI-2000 NI-4000 NI-3000

1 134
Download 134 pages 57.78 Kb
Page 129
Image 129
Input/Output Send_Commands

Programming

Input/Output Send_Commands

The following Send_Commands program the I/O ports on the Integrated Controller.

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.

NetLinx Integrated Controllers

123

 

 

 

 

Page 129
Image 129
AMX NI-3000 Input/Output SendCommands, I/O Sendcommands, Programming, Get Input, Set Input, NetLinx Integrated Controllers