Terminal (Program Port/Telnet) Commands
120
NX-Series Controllers - WebConsole & Programming Guide
ESC Pass Codes
There are 'escape' codes in the pass mode. These codes can switch the display mode or exit pass mode. The following 'escape'
codes are defined.
Using the ICSLAN Network
The default IP address for the ICSLAN network is 198.18.0.1 with a subnet mask of 255.255.0.0.
It is important that the ICSLAN and LAN subnets do not overlap. If the LAN port is configured such that its address space overlaps
with the ICSLAN network, the ICSLAN network will be DISABLED.
DHCP Server
The ICSLAN port has a built-in DHCP server. This DHCP server is enabled by default and will serve IP addresses to any connected
devices set to DHCP mode.
The DHCP server can be disabled from telnet with the command:
SET ICSLAN
The DHCP address range is fixed. The server will provide addresses in the range x.x.0.2 through x.x.63.255.
Devices using static IP addresses on the ICSLAN network should be set within the reserved static IP address range of x.x.64.1 to
x.x.255.255.
Opening LAN and ICSLAN Sockets from Code
When opening sockets from NetLinx or Java code there is no mechanism to indicate which network to use. The controller will open
the socket on whichever network has an IP subnet that matches the address provided in the command to open the socket. There is
no indication which network was used, only whether the socket was created successfully.
Escape Pass Codes
Command
Description
+ + ESC ESC
Exit Pass Mode: Typing a plus (shift =) followed by another plus followed by an ESC (the escape key) followed by another
escape exits the pass mode.
The Telnet session returns to "normal".
+ + ESC A
ASCII Display Mode: Typing a plus (shift =) followed by another plus followed by an ESC (the escape key) followed by an
'A' sets the display to ASCII mode.
Any ASCII characters received by the device will be displayed by their ASCII symbol.
Any non-ASCII characters will be displayed with a \ followed by two hex characters to indicate the characters hex value.
+ + 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.