![background image](http://html.mh-extra.com/html/amx/dvx-21xxhd/dvx-21xxhd_webconsole-and-programming-manual_2937827091.webp)
Terminal (Program Port/Telnet) Commands
91
NetLinx Integrated Controllers (Firmware v4)- WebConsole & Programming Guide
Terminal Commands (Cont.)
Command
Description
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 99). 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
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 DNS <D:P:S>
Sets up the DNS configuration of a device. This command prompts you to enter a Domain Name,
DNS IP #1, DNS IP #2, and DNS IP #3. Then, enter Y (yes) to approve/store the information in the
Master. Entering N (no) cancels the operation.
Note:
The device must be rebooted to enable new settings.
Example:
>SET DNS [0:1:0]
-- Enter New Values or just hit Enter to keep current settings --
Enter Domain Suffix: amx.com
Enter DNS Entry 1 : 192.168.20.5
Enter DNS Entry 2 : 12.18.110.8
Enter DNS Entry 3 : 12.18.110.7
You have entered: Domain Name: amx.com
DNS Entry 1: 192.168.20.5
DNS Entry 2: 12.18.110.8
DNS Entry 3: 12.18.110.7
Is this correct? Type Y or N and Enter -> Y
Settings written. Device must be rebooted to
enable new settings
SET DUET MEMORY
Set the amount of memory allocated for Duet Java pool. This is the current Java memory heap size
as measured in Megabytes. This feature is used so that if a NetLinx program requires a certain size
of memory be allotted for its currently used Duet Modules, it can be reserved on the target Master.
Valid values are:
• 2 - 8 for 32MB systems
• 2 - 36 for 64MB systems.
This setting does not take effect until the next reboot.
Note: If you are trying to accomplish this setting of the Duet Memory size via a NetLinx program, the
program command "DUET_MEM_SIZE_SET(int)" should call REBOOT() following a set.