Terminal (Program Port/Telnet) Commands
111
NX-Series Controllers - WebConsole & Programming Guide
Terminal Commands (Cont.)
Command
Description
REMOVE AUDIT SERVER [D:P:P]
Removes a remote syslog server for audit messages.
- D: IP address or host name of the remote server
- P: Port number
- P: Protocol (UDP, TCP, or RELP)
Example:
>REMOVE AUDIT SERVER REMOTESVR:514:UDP
RENEW DHCP
Renews/Releases the current DHCP lease for the Master.
NOTE:
The Master must be rebooted to acquire a new DHCP lease.
Example:
>RENEW DHCP
REPORT FIRMWARE
Calculates and displays checksums for stored firmware installation files.
REPORT NETLINX
Calculates and displays a checksum for the currently installed NetLinx code.
RESETADMINPASSWORD
This command resets the administrator password. The password is set to one of the following
passwords depending on the Password Complexity setting:
• Low - password
• Medium - Amx1234!
• High - Amx1234!PasSword
NOTE:
This command is only available to Program Port terminal sessions. It is not available to
Telnet sessions (see the Overview
).
RESET FACTORY
Resets the Master to factory default state including removal of all security settings, removal of all
user files, resetting to DHCP, and loading an empty NetLinx program. The Master will be effectively
in an out-of-box state.
ROUTE MODE DIRECT|NORMAL
Sets the Master-to-Master route mode:
• Normal mode - allows a Master to communicate with any Master accessible via the routing tables
(shown with the
SHOW ROUTE
command - see page 118). This includes a directly-connected
Master (route metric =1) and indirectly connected Masters (route metric greater than 1, but less
than 16).
• Direct mode - allows communication only with Masters that are directly connected (route metric
= 1). Indirectly connected Masters cannot be communicated within this mode.
Examples:
>ROUTE MODE DIRECT
Route Mode "Direct" Set
>ROUTE MODE NORMAL
Route Mode "Normal" Set
SELINUX STATUS
Displays the status of Security-Enhanced Linux (SELinux).
SEND_COMMAND D:P:S or
NAME,COMMAND
Sends a specified command to a device. The device can be on any system that the Master you are
connected to can reach. You can specify the device number, port, and system; or the name of the
device that is defined in the
DEFINE_DEVICE
section of the Program.
The data of the string is entered with the following NetLinx string syntax:
SEND_COMMAND 1:1:1,"'This is a test',13,10"
SEND_COMMAND RS232_1,"'This is a test',13,10"
SEND_LEVEL <D:P:S>,
<LEVEL ID>,<LEVEL VALUE>
Allows the user to set a level on a device via the Master's Telnet/program port interface.
SEND_STRING D:P:S or
NAME,STRING
Sends a string to a specified device. The device can be on any system that the Master you are
connected to can reach.
You can specify the device number, port, and system; or the name of the device defined in the
DEFINE_DEVICE
section of the Program.
The data of the string is entered with NetLinx string syntax.
SET DATE
Prompts you to enter the new date for the Master. When the date is set on the Master, the new date
will be reflected on all devices in the system that have clocks (i.e. touch panels). By the same token,
if you set the date on any system device, the new date will be reflected on the system’s Master, and
on all connected devices.
NOTE:
This command will not update clocks on devices connected to another Master (in
Master-to-Master systems).
Example:
>SET DATE
Enter Date: (mm/dd//yyyy) ->
SET DEVICE REBOOT
Sets the fault response to an NI device side failure.
Example:
>SET DEVICE REBOOT