AMX NI-2000 Programming Manual page 112

Ni series netlinx integrated controllers webconsole & programming guide
Hide thumbs Also See for NI-2000:
Table of Contents

Advertisement

Terminal (Program Port/Telnet) Commands
Terminal Commands (Cont.)
Command
SEND_STRING D:P:S or
NAME,STRING
SET DATE
SET DNS <D:P:S>
SET DUET MEMORY
SET ETHERNET MODE <CMD>
104
Description
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 NetLinx Pro-
gram. The data of the string is entered with NetLinx string syntax.
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) ->
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 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.
This command sets the current ethernet configuration settings -
auto OR speed = 10 | 100, duplex = full | half
Example:
set ethernet mode auto
set ethernet mode speed=100 duplex=full
Note: See GET ETHERNET MODE.
NI Series WebConsole & Programming Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents