Programming
95
NI Series WebConsole & Programming Guide
Input/Output Send_Commands
The following Send_Commands program the I/O ports on the Integrated Controller.
I/O ports: Port 4 (NI-700).
Channels: 1 - 8 I/O channels.
I/O Send Commands
Command
Description
GET INPUT
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 INPUT
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 Master-Ethernet Card/Module NXC-ME260
Страница 8: ...vi NI Series WebConsole Programming Guide Table of Contents ...
Страница 12: ...Overview 4 NI Series WebConsole Programming Guide FIG 1 Internet Explorer with BonJour plug in ...
Страница 13: ...Overview 5 NI Series WebConsole Programming Guide ...
Страница 14: ...Overview 6 NI Series WebConsole Programming Guide ...
Страница 34: ...Onboard WebConsole User Interface 26 NI Series WebConsole Programming Guide ...
Страница 36: ...WebConsole WebControl Options 28 NI Series WebConsole Programming Guide ...
Страница 88: ...WebConsole System Options 80 NI Series WebConsole Programming Guide ...
Страница 104: ...Programming 96 NI Series WebConsole Programming Guide ...
Страница 156: ...Appendix A IPSec Configuration File 148 NI Series WebConsole Programming Guide ...
Страница 161: ...Terminal Program Port Telnet Commands 153 NI Series WebConsole Programming Guide ...