Input/Output Send_Commands; Get Dbt; Set Dbt; Get Input - AMX NX-1200 Webconsole And Programming Manual

Nx-series controllers, enova dvx all-in-one presentation / digital media switchers, massio controlpads
Table of Contents

Advertisement

Input/Output SEND_COMMANDs

The I/O port is port 22 on the NX-series controllers and the MCP-108 Massio ControlPad.
The following SEND_COMMANDs program the I/O ports on the Integrated Controller.
I/O SEND_COMMANDs
Command

GET DBT

SET DBT

GET INPUT

SET INPUT

NX-Series Controllers - WebConsole & Programming Guide
Description
Get Debounce Time
Syntax:
GET DBT <n>
Variable:
n = the channel number of the I/O input port
Example:
SEND_COMMAND 5001:22:0,'GET DBT 1'
Retrieves the Debounce time channel 1 on the I/O port.
Response:
DBT 1 50
Responds with the channel number and the Debounce time in milliseconds (ms).
Set Debounce Time
Syntax:
SET DBT <n><v>
Variables:
n = the channel number of the I/O input port
v = Value 1-50 which sets the debounce time in increments of 5ms
Example:
SEND_COMMAND 5001:22:0,'SET DBT 1 10'
Sets channel 1 on the I/O port to 50ms Debounce time.
Get the active state for the selected channels. An 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. The port responds with either 'HIGH'
or 'LOW'.
Syntax:
SEND_COMMAND <DEV>,"'GET INPUT <channel>'"
Variable:
channel = Input channel 1 - 8.
Example:
SEND_COMMAND IO,"'GET INPUT 1'"
Gets the I/O port's active state.
The system could respond with:
INPUT1 ACTIVE HIGH
Set the input channel's active state. An 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. Setting an input to ACTIVE HIGH will disable
the ability to use that channel as an output.
Syntax:
SEND_COMMAND <DEV>,"'SET INPUT <channel> <state>'"
Variable:
channel = Input channel 1 - 8.
state = Active state HIGH or LOW (default).
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 Programming
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents