AMX NI-2000 Instruction Manual Page 129

  • Download
  • Add to my manuals
  • Print
  • Page
    / 134
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 128
Programming
123
NetLinx Integrated Controllers
Input/Output Send_Commands
The following Send_Commands program the I/O ports on the Integrated Controller.
I/O SEND_COMMANDS
GET INPUT
Gets the input channels
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.
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) 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 output for that
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.
Page view 128

Comments to this Manuals

No comments