Programming
4
NetLinx Integrated Controller (No Master) - Operation Reference Guide
Notes on Specific Telnet/Terminal Clients
Telnet and terminal clients will have different behaviors in some situations. This section states some of the known
anomalies.
Windows client programs
Anomalies occur when using a Windows™ client if you are not typing standard ASCII characters (i.e. using the keypad
and the ALT key to enter decimal codes). Most programs will allow you to enter specific decimal codes by holding ALT
and using keypad numbers.
For example, hold ALT, hit the keypad 1, then hit keypad 0, then release ALT. The standard line feed code is entered
(decimal 10). Windows will perform an AnsiToOem conversion on some codes entered this way because of the way
Windows handles languages and code pages.
The following codes are known to be altered, but others may be affected depending on the computer's setup.
Characters 15, 21, 22, and any characters above 127.
This affects both Windows Telnet and Terminal programs.
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 NXI.
Escape Pass Codes (Cont.)
Command
Description
+ + ESC D
Decimal Display Mode: Typing a plus (shift =) followed by another plus followed by an ESC (the escape
key) followed by a 'D' sets the display to decimal mode.
Any characters received by the device will be displayed with a \ followed by numeric characters to indicate
the characters decimal value.
+ + ESC H
Hex Display Mode: Typing a plus (shift =) followed by another plus followed by an ESC (the escape key)
followed by an 'H' sets the display to hexadecimal mode.
Any characters received by the device will be displayed with a \ followed by two hex characters to indicate
the characters hex value.
LED Send_Commands
LED-DIS
Disables the LEDs. Issue this command to port 1 to disable all the LEDs on the NXI. When activity occurs on a
port(s) or NXI, 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 NXI.
LED-EN
Enable LEDs (default). Issue the command to port 1 to enable the LEDs on the NXI (default setting). When
activity occurs on a port(s) or NXI, the LEDs light.
Syntax:
SEND_COMMAND <DEV>,'LED-EN'
Example:
SEND_COMMAND System_1,'LED-EN'
Enables the System_1 NXI's LEDs.