AMX NI-2000 Network Card User Manual


 
Programming
114
NetLinx Integrated Controllers
Linux Telnet client
The Linux Telnet client has three anomalies that are known at this time:
A null (\00) character is sent after a carriage return.
If an ALT 255 is entered, two 255 characters are sent (per the Telnet RAFT).
If the code to go back to command mode is entered (ALT 29 which is ^]), the character is
not sent, but Telnet command mode is entered.
LED Disable/Enable Send_Commands
The following commands enable or disable the LEDs on the Integrated Controller.
RS232/422/485 Ports Channels.
RS-232/422/485 Send_Commands
LED Send_Commands
LED-DIS
Disables the LEDs.
Issue this command to port 1 to disable all the LEDs on the Controller. When
activity occurs on a port(s) or Controller, the LEDs will not light.
Syntax:
SEND_COMMAND <DEV>,'LED-DIS'
Example:
SEND_COMMAND System_1,'LED-DIS'
Disables all the LEDs on the System_1 Controller.
LED-EN
Enable LEDs (default).
Issue the command to port 1 to enable the LEDs on the Controller (default
setting). When activity occurs on a port(s) or Controller, the LEDs light.
Syntax:
SEND_COMMAND <DEV>,'LED-EN'
Example:
SEND_COMMAND System_1,'LED-EN'
Enables the System_1 Controller's LEDs.
RS232/422/485 Ports Channels
255 - CTS push channel Reflects the state of the CTS input if a 'CTSPSH' command was sent to the
port.
RS-232/422/485 Send_Commands
B9MOFF
Sets the port's
communication parameters
for stop and data bits
according to the software
settings on the
RS-232 port (default).
This command works in conjunction with the B9MON command.
Syntax:
SEND_COMMAND <DEV>,'B9MOFF'
Example:
SEND_COMMAND RS232_1,'B9MOFF'
Sets the RS-232 port settings to match the port's configuration settings.