Specifications
Terminal (Program Port/Telnet) Commands
95
NX-Series Controllers - WebConsole & Programming Guide
Terminal Commands (Cont.)
Command Description
MEM Displays the largest free block of the Master’s memory.
Example:
>MEM
The largest free block of memory is 11442776 bytes.
MSG ON|OFF Enables/Disables extended diagnostic messages.
• MSG On [error|warning|info|debug] sets the terminal program to display log
messages generated by the Master. The level of log printed to the terminal
window depends both on the level used when sending the message and the
output level selected with "msg on."
For example if log output is enabled via "msg on warning" then logs produced at
levels AMX_ERROR and AMX_WARNING will be displayed, but not logs
produced at levels AMX_INFO or AMX_DEBUG.
The order of severity from highest to lowest is ERROR, WARNING, INFO,
DEBUG.
If no severity is supplied with "msg on", the default setting is WARNING.
• MSG OFF disables the display.
Example:
> MSG ON
Extended diagnostic information messages turned on.
> MSG OFF
Extended diagnostic information messages turned off.
MSG STATS Calculates incoming and outgoing messages over a time interval.
NETLINX LOG LEVEL Configure the current setting for the NetLinx AMX_LOG facility.
Example:
>netlinx log level
NetLinx Log Level is WARNING
Set NetLinx Log level to :
1) ERROR
2) WARNING
3) INFO
4) DEBUG
Enter selection or press return to keep current level:
>3
NetLinx Log Level set to INFO
OFF [D:P:S or NAME,CHAN] Turns off a specified channel on a device. The device can be on any system that the
Master you are connected to is able to 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.
Syntax:
OFF[name,channel]
-or-
OFF[D:P:S,channel]
Example:
>OFF[5001:7:4,1]
Sending Off[5001:7:4,1]
ON [D:P:S or NAME,CHAN] Turns on a specified channel on a device. The device can be on any system that the
Master you are connected to is able to 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.
Syntax:
ON[name,channel]
-or-
ON[D:P:S,channel]
Example:
>ON[5001:7:4,1]
Sending On[5001:7:4,1]