NetLinxControllers - Webconsole ProgrammingGuide - fmv4
NetLinxControllers - Webconsole ProgrammingGuide - fmv4
Central Controllers
L a s t R e v is e d : 5 / 3 0 / 2 0 1 4
Electroluminescent and LCD Control Panels are warranted for three (3) years, except for the display and touch overlay components
are warranted for a period of one (1) year.
Disk drive mechanisms, pan/tilt heads, power supplies, and MX Series products are warranted for a period of one (1) year.
AMX lighting products are guaranteed to switch on and off any load that is properly connected to our lighting products, as long as the
AMX lighting products are under warranty. AMX also guarantees the control of dimmable loads that are properly connected to our
lighting products. The dimming performance or quality there of is not guaranteed, impart due to the random combinations of dimmers,
lamps and ballasts or transformers.
Batteries and incandescent lamps are not covered under the warranty.
AMX AutoPatch Epica, Modula, Modula Series4, Modula CatPro Series and 8Y-3000 product models will be free of defects in materials and manufacture at the time of sale and will remain in good working order for a period of three (3) years following the date of the
original sales invoice from AMX. The three-year warranty period will be extended to the life of the product (Limited Lifetime Warranty)
if the warranty card is filled out by the dealer and/or end user and returned to AMX so that AMX receives it within thirty (30) days of
the installation of equipment but no later than six (6) months from original AMX sales invoice date. The life of the product extends until
five (5) years after AMX ceases manufacturing the product model. The Limited Lifetime Warranty applies to products in their original
installation only. If a product is moved to a different installation, the Limited Lifetime Warranty will no longer apply, and the product
warranty will instead be the three (3) year Limited Warranty.
All products returned to AMX require a Return Material Authorization (RMA) number. The RMA number is obtained from the AMX RMA
Department. The RMA number must be clearly marked on the outside of each box. The RMA is valid for a 30-day period. After the 30-day
period the RMA will be cancelled. Any shipments received not consistent with the RMA, or after the RMA is cancelled, will be refused. AMX
is not responsible for products returned without a valid RMA number.
AMX is not liable for any damages caused by its products or for the failure of its products to perform. This includes any lost profits, lost savings, incidental damages, or consequential damages. AMX is not liable for any claim made by a third party or by an AMX Authorized Partner for a third party.
This Limited Warranty does not apply to (a) any AMX product that has been modified, altered or repaired by an unauthorized agent or
improperly transported, stored, installed, used, or maintained; (b) damage caused by acts of nature, including flood, erosion, or earthquake; (c) damage caused by a sustained low or high voltage situation or by a low or high voltage disturbance, including brownouts, sags,
spikes, or power outages; or (d) damage caused by war, vandalism, theft, depletion, or obsolescence.
This limitation of liability applies whether damages are sought, or a claim is made, under this warranty or as a tort claim (including negligence and strict product liability), a contract claim, or any other claim. This limitation of liability cannot be waived or amended by any person. This limitation of liability will be effective even if AMX or an authorized representative of AMX has been advised of the possibility of
any such damages. This limitation of liability, however, will not apply to claims for personal injury.
Some states do not allow a limitation of how long an implied warranty last. Some states do not allow the limitation or exclusion of incidental
or consequential damages for consumer products. In such states, the limitation or exclusion of the Limited Warranty may not apply. This
Limited Warranty gives the owner specific legal rights. The owner may also have other rights that vary from state to state. The owner is
advised to consult applicable state laws for full determination of rights.
EXCEPT AS EXPRESSLY SET FORTH IN THIS WARRANTY, AMX MAKES NO OTHER WARRANTIES, EXPRESSED OR IMPLIED,
INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. AMX EXPRESSLY
DISCLAIMS ALL WARRANTIES NOT STATED IN THIS LIMITED WARRANTY. ANY IMPLIED WARRANTIES THAT MAY BE IMPOSED
BY LAW ARE LIMITED TO THE TERMS OF THIS LIMITED WARRANTY. EXCEPT AS OTHERWISE LIMITED BY APPLICABLE LAW,
AMX RESERVES THE RIGHT TO MODIFY OR DISCONTINUE DESIGNS, SPECIFICATIONS, WARRANTIES, PRICES, AND POLICIES
WITHOUT NOTICE.
Table of Contents
Table of Contents
Overview ............................................................................................................1
NetLinx Integrated Controllers ................................................................................. 1
Enova DVX All-In-One Presentation Switchers ......................................................... 1
Enova DVX-21xxHD & DVX-315xHD............................................................................... 2
Table of Contents
Device Tree............................................................................................................. 28
Device Network Settings Pages.............................................................................. 29
ZeroConfig Networking ................................................................................................ 29
ii
Table of Contents
iii
Table of Contents
iv
83
83
84
84
84
84
84
Table of Contents
HSOFF ....................................................................................................................................
HSON .....................................................................................................................................
RXCLR.....................................................................................................................................
RXOFF ....................................................................................................................................
RXON .....................................................................................................................................
SET BAUD...............................................................................................................................
TSET BAUD .............................................................................................................................
TXCLR .....................................................................................................................................
XOFF ......................................................................................................................................
XON........................................................................................................................................
84
85
85
85
85
85
86
86
86
86
87
87
87
87
87
87
88
88
89
89
89
89
90
90
90
90
90
91
91
91
91
92
92
92
92
93
94
94
94
95
Table of Contents
vi
Table of Contents
105
106
106
106
108
108
108
108
109
109
109
109
109
110
110
110
111
111
112
112
112
112
112
113
113
113
113
113
113
114
114
114
114
vii
Table of Contents
viii
129
129
129
129
129
129
129
129
129
129
129
130
130
130
130
130
130
131
131
Overview
Overview
NetLinx Integrated Controllers
NetLinx Integrated Controllers (Masters) can be programmed to control RS-232/422/485, Relay, IR/Serial, and Input/
Output devices using the NetLinx Studio application (version 2.4 or higher).
NetLinx Integrated Controllers
Name
Description
NI-700
NI-900
NI-2100
NI-3100
NI-3101-SIG
NI-4100
Refer to Products > Central Controllers > NetLinx Integrated Controllers page at
www.amx.com for details and variations available for these products.
These NI Controllers feature an on-board Web Console which allows you to connect to the NI Controller via a web
browser and make various configuration and security settings. The Web Console is described in this document (starting
with the Onboard WebConsole User Interface section on page 27).
These NI Controllers are Duet-compatible and can be upgraded via firmware. Duet is a dual-interpreter firmware
platform from AMX which combines the proven reliability and power of NetLinx with the extensive capabilities of the
Java MicroEdition (JavaME) platform. Duet simplifies the programming of a system that includes the NI-900 and
other third party devices by standardizing device and function definitions, defaulting touch panel button assignments,
and controlling feedback methods.
NI Controllers feature an on-board Web Console which allows you to connect to the NI Controller via a web browser and
make various configuration and security settings. The Web Console is described in this document (starting with the
Onboard WebConsole User Interface section on page 27).
Dynamic Device Discovery makes integration even easier by automatically identifying and communicating with devices
which support this beaconing technology. Refer to the Manage Devices - Device Options section on page 66 for more
detailed information on the use of Dynamic Device Discovery (DDD).
Description
DVX-3150HD
DVX-3155HD
DVX-3156HD
DVX-2150HD
DVX-2155HD
DVX-2100HD
Overview
Overview
Before using your new NI unit, you must first update your NetLinx Studio to the most recent release.
Upgrade the on-board Master firmware through an IP Address via the LAN connector (Upgrading
Overview
Initial Configuration
Initial Configuration
Overview
This section describes using the NetLinx Studio software application to perform the initial configuration of the NetLinx
Master. NetLinx Studio is used to setup a System number, obtain/assign the IP/URL for the NI Controller, as described
in this section (as well as to transfer firmware Kit files to the Master - see the Upgrading Firmware section on page 17).
2. Verify that an LAN/ICSNet cable is connected from the NI Controller to the LAN Hub.
3. Connect an programming cable (RS-232) from the Program Port on the Central Controller to a COM port on the
PC being used for programming.
NI-4000/4100 only: Verify that any control cards are inserted and their respective connectors are attached.
1. Launch NetLinx Studio and select Settings > Master Communication Settings (FIG. 2):
FIG. 2 NetLinx Studio menu bar - Settings > Master Communication Settings
Initial Configuration
3. Click the Communications Settings button to open the Communications Settings dialog (FIG. 4):
4. Select NetLinx Master under Platform Selection to indicate you are working with a NetLinx Master.
5. Select the Serial tab to view the serial options (FIG. 5).
6. On the Serial tab, set the COM port parameters (used to communicate to the NetLinx Master).
Default serial settings for NetLinx Masters are:
Comm Port:
COM 1
Baud Rate:
38400
Data Bits:
Parity:
None
Stop Bits:
Initial Configuration
8. Note that the serial configuration is indicated in the Configuration text field (FIG. 6):
9.
Click OK to close the Master Communication Settings dialog and return to the main application.
10. Right-click the Online Tree tab entry and select Refresh System: the Controller should appear in the Device Tree
(FIG. 7):
If not, verify that the Serial cable is connected properly, and that the Baud Rate settings on the Controller (set via
the Program Port DIP Switch) match the settings in NetLinx Studio.
Once Serial communication has been established, use NetLinx Studio to configure the Controller for LAN
Communication, as described below.
Initial Configuration
1. Use an LAN cable to connect the Controller to the LAN to which the PC running NetLinx Studio is connected.
The NI-x100 Controllers feature an Auto MDI/MDI-X LAN port. This provides the
option of using either a standard (straight through), or a crossover LAN cable to
communicate with a PC - both cable types will work.
2. Select Diagnostics > Network Addresses from the menu bar to open the Network Addresses dialog (FIG. 8). Use
the options in this dialog to select to either use DHCP or specify an IP Address.
3. Click Get IP Information to enable the fields for editing (FIG. 9):
4. Enter the System, Device (0 for NetLinx Masters), and Host Name information.
Host names may contain only the ASCII letters 'a' through 'z' (in a case-insensitive
manner), the digits '0' through '9', and the hyphen ('-').
Initial Configuration
a.
b.
c.
d.
Select Use DHCP, then click Get IP Information to obtain a DHCP Address from the DHCP Server.
Click SET IP Information to retain the new address,
To finish the process, click Reboot Device.
Click OK to close the dialog.
a.
b.
c.
d.
e.
7. Repeat steps 1 - 5 from the previous section, but rather than selecting the Serial option, choose TCP/IP and edit the
settings to match the IP Address you are using (Static or IP).
8. Click on the Authentication Required radio box (if the Master is secured) and press the User Name and
Password button to enter a valid username and password being used by the secured Master.
9. Click the OK to close all dialogs and return to the main application.
Initial Configuration
1. Access the Device Addressing dialog (FIG. 12) by selecting Diagnostics > Device Addressing.
4. Click the Start Identify Mode button. This action activates Identify Mode on the named System.
"Identify Mode" means that the system is put on hold while it waits for an event from
any NetLinx device in the named system (for example, pushing the ID button on a
NetLinx device). The device that generates the first event is the device that gets
identified.
The Device Addressing dialog displays the "Waiting...Press Cancel to Quit..." message, indicating that Identify
Mode is currently active (NetLinx Studio is waiting to detect a device - FIG. 13).
10
Initial Configuration
5. Press the NI Controllers ID button to assign the new Device / System values entered in step 3 to the Controller. At
this point, the "Successful Identification Made " message is displayed (FIG. 14):
Device identified
ID Mode no longer active
1. In NetLinx Studio, select Diagnostics > Network Addresses from the Main menu to access the Network Addresses
dialog (FIG. 15).
2. Verify that both the System number corresponds to the System value previously assigned within the Device
Addressing tab and that zero (0) is entered into the Device field.
The system value must correspond to the Device Address entered in the Device
Addressing dialog. Refer to the Manage System - System Number section on
page 45 for more detailed instructions on setting a system value.
3. Click Get IP Information to configure the on-board Master for DHCP usage and then read the IP Address obtained
from the DHCP Server. This action enables the Use DHCP and Specify IP Address options.
DO NOT enter ANY IP information at this time; this step only gets the System Master
to recognize that it should begin using an obtained DHCP Address.
4. Note the obtained IP Address (read-only). This information is later entered into the Master Communication Settings
dialog and used by NetLinx Studio to communicate to the NI Controller via an IP. This address is reserved by the
DHCP server and then given to the Master.
11
Initial Configuration
If the IP Address field is empty, give the Master a few minutes to negotiate a DHCP
Address with the DHCP Server, and try again. The DHCP Server can take anywhere
from a few seconds to a few minutes to provide the Master with an IP Address.
5. Verify that NetLinx appears in the Host Name field (if not, then enter it in at this time).
6. Select Use DHCP.
7. Click Set IP Information to retain the IP Address from the DHCP server and assign it to the on-board Master. A
popup window is displayed to indicate that setting the IP information was successful and to prompt you to reboot
the Master.
Verify that these IP values are also entered into the related fields within either the
IP Settings section of the System Connection page (on the touch panel) or within the
Address field on the web browser.
1. In NetLinx Studio, select Diagnostics > Network Addresses to open the Network Addresses dialog (FIG. 16):
2. Verify that both the System number corresponds to the System value previously assigned within the Device
Addressing tab and that zero (0) is entered into the Device field.
The system value must correspond to the Device Address previously entered in the
Device Addressing tab. Refer to the Manage System - System Number section on
page 45 for more detailed instructions on setting a system value.
3. Click the Get IP Information button to temporarily configure the on-board Master for DHCP usage and then read
the IP Address obtained from the DHCP Server. This action enables the Use DHCP and Specify IP Address options.
12
Initial Configuration
4. Select Specify IP Address to enable the IP fields for editing (FIG. 17):
5. Verify that NetLinx appears in the Host Name field (if not, then enter it in at this time).
6. Enter the IP Address, Subnet Mask, and Gateway information into their respective fields (as defined by the System
Administrator).
Verify that these IP values are also entered into the related fields within either the
IP Settings section of the System Connection page (on the touch panel) or within the
Address field on the web browser.
7. Click Set IP Information to cause the on-board Master to retain this new IP Address.
8. Click Reboot Master.
9. Click Done to close the dialog.
On the front panel of the NetLinx Master, the STATUS and OUTPUT LEDs should
begin to alternately blink during the incorporation. Wait until the STATUS LED is the
only LED to blink.
Complete the communication process by continuing on to the Communicating Via IP Address section on page 14.
13
Initial Configuration
1. Use NetLinx Studio to obtain the IP Address of the NI Controller from your System Administrator.
If you do not have an IP Address, follow the steps outlined in either the Obtaining the NI Controllers IP Address
(using DHCP) section on page 11, or the Assigning a Static IP to the NI Controller section on page 12.
2. Select Settings > Master Communication Settings from the Main menu to open the Master Communication
Settings dialog (FIG. 18):
3. Click Communications Settings to open the Communications Settings dialog (FIG. 19):
14
Initial Configuration
6.
Click New to open the New TCP/IP Setting dialog, where you can enter both a previously obtained DHCP or Static
IP Address and an associated Description for the connection into their respective fields. (FIG. 21):
15
Initial Configuration
7. Click OK to close the New TCP/IP Settings dialog and return to the Communication Settings dialog: (FIG. 22).
FIG. 23 NetLinx Studio - Communication Settings dialog (Configuration field indicating the selected IP Address)
9. Click OK to begin the communication process to your Master (and close the dialog).
If you are currently connected to a Master, a pop-up asks whether you would want to stop communication to
10. Click Reboot (from the Tools > Reboot the Master Controller dialog) and wait for the Master to reboot.
On the front panel of the NetLinx Master, the STATUS and OUTPUT LEDs should
begin to alternately blink during the incorporation. Wait until the STATUS LED is the
only LED to blink.
11. Click the OnLine Tree tab in the Workspace window to view the devices on the System. The default System value
is one (1).
12. Right-click the associated System number and select Refresh System. This establishes a new connection to the
specified System and populates the list with devices on that system. The communication method is then highlighted
in green on the bottom of the NetLinx Studio window.
If the connection fails to establish, a Connection Failed dialog appears. Try selecting
a different IP Address if communication fails. Press the Retry button to reconnect
using the same communication parameters. Press the Change button to alter your
communication parameters and repeat the steps above.
16
Upgrading Firmware
Upgrading Firmware
Overview
The basic process of upgrading firmware on NI Controllers as well as Enova DVX All-In-One Presentation Switchers is
essentially the same. In all cases it involves downloading the latest firmware files from www.amx.com and using
NetLinx Studio to transfer the files to a target NI Controller. Since the instructions in this section apply to both NI
Controllers and Enova DVX All-In-One Presentation Switchers, the term Central Controller is used to describe both NI
Controllers and Enova DVX All-In-One Presentation Switchers.
Use the OnLine Device tree in NetLinx Studio to view the firmware files currently loaded on the Central Controller.
FIG. 24 shows an example OnLine Tree indicating a NI-2100:
While the method of upgrading firmware files is the same for all Central Controllers, there are some specific points
relative to the specific model and type of controller that must be noted:
Device Controller Firmware The Device Controller is listed next as "05001 NI-XXXX (<firmware version>)"
For example, the Device Controller in FIG. 24 above is "05001 - NI-2100 (v1.20.7)".
"05001" represents Device ID 5001, which is reserved for the Device Control ports.
The number in parenthesis (in this case "v1.20.7") is the current Device Controller
firmware version.
In the case of an NI-4000 or NI-4100 with installed NXC cards, the cards will also be
represented in the OnLine Tree. See the Upgrading NXC Card Firmware section on
page 23 for details.
17
Upgrading Firmware
Enova DVX
Enova DVX All-In-One Presentation Switchers contain three devices (NI Master, Device Controller and A/V Switcher/
Scaler), each of which require a separate Kit file. These three devices must be kept at compatible firmware versions for
proper operation. Therefore, all three files should be used when upgrading any firmware associated with the Enova DVX
All-In-One Presentation Switchers.
DVX Controllers - Firmware Files
NI Master Firmware
2. Verify that an LAN/ICSNet cable is connected from the Central Controller to the LAN Hub.
3. Connect an programming cable (RS-232) from the Program Port on the Central Controller to a COM port on the PC
being used for programming.
NI-4000/4100 only: Verify that any control cards are inserted and their respective connectors are attached.
1. In NetLinx Studio, click on the OnLine Tree tab (in the Workspace Bar) to view the devices on the System.
2. Click Display and select Refresh System from the context menu. This establishes a new connection to the System
and populates the device tree with devices on that system.
3. After the Communication Verification dialog indicates active communication between the PC and the Central
Controller, verify the Central Controller and associated devices are listed in the OnLine Tree.
4. Check the appropriate product page on www.amx.com for the latest NI Master, Device Controller (and A/V
Switcher/Scaler firmware files in the case of Enova DVX) for your device.
If necessary, follow the procedures outlined in the following sections to obtain these firmware (*.kit) files from
www.amx.com and then transfer the new firmware files to the device.
18
Upgrading Firmware
NI-3101-SIG
NI-700
NI-900
Firmware files are bundled in a ZIP file, along with a Readme.TXT file that provides details on this firmware release.
19
Upgrading Firmware
DVX-2100HD
FIG. 26 www.amx.com - sample Enova DVX Firmware File links (DVX-3150 shown)
Firmware files are bundled in a ZIP file, along with a Readme.TXT file that provides details on this firmware release.
20
Upgrading Firmware
1. In NetLinx Studio. click on the OnLine Tree tab (in the Workspace Bar) to view the devices on the System.
2. In the OnLine Tree tab, click Display and select Refresh System from the context menu. This establishes a new
connection to the System and populates the device tree with devices on that system.
3. After the Communication Verification dialog indicates active communication between the PC and the Central
Controller, verify the Master and associated devices (including the Device Controller and A/V Switcher/Scaler for
Enova DVX) are listed in the OnLine Tree.
4. In NetLinx Studio, select Tools > Firmware Transfers > Send to NetLinx Device (FIG. 27):
FIG. 27 NetLinx Studio - Tools > Firmware Transfers > Send To NetLinx Device
5. Click the Browse button (...) to locate and select the firmware (*.kit) file that will be transferred, in the Browse for
Folders dialog (FIG. 28):
21
Upgrading Firmware
6. Verify the targets System number matches the value listed within the active System folder in the OnLine Tree.
The Device number is always 0 for the NI Master.
Note that the Port field is disabled (FIG. 29).
FIG. 29 Send to NetLinx Device dialog (showing on-board NI_Master firmware update)
7. Verify that the Reboot Device checkbox is selected to reboot the NI unit after the firmware update process is
complete (selected by default).
8. Click Send to begin the transfer. The file transfer progress is indicated in the Progress section of the dialog.
Only upon the initial installation of a new Kit file to an on-board Master will there
be a error message displayed indicating a failure of the last component to
successfully download. This is part of the NI Master update procedure and requires
that the firmware be reloaded after a reboot of the unit. This consecutive process
installs the final component of the new Kit file.
After the last components fails to install, click Done.
Repeat steps 5 - 9 (the last component will now successfully be installed).
10. In the OnLine Tree, right-click on the Master and select Refresh System. This establishes a new connection and
refreshes the device list and their firmware versions in your system.
Once the process is complete, you can upgrade the remaining firmware files. All device files must be kept at compatible
firmware versions for proper operation. Therefore, all files should be used when upgrading any firmware associated with
the Integrated Controllers.
Be sure to follow the required order for installing firmware files:
See the Required Order of Firmware Updates for NI Controllers section on page 20
See the Required Order of Firmware Updates for DVX Controllers section on page 20
22
Upgrading Firmware
1. Follow the procedures outlined within the Communicating Via IP Address section on page 14 to connect to the
target NI device via the web.
2. After NetLinx Studio has established a connection to the target Master, click the OnLine Tree tab of the Workspace
window to view the devices on the System. The default System value is one (1).
3. Right-click the associated System number and select Refresh System. This establishes a new connection to the
specified System and populates the list with devices on that system. The communication method is highlighted in
green on the bottom of the NetLinx Studio window.
4. After the Communication Verification dialog window verifies active communication between the PC and the NI
unit, verify the NetLinx NXC Control Cards appear in the OnLine Tree tab of the Workspace window (FIG. 30).
NI Master
Control cards (NI-4x00 ONLY)
Device Controller
If the control card firmware is not up to date; download the latest firmware file from
www.amx.com > Tech Center > Downloadable Files > Firmware Files >
NXC-XXX. In this example, the NXC-VOL card contains out-of-date firmware and
requires build 1.00.09.
5. If the NXC card firmware being used is not current, download the firmware file by first logging in to
www.amx.com and then navigate to Tech Center > Firmware Files and from within the NetLinx section of the
web page locate the NXC card entries.
6. Click on the desired Kit file link and after youve accepted the Licensing Agreement, verify you have downloaded
the NetLinx NXC card firmware (Kit) file to a known location.
7. Verify you have downloaded the latest NetLinx Control Card firmware (Kit) file to a known location.
23
Upgrading Firmware
8. Select Tools > Firmware Transfers > Send to NetLinx Device from the Main menu to open the Send to NetLinx
Device dialog (FIG. 31). Verify the targets Device and System numbers matches the value listed within the System
folder in the Workspace window.
Description field for selected Kit file
Firmware download
status
9. Select the Control Cards Kit file from the Files section (FIG. 31) (in our above example we chose to update the
NXC-VOL4 card).
10. Enter the System and Device numbers associated with the desired Master (listed in the Workspace window). A
device value of 00003 is the same as a value of 3.
11. Click the Reboot Device checkbox to reboot the NI unit after the firmware update process is complete and then redetect the new NXC card firmware.
12. Click Send to begin the transfer. The file transfer progress is indicated on the bottom-right of the dialog (FIG. 31).
13. Click Close once the download process is complete.
14. Click Reboot (from the Tools > Reboot the Master Controller dialog) and wait for the System Master to reboot.
The STATUS and OUTPUT LEDs should begin to alternately blink during the incorporation. Wait until the
STATUS LED is the only LED to blink.
15. Press Done once until the Master Reboot Status field reads *Reboot of System Complete*.
16. Cycle power to the Master (unplug and reconnect power to the unit).
This process of cycling power acts to reset the updated NetLinx Control Card and
detect its new firmware update. It also serves to allow the Integrated Controller to
detect and reflect the new firmware on the card to the NetLinx Studio display on the
Workspace window.
17. After Studio has establish a connection to target Master, click the OnLine Tree tab of the Workspace window to
view the devices on the System. The default System value is one (1).
18. Right-click the associated System number and select Refresh System. This establishes a new connection to the
specified System and populates the list with devices on that system.
The communication method is highlighted in green on the bottom of the NetLinx Studio window.
24
Upgrading Firmware
This resets both the system value and device addresses (for definable devices) to their factory default settings. The
system information (in the OnLine Tree tab of the Workspace window) refreshes and then displays the new
information.
By setting the system to its default value (#1), Modero panels that were set to
connect to the Master on another System value will not appear in the OnLine Tree
tab of the Workspace window.
For example: A Modero touch panel was previously set to System #2. The system is
then reset to its default setting of System #1 and then refreshed from within the
Workspace window. The panel will not reappear until the system is changed (from
within the System Connection page on the Modero) to match the new value and both
the Master and panel are rebooted.
5. Press Done once until the Master Reboot Status field reads *Reboot of System Complete*.
6. Click the OnLine Tree tab in the Workspace window to view the devices on the System.
7. Right-click the associated System number (or anywhere within the tab itself) and select Refresh System. This
establishes a new connection to the specified System and populates the list with devices on that system.
25
Upgrading Firmware
26
The webconsole is divided into three primary sections, indicated by three control buttons across the top of the main page
(FIG. 34):
Manage Web Control Connections page to manage G4 Web Control connections (see the WebConsole - Web
Control Options section on page 43).
Security: Click to access the System Security page. The options in this page allow you to configure various
aspects of NetLinx System and Security on the Master (see the WebConsole - Security Options section on
page 31).
System: Click to access the System Details page. The options on this page allow you to view and configure
various aspects of the NetLinx System (see the WebConsole - System Options section on page 45).
27
1. Open a web browser and type the IP Address of the target Master in the Address Bar.
2. Press Enter to access WebConsole for that Master. The initial view is the Web Control page (FIG. 33).
Device Tree
Click the Show Device Tree checkbox to show/hide the online device tree, which indicates all devices currently
connected to this Master. Use the plus and minus symbols to the left of each item in the Device Tree to expand the view
to include System devices, ports and individual Port settings.
At the Port view, you can use the Device Tree to make specific port assignments (including Channel and Level
assignments) (FIG. 35).
(all Collapsed)
28
ZeroConfig Networking
Use these radio buttons to enable/disable the new Zero-Configuration (zeroconf) client in the Master.
By default, zeroconf is enabled (On option selected). With zeroconf enabled, the Master's web interface will be
registered via zeroconf and can be viewed through a zeroconf browser plug-in such as Bonjour for IE.
29
30
31
Account 2
Username: administrator
Username: NetLinx
Group 1
Password: password
Password: password
Group: administrator
Group: none
Rights: All
Rights: All
Directory Association: /*
Directory Association: /*
Group: administrator
enabled by default.
All other security options are disabled by default.
Login Rules
There is no limit to the number of concurrent logins allowed for a single user. This allows for the creation of a single
User that is provided to multiple ICSP devices (touch panels, for example) using the same login to obtain access to the
Master.
For example, if you had 50 devices connected to a Master, you would not have to create 50 individual user accounts-one
for each device. Instead, you only need to create one which all 50 devices use for access.
The first layer of security for the Master is to prompt a user to enter a valid username and password before gaining access
to a secured feature on the target Master.
Depending on the Security configuration, Users may be prompted to enter a valid username and password before gaining
access to various features of the WebConsole. User access is specified by the administrator in the Group and User Level
pages of the Security section.
This username and password information is also used by both G4 touch panels
(within the System Connection firmware page) and AMX software applications such
as NetLinx Studio v 2.4 to communicate securely with a Master using encrypted
communication.
User Name and Password Rules
Case-sensitive
Must be between 4 and 20 characters
The following special characters are allowed for use in User Name and Password entries:
!#$%&()*+,-./:;<=>?@[\]^_`{|}~
Also allowed are any printable ASCII characters (including "space"): A-Z, a-z, 0-9.
32
These are global options that enable or disable the login requirement for both users and groups.
Access Options
Check the Enabled option on the left side of this page to make the Access options available for selection.
The Access options are described in the following table:
(System Security) Access Options
Option
Enabled:
Description
This option enables the Access options described below.
Note: If the Master Security check box is not enabled, all subordinate options are grayed-out and
not selectable, meaning that the Master is completely unsecured and can be altered by any user
(regardless of their rights).
Terminal (RS232) If selected, a valid username and password is required for Terminal communication via the
Access:
Masters RS232 Program port.
HTTP Access:
If selected, a valid username and password is required for communication over HTTP or HTTPS
Ports, including accessing the WebConsole.
Telnet/SSH/SFTP If selected, a valid username and password is required for Telnet Access. Telnet access allows
Access:
communication over either the Telnet and/or SSH Ports, and Secure FTP access.
Note: SSH version 2 (only) is supported.
To establish a secure Telnet connection, an administrator can decide to disable the Telnet Port and
then enable the SSH Port.
Refer to the Port Settings section on page 54 for details.
33
Description
If selected, a valid username and password is required before allowing a group/user to alter the
current Masters security and communication settings via NetLinx Studio.
This includes such things as: IP configuration/Reset, URL list settings, Master communication
settings, and security parameters.
ICSP Connectivity: If selected, a valid username and password is required to communicate with the NetLinx Master
via an ICSP connection (TCP/IP, UDP/IP, and RS-232).
This feature allows communication amongst various AMX hardware and software components.
This feature works in tandem with the Require Encryption option (see below) to require that any
application or hardware communicating with the Master must provide a valid username and
password.
In a Master-to-Master system, the Master which accepts the IP connection initiates the
authentication process. This configuration provides compatibility with existing implementations
and provides more flexibility for the implementation of other devices.
Note: The ICSP Connectivity option is required to allow authenticated and/or secure
communication between the Master and other AMX hardware/software. To establish an
authenticated ICSP connection (where the external AMX hardware/software has to provide a valid
username and password), this option must be enabled.
Encrypt ICSP
Connection:
If selected, this option requires that any data being transmitted or received via an ICSP connection
(among the various AMX products) be encrypted, and that any application or hardware
communicating with the Master over ICSP must provide a valid username and password.
Note: When enabled, this option requires more processor cycles to maintain.
ICSP uses a proprietary encryption based on RC4 and also requires CHAP-type authentication
including username and password.
CHAP (Challenge Handshake Authentication Protocol) authentication is an access control protocol
for dialing into a network that provides a moderate degree of security.
When the client logs onto the network, the network access server (NAS) sends the client a
random value (the challenge).
The client encrypts the random value with its password, which acts as an encryption key. It then
sends the encrypted value to the NAS, which forwards it along with the challenge and username
to the authentication server.
Encrypt ICSP
Connection:
The CHAP server encrypts the challenge with the password stored in its database for the user and
matches its results with the response from the client. If they match, it indicates the client has the
correct password, but the password itself never left the client's machine.
LDAP Options
Check the LDAP Enabled option on the right side of this page to make the LDAP options available for selection.
All parameters are case sensitive and must be entered exactly as they are entered into the LDAP database.
LDAP Client Configuration can also be done via terminal commands to the NetLinx Masters Program Port see the Enabling LDAP via the Program Port section on page 116 for details.
Refer to <$paratext> on page 123 for additional information on implementing LDAP on the NetLinx Master.
The LDAP options are described in the following table:
LDAP Options
Option
Description
LDAP Enabled:
LDAP URI:
34
This parameter specifies the Distinguished Name (DN) of an entry in the directory. It
identifies the entry that is the starting point of the user search.
BIND DN:
This parameter specifies the Distinguished Name (DN) to use to bind to the LDAP server for
the initial search for the user's DN.
This LDAP attribute is used for the AMX equipment user search (for example, UID).
Note: This attribute MUST be unique in the context of the LDAP BASEDN or the search will
fail.
Search Password:
This is the password used for the initial bind to the LDAP server - it is the password
associated with BIND DN.
Admin groupOfNames cn: This parameter is the common name (cn) of the groupOfNames objectClass that contains
the member DNs of the AMX equipment users that have administrator privileges.
User groupOfNames cn:
This parameter is the common name (cn) of the groupOfNames objectClass that contains
the member DNs of the AMX equipment users that have only user privileges.
When LDAP is enabled, users are authenticated using the configuration set up on the LDAP server.
The "administrator" user is handled by the local NetLinx Master, and does not connect to the LDAP server
Accepting Changes
Click the Accept button to save changes on this page. Accepting changes is instantaneous and does not require a reboot.
35
The options in this page allow authorized users to assign and alter group properties such as creating, modifying, or
deleting a groups rights, and also allows for the definition of the files/directories accessible by a particular group.
FIG. 40 Group Level Security Settings Page (Add a group and modify settings page)
3. In the Group Name field, enter a unique name for the new group.
The name must be a valid character string consisting of 4 - 20 alpha-numeric characters.
The string is case sensitive and must be unique.
The word "administrator" cannot be used for a new group name since it already exists by default.
36
4. Enable the security access rights you want to provide to the group. By default, all of these options are disabled. See
the Group and User Security Access Options section on page 37 for details.
5. Click the Accept button to save your changes to the target Master.
If there are no errors within any of the page parameters, a Group added successfully is displayed at the top of the
page.
Security changes made from within the web browser are applied instantly, without the
need to reboot.
Description
Admin Change
This selection enables or disables the Administrator right to change Group and User passwords.
Password Access:
Terminal (RS232) If selected, a valid username and password is required for Terminal communication via the Masters
Access:
RS232 Program port.
HTTP Access:
If selected, a valid username and password is required for communication over HTTP or HTTPS
Ports, including accessing the WebConsole.
Telnet/SSH/SFTP If selected, a valid username and password is required for Telnet Access. Telnet access allows
Access:
communication over either the Telnet and/or SSH Ports, and Secure FTP access.
Note: SSH version 2 (only) is supported.
To establish a secure Telnet connection, an administrator can decide to disable the Telnet Port and
then enable the SSH Port. Refer to the Manage System - Server Options section on page 54.
Configuration:
If selected, a valid username and password is required before allowing a group/user to alter the
current Masters security and communication settings via NetLinx Studio.
This includes such things as: IP configuration/Reset, URL list settings, Master communication
settings, and security parameters.
ICSP Connectivity: If selected, a valid username and password is required to communicate with the NetLinx Master via
an ICSP connection (TCP/IP, UDP/IP, and RS-232).
This feature allows communication amongst various AMX hardware and software components.
This feature works in tandem with the Require Encryption option (see below) to require that any
application or hardware communicating with the Master must provide a valid username and
password.
In a Master-to-Master system, the Master which accepts the IP connection initiates the
authentication process. This configuration provides compatibility with existing implementations
and provides more flexibility for the implementation of other devices.
Note: The ICSP Connectivity option is required to allow authenticated and/or secure communication
between the Master and other AMX hardware/software. To establish an authenticated ICSP
connection (where the external AMX hardware/software has to provide a valid username and
password), this option must be enabled.
Encrypt ICSP
Connection:
If selected, this option requires that any data being transmitted or received via an ICSP connection
(among the various AMX products) be encrypted, and that any application or hardware
communicating with the Master over ICSP must provide a valid username and password.
Note: When enabled, this option requires more processor cycles to maintain.
37
38
3. Modify the previously configured access rights by enabling / disabling the checkboxes. See the Group and User
Security Access Options section on page 37 for details.
Deleting a Group
1. Select the Group Level tab (in the Security section) to open the Group Security Details page.
2. Press the Delete button to remove the selected group and refresh the page. The system will prompt you to verify this
action - click OK to proceed.
If you are not logged into the Master, you receive a reminder message: "You must login before Security
Settings can be changed". In this case, log into the Master and repeat the previous steps.
If the group is associated with several users, you might get an error while trying to delete the group. If this
happens, change the group association of those specific users utilizing the old group and either give them a
new group or assign them (none) as a group. When you return to delete the desired group, you receive a
message saying "Group deleted successfully".
39
A User represents a single client of the Master, while a Group represents a collection of Users.
Any properties possessed by a Group are inherited by all of the Users in the group.
3. In the User Name field, enter a unique name for the new group.
The name must be a unique alpha-numeric character string (4 - 20 characters), and is case sensitive.
The words "administrator" and "NetLinx" cannot be used since they already exist by default.
4. In the Group drop-down list, choose from a list of pre-configured Groups and associate these rights to the new user.
5. Enter a user password in both the Password and Password Confirm fields.
The password must be a unique alpha-numeric character string (4 - 20 characters), and is case sensitive.
6. Enable the security access rights you want to provide to the user. See the Group and User Security Access
Options section on page 37 for details.
40
FIG. 45 User Level Security Settings Page (Viewing User Security Settings Details)
Click the Edit button to edit the Security Access options for the selected User.
Click Delete to delete the selected User from the Master.
Deleting a User
1. Select the User Level tab (in the Security section) to open the User Security Details page.
2. Press the Delete button to remove the selected User and refresh the page. The system will prompt you to verify this
action - click OK to proceed.
If you are not logged into the Master, you receive a reminder message: "You must login before Security Settings can
be changed". In this case, log into the Master and repeat the previous steps.
3. Reboot the Master via the Reboot button on the Manage System Page (select the System control button to access).
41
42
Compression options
FIG. 46 Manage Web Control Connections page (populated with 1 compatible G4 touch panel)
To establish a secure connection between the touch panel and the target Master, the panel must be using a valid username
and password (that can be matched to a previously configured user on the target Master) and the ICSP Connectivity
option must be enabled within the System Level Security page.
Compression Options
The checkboxes at the bottom of this page allow you to choose from two compression options. Use compression to
decrease response delay when viewing G4 Web Control windows over a bandwidth-restricted network, or over the
Internet. By default, both compression options are disabled.
Use Compression allows you to specify that the transmitted data packets be compressed. This speeds up the
visual responses from the panel by minimizing the size of the information relayed through the web and onto
the screen.
Use Low Color allows you to specify the number of colors used to display the image from the panel be
reduced. By reducing the numbers of colors, the size of the information is reduced and the response delay is
decreased.
43
44
3. Click Reboot to reboot the target Master. The Device Tree then reads "Rebooting...". After a few seconds, the
Device Tree refreshes with the current system information (including the updated system number assignment). If
the Device Tree does not refresh within a few minutes, press the Refresh button and reconnect to the Master.
45
46
The System Number, Device Number, and Port Number fields are read-only. Instead
of specifying these values for a System Device, select a device via the Device Tree to
populate these fields with that devices information.
FIG. 49 Select Control/Emulate from within a selected Devices Network Settings page
47
3. In the Channel Code section, enter a valid Channel number to emulate Channel messages (i.e., Push/Release,
CHON, and CHOFF) for the specified <D:P:S>.
The Channel number range is 1 - 65535.
Select the On or Off buttons to Emulate Channel ON (CHON) and Channel OFF (CHOFF) messages for the
specified <D:P:S>.
4. Select the Push button to Emulate a push/release on the specified channel (not displayed if the Control option is
selected). Click and hold the Push button to observe how the device/Master responds to the push message.
5. In the Level Code section, enter a valid Level number and Level data value for the specified <D:P:S> and press the
Send button to transmit the level data.
The Level number range is 1 - 65535.
The table below lists the valid Level data types and their ranges:
Level Data Type
Minimum Value
Maximum Value
CHAR
255
INTEGER
65535
SINTEGER
-32768
32767
LONG
429497295
SLONG
-2147483648
2147483647
FLOAT
-3.402823466e+38 3.402823466e+38
6. In the Command and String fields, enter any character strings that can be sent as either a String or Command, and
press Send to transmit to the Master.
When entering a Send Command, do not include the "send c" or "SEND_COMMAND" in the statement only type what would normally occur within the quotes (but don't include the quotes either).
For example to send the "CALIBRATE" send command, type CALIBRATE (no quotes) rather than
SEND_COMMAND <dev> "CALIBRATE".
String Expressions start and end with double quotes (" "). Double quotes are not escaped, rather they are
embedded within single quotes. String expressions may contain string literals, decimal numbers, ASCII
characters and hexadecimal numbers (pre-pended with a $), and are comma-delimited.
String Literals start and end with single quotes ('). To escape a single quote, use three single quotes (''').
48
The System Number, Device Number, and Port Number value fields are read-only
(disabled). Instead of specifying these values for a System Device, select a device
via the Device Tree to populate these fields with that devices values, as described
below.
49
FIG. 51 Select Diagnostics from within a selected Devices Network Settings page
The currently selected device is also indicated in the Device field at the top of the
page.
2. By default, all diagnostics are disabled (see FIG. 51). To enable diagnostic messages from this device, click on one
of the Edit buttons along the bottom of the Diagnostics Options table.
This opens the Edit Options window (FIG. 52), where you can select which Diagnostics messages to enable or
disable for this device.
50
Once you have selected the diagnostics messages to enable, click Update to apply your changes, close the Edit
Options window, and return to the Diagnostics page.
Refer to the Diagnostics Options Definitions section on page 52 for definitions of each Diagnostic option.
3. The device that you just enabled diagnostics for appears in the Diagnostics Options page (identified by its Number,
Device and Port assignments at the top of the Diagnostics Option list), with the currently enabled diagnostics
indicated with a green checkmark (FIG. 53).
Each device is identified here by its System
Number, Device and Port assignments
Click to select a different Refresh Rate
(default = 5 seconds)
All returned messages are displayed in the Incoming Messages window. By default, all messages are refreshed
every 5 seconds, as indicated by the Refresh Interval field. Use the Refresh Interval drop-down to specify how
often your messages are updated (available values = 2 seconds, 5 seconds, or 10 seconds).
The default setting is 5 seconds.
51
Number, Device and Port for a known System Device. Select the Diagnostics messages that you want to
enable for this device and click Update.
The device will appear in the Diagnostics Options window, in the next available column (to the right of the
last device added - see FIG. 54).
FIG. 54 Edit Options window indicating four devices with Diagnostics enabled
You can monitor diagnostics for up to eight System Devices in this page.
Description
All Notifications:
System
Number
Device
Port:
Use these fields to enter a Device:Port:System (D:P:S) combination for the device for which
you want to enable notifications. A value of 0 for any option gives you all of the systems,
devices, or ports. This dialog also allows you to store/recall presets.
Messages
Online/Offline
Generates a message when there is a change in the target devices online/offline status.
Configuration
Status
Channel Changes
52
Input
Generates a message when there is an input channel change (i.e. Push/Release) in the target
device.
Output
Generates a message when there is an output channel change (i.e. CHON/CHOFF) in the
target device.
Feedback
Generates a message when there is a feedback channel change in the target device.
Description
Device Options
Level Changes From
Generates a message when there is a level channel change from the target device.
Level Changes To
Generates a message when there is a level channel change to the target device.
Strings To
Strings From
Commands To
Commands From
Generates a message there is a custom event occurring from the target device.
1. Click the Presets down arrow to open a list of previously stored Presets. By default, the only preset is called 0: All
Devices, All Notifications. This default Preset cannot be modified.
53
Port Settings
Allows a user to modify the server settings; specifically those port assignments associated with individual services.
All items can be either enabled/disabled via the Enabled checkboxes.
The port number values (except the FTP port) can be modified in this page.
The default port for each service is listed to the right.
Description
Telnet:
The port value used for Telnet communication to the target Master. Enabling this feature allows future
communication with the Master via a separate Telnet application (such as HyperTerminal).
The default port value is 23.
Refer to the NetLinx Security with a Terminal Connection section for more information on the related
procedures.
54
Description
ICSP:
The port value used for ICSP data communication among the different AMX software and hardware
products. This type of communication is used by the various AMX product for communication amongst
themselves. Some examples would be: NetLinx Studio communicating with a Master (for firmware or file
information updates) and TPDesign4 communicating with a touch panel (for panel page and firmware
updates).
The default port value is 1319.
Note: To further ensure a secure connection within this type of communication, a user can enable the
Require Encryption option which requires additional processor cycles. Enabling of the encryption feature
is determined by the user.
HTTP:
The port value used for unsecure HTTP Internet communication between the web browsers UI and the
target Master. By disabling this port, the administrator (or other authorized user) can require that any
consecutive sessions between the UI and the target Master are done over a more secure HTTPS
connection.
By default, the Master does not have security enabled and must be communicated with using http:// in the
Address field.
The default port value is 80.
Note: One method of adding security to HTTP communication is to change the Port value. If the port value
is changed, any consecutive session to the target Master has to add the port value at the end of the
address (within the Address field). An example is if the port were changed to 99, the new address
information would be: http://192.192.192.192:99.
HTTPS/SSL: The port value used by web browser to securely communicate between the web server UI and the target
Master. This port is also used to simultaneously encrypt this data using the SSL certificate information on
the Master as a key.
This port is used not only used to communicate securely between the browser (using the web server UI)
and the Master using HTTPS but also provide a port for use by the SSL encryption key (embedded into
the certificate). Whereas SSL creates a secure connection between a client and a server, over which any
amount of data can be sent securely, HTTPS is designed to transmit individual messages securely.
Therefore both HTTPS and SSL can be seen as complementary and are configured to communicate over
the same port on the Master. These two methods of security and encryption are occurring simultaneously
over this port as data is being transferred.
The default port value is 443.
Note: Another method of adding security to HTTPS communication would be to change the port value. If
the port value is changed, any consecutive session to the target Master has to add the port value at the
end of the address (within the Address field). An example is if the port were changed to 99, the new
address information would be: http://192.192.192.192:99.
SSH:
The port value used for secure Telnet communication. A separate secure SSH Client would handle
communication over this port. When using a secure SSH login, the entire login session (including the
transmission of passwords) is encrypted; therefore it is secure method of preventing an external user
from collecting passwords.
SSH version 2 is supported.
The default port value is 22.
Note: If this ports value is changed, make sure to use it within the Address field of the SSH Client
application.
FTP:
Once any of the server port settings have been modified, press the Accept button to save these changes to the Master.
Once these changes are saved, the following message appears: "Unit must be rebooted for the change to take effect".
Click the Reboot button (from the top of the page) to remotely reboot the target Master. No dialog appears while using
this button. The Device Tree then reads "Rebooting....". After a few seconds, the Device Tree refreshes with the current
system information (indicating updated port numbers).
If the Device Tree contents do not refresh within a few minutes, press the browsers
Refresh button and reconnect to the Master.
55
Opens the Create SSL Certificate window where you can create a self-generated SSL
certificate.
Note: A self-generated certificate has lower security than an external CA (officially
issued) generated certificate.
Export SSL Certificate Request: Takes the user to the Server Certificate page where they can view a previously created
certificate.
An authorized user can also copy the raw text from a generated Certificate request into
their clipboard and then send it to the CA.
Import SSL Certificate:
Takes the user to the Import Certificate page where they can import and paste the raw
text from a CA issued Certificate.
1. Click the Create SSL Certificate link (under SSL Certificate Options) to access the Create SSL Certificate window
(FIG. 56).
2. Fill out the information in this window, according to the descriptions in the SSL Certificate Entries section below.
3. Click Create SSL Certificate to update the Master with the information entered on this page. This process can take
several minutes.
56
Description
Provides a drop-down selection with three public key lengths (512, 1024, 2048).
A longer key length results in more secure certificates.
Longer key lengths result in increased certificate processing times.
Common Name:
The Common Name of the certificate must match the URL Domain Name used for the Master.
Example: If the address used is www.amxuser.com, that must be the Common name and format
used.
The Common Name can not be an IP Address.
If the server is internal, the Common Name must be Netbios.
For every website using SSL that has a distinct DNS name, there must be a certificate installed.
Each website for SSL must also have a distinct IP Address.
This domain name must be associated to a resolvable URL Address when creating a request for
a purchased certificate.
The address does not need to be resolvable when obtaining a free certificate.
Action:
Organization Name: Name of your business or organization. This is an alpha-numeric string (1 - 50 characters in
length).
Organization Unit:
Name of the department using the certificate. This is an alpha-numeric string (1 - 50 characters in
length).
City/Location:
Name of the city where the certificate is used. This is an alpha-numeric string (1 - 50 characters in
length).
State/Province:
Name of the state or province where the certificate is used (alpha-numeric string, 1 - 50 characters
in length).
Note: The state/province name must be fully spelled out.
Country Name:
57
4. Click the Create SSL Certificate button to accept the information entered into the above fields and generate a
certificate file. Click Close to exit without making changes to the Master. This refreshes the Server Certificate page,
and if the certificate request was successful, displays a "Certified request generated" message.
4. Click Create SSL Certificate to save the new encrypted certificate information to the Master. Click Close to exit
without making changes to the Master.
1. Click the Create SSL Certificate link in the Server Options page to open the Create SSL Certificate window.
2. Modify the certificate information as needed (see the SSL Certificate Entries section on page 57).
3. Click the down arrow next to Action and choose Regenerate Certificate.
4. Click Create SSL Certificate to save the newly modified certificate information to the Master. Click Close to exit
without making changes to the Master.
Only use the Regenerate Certificate option when you have self-generated your own
certificate. Do not regenerate an external CA-generated certificate.
2. Click the Export SSL Certificate link to display the certificate text file in the Export SSL Certificate window
(FIG. 57).
58
3. Place the cursor inside the text box and paste the returned certificate text, in its entirety.
4. Click Import SSL Certificate to save the new certificate information to the Master.
Once a certificate has been received from an external CA and installed on a Master,
do not regenerate the certificate or alter its properties. Regenerating a previously
installed certificate, invalidates the certificate.
5. Click the Display Certificate link to confirm the new certificate was imported properly to the target Master.
A CA certificate can only be imported to a target Master only after both a selfgenerated certificate has been created and the SSL Enable feature has been
selected on the Master. These actions configure the Master the secure
communication necessary during the importing of the CA certificate.
59
Service) Server. When this option is selected, the Master will connect to the default NIST Server to get date
and time information.
You can select a different NIST Server (or specify the IP Address of a known NIST Server) in the NIST
Servers tab (see the Selecting a Custom NIST Server section on page 62).
Stand Alone: This option lets the Master use its own internal clock. When this option is selected, two
additional fields are available on this tab:
Date - Enter the current date in these fields (mm/dd/yyyy).
Time - Enter the current time in these fields (hh/mm/ss).
60
2. Use the Offset drop-down menus to adjust the amount of time (hours and minutes) to offset Daylight Savings. By
default, the offset is set to 1 hour.
Although most places that support Daylight Savings usually adjust the local time by
one hour this doesn't cover all locations. To provide flexibility for such locations it is
possible to configure a different daylight savings time offset.
3. Use the Starts fields to specify when Daylight Savings should start. The Starts rules include:
Select Fixed to specify the calendar date when the rule applies as a specific date ("March 21"). When Fixed is
selected, use the Day, Month and Starts fields to specify the date and time (hh:mm) to start Daylight Savings
time.
Select
by Occurrence to specify the calendar date when the rule applies as a heuristic, ("the 3rd
Sunday in March"). When by Occurrence is selected, use the Week of the Month, Day of the Week,
Month and Starts fields to specify the occurrence to start Daylight Savings time.
The range is 1 through Last, where Last indicates the last occurrence of a particular day of the month. This is
to accommodate months that include four weeks as well as those that include five.
4. Use the Ends fields to specify when Daylight Savings should end. The Ends rules match the Start rules, and follow
the same logic. Select Fixed or by Occurrence, and specify the End date/time information accordingly.
61
1. In the NIST Servers tab (FIG. 61), use the radio buttons to select one of the NIST Servers in the list.
2. Click Accept to save these settings to the Master.
Adding a Custom NIST Server To the List
1. Click on the radio button next to the last (blank) entry in the NIST Server Manager list.
2. In the URL field, enter the URL of the NIST Server. The URL is used only to help you manage entries, and is not
verified or used internally by the clock manager.
3. Enter the NIST Servers IP Address in the IP field. This is used internally and must be a valid IP address.
The strings entered into the URL and Location fields are not used to connect to NIST
Servers. The IP Address (entered into the IP field) specifies the NIST Server(s) that
will be used. As stated above, the address entered into the IP field must be must be a
valid IP address (not a URL).
4. Enter the NIST Servers location in the Location field. This is used only to help the user manage entries and it is not
verified or used internally by the clock manager.
1. Click on the Remove (x) button to the right of a user-added NIST Server in the NIST Server Manager list.
2. Click Accept to save these settings to the Master.
62
The Add New License button allows for the addition of new license keys associated with currently used modules/
products. Adding new License Keys requires the entry of both a Product ID and a Serial Key (example: i!-Voting).
The Master confirms this registration information before running the module or product.
2. Enter the Product ID (certificate number) provided with the product into the Product ID fields.
Contact the AMX Sales department with both the product serial number (or certificate number) and the serial
number of target Master to register your product and in turn receive the necessary Key information (typically 32 to
36 digits in length) which is then entered into the Key fields on this page.
3. Enter the Product Key into the Key fields. The Product Key is Master-specific and is typically provided by AMX
upon registration.
Example: AMX Meeting Manager and i!-Voting applications are examples of products that require both a Product
serial number and a Master-specific key prior to usage.
4. Press the Accept button to save the information. If there are no errors with the information on this page, a Key
successfully added for Product ID XXXX is displayed at the top of the page.
Removing a License
1. Click the Remove (x) icon to the left of the license that you want to remove.
2. The system will prompt you to verify this action before the license is removed from the Master. Click OK to
proceed.
63
Description
System:
Displays the System value being used by the listed NetLinx Master.
Device:
Displays the assigned device value of the listed unit. This Device entry applies to both the Master and
those NDP-capable devices currently connected to that Master.
Device Type:
Displays a description of the target Master or connected device, and its current firmware version.
Example: NI Master v3.01.323.
File Name:
Status:
64
Description
Bound: Indicates that the device has established communication with it's associated Master. This
state shows an adjacent Unbind button which is used to release/disassociate the device from
communicating with its current Master.
Lost: Indicates that the device has tried to establish communication with it's associated or bound
Master, but was after a period of time, unable to establish communication.
Refresh List: Click this button to regenerate the device listing by looking for broadcasting devices. This
causes the Master to send out a message asking devices to resend their NDP device announcements. The list
is then updated as those devices send back their announcements to the Master.
The information displayed can not only include Masters and devices on this system but Masters and devices
on other systems as well. By default, the target Master always appears in the list.
Due to system delays, message collisions, and multicast routing, not all devices may
respond immediately.
Clear List: Click this button causes the entries to be temporarily deleted from the page, either until you
refresh the list (using the Refresh List button), or until the Master begins to detect any multi-cast
transmissions from System Devices.
65
Description
This selection allows you to toggle the state of the automatic binding for DDD (On/Off).
When auto-binding is enabled, the Master automatically attempts to connect any newly
discovered device with an associated application device (defined in the running NetLinx
application).
Auto-binding can only be accomplished if the Master's firmware determines a one-to-one
correlation between the newly discovered device and a single entry within the list of defined
application devices (accessed via the Binding link at the top of this page).
For example, if the application only has one VCR defined and a VCR is detected in the
system, auto-binding can then be accomplished. If there were two VCRs defined within the
application, auto-binding could not be completed due to the lack of a clearly defined one-toone correspondence.
When this option is not selected, no auto-binding activity takes place and all binding of the
newly discovered devices must be accomplished manually via the Web control interface.
Enable Auto-Shutdown:
Auto-Shutdown forces the termination of modules that have lost communication with their
respective physical device. This capability is needed for plug-and-play support.
By default, Auto-Shutdown is enabled. If automatic termination of modules when they have
lost communication is not desired, this selection should be disabled.
This selection allows you to specify whether or not IP devices should only be detected/
discovered if they are on the same IP Subnet as the Master.
This selection indicates that all modules should be deleted from the bound
directory upon the next reboot.
During the binding process, the associated Duet modules for a device are copied from the /
unbound directory into a protected /bound area.
Due to the dynamic nature of Java class loading, it is not safe to delete a running .JAR file.
Therefore, this selection provides the administrator the capability of removing existing
modules upon reboot by forcing a re-acquisition of the module at bind time.
This selection is a one-time occurrence - upon the next reboot, the selection is cleared.
Enable/Disable Module
Search via Internet:
This option toggles the capability of searching the Internet (either AMX's site or a device
specified site) for a devices compatible Duet modules. This capability is automatically
disabled if the Master does not have Internet connectivity.
Upon enabling Internet connectivity, the AMX License Agreement is displayed. The License
Agreement must be accepted for Internet Module search feature to be enabled.
When this feature is enabled, the Master queries either AMX's Online database of device
Modules and/or pulls Modules from a separate site specified by the manufacturer's device.
You can later disable this feature by toggling this button.
66
Deleting a Module
Select a module and click the Delete Module button. This action deletes the selected module from the /unbound
directory.
Any corresponding module within the /bound directory will not be deleted. Bound
modules must be deleted via the Purge Bound Modules on Reset selection described
within the Configure Device Bindings section.
To browse for a Module file and then upload it to the Master:
1. Click the Browse button next to the Select a module to upload text field to browse for Duet Modules on your PC/
Network.
2. Select the JAR file that you want to upload to the Master.
3. Click the Submit button to upload a copy of the selected JAR file to the target Master's /unbound directory.
If a file of the same specified name already exists within the /unbound directory, the system will prompt you
The table on this page displays a list of all application-defined devices, including each devices "Friendly Name", the
Duet virtual devices D:P:S assignment, the associated Duet Device SDK class (indicating the type of the device), and
the physical devices D:P:S assignment. This information has to be pre-coded into the NetLinx file currently on the
Master.
67
Example Code:
PROGRAM_NAME='DDD'
DEFINE_DEVICE
COM1 = 5001:1:0
COM2 = 5001:2:0
dvRECEIVER1 = 41000:1:0
dvDiscDevice = 41001:1:0
DEFINE_CONSTANT
DEFINE_TYPE
DEFINE_VARIABLE
DEFINE_START
DYNAMIC_POLLED_PORT(COM2)
DYNAMIC_APPLICATION_DEVICE(dvRECEIVER1, DUET_DEV_TYPE_RECEIVER,
'My Receiver')
(***********************************************************)
(*
THE EVENTS GO BELOW
*)
(***********************************************************)
DEFINE_EVENT
DATA_EVENT [dvRECEIVER1]
{
// Duet Virtual device data events go here
}
Sample code can be found within the DEFINE_START section, as shown in FIG. 67:
FIG. 67 Manage Device Bindings page - showing the NetLinx code relation
This code gives the Master a heads-up notification to look for those devices meeting the criteria outlined within the
code.
68
69
70
Enter the address of the physical device in the Address field. This information can be either the NetLinx
Master port value (D:P:S) or an IP Address (#.#.#.#).
Category:
Use the drop-down list to select the control method associated with the physical target device (IR, IP,
Serial, Relay, Other).
SDK Class:
Use the drop-down list to select the closest Device SDK class type match for the physical target device.
The SDK-Class Types table (below) provides a listing of the available choices.
GUID:
Enter the manufacturer-specified devices GUID (Global Unique Identification) information. Either the GUID
or Make/Model must be specified in this field.
Make:
Enter the name of the manufacturer for the device being used (ex: Sony, ONKYO, etc.)
Up to 55 alpha-numeric characters
Either the GUID or Make/Model must be specified within this field.
Spaces in the name will be converted to underscores.
Model:
Enter the model number of the device being used (ex: Mega-Tuner 1000)
Up to 255 alpha-numeric characters
Either the GUID or Make/Model must be specified within this field.
Revision
SDK-Class Types
Amplifier
PreAmpSurroundSoundProcessor
AudioConferencer
Disc Device
Receiver
Utility
VCR
AudioMixer
DocumentCamera
RelayDevice
VideoConferencer
AudioProcessor
HVAC
Security System
VideoProcessor
AudioTape
IODevice
Sensor Device
VideoProjector
AudioTunerDevice
Keypad
SettopBox
VideoWall
Camera
Light
SlideProjector
VolumeController
Weather
Monitor
Switcher
Motor
Text Keypad
MultiWindow
TV
PoolSpa
UPS
71
3. Once you are done creating the profile for the new device, click the Add Property button to access the Name and
Value fields property information for association with the new User Defined Device.
4. Click the Accept button. The new device is indicated in the list of discovered physical devices (in the User-Defined
Devices page).
2. Once a list of all compatible modules is compiled, the Available Modules list is displayed on this page.
Each module is listed with its calculated match value. The greater the match value, the better the match
between the Duet Module's properties and the physical device's properties.
3. Select a module and click the Accept button to associate the selected Duet module with the physical device.
This action will not affect any currently running Duet module associated with the
physical device. The module is associated with the device upon reboot.
72
Polled Ports must be specified in the Masters code in order for this page to be
populated.
73
74
Baud Rate:
9600
Data Bits:
Parity:
None
Stop Bits:
Flow Control
None
485:
Disabled
ZeroConfig Networking
Use these radio buttons to enable/disable the Zero-Configuration (ZeroConfig) client in the Master.
By default, ZeroConfig Networking is enabled (On option selected). With ZeroConfig enabled, the Master's web
interface will be registered via ZeroConfig and can be viewed through a ZeroConfig browser plug-in such as Bonjour for
IE.
75
NDP Beacon
Use these radio buttons to enable/disable the NetLinx Discovery Protocol (NDP) beacons client in the Master.
By default, NDP Beacon is enabled (On option selected). With NDP Beacon enabled, the Master will transmit NDP
beacons for AMX's proprietary device discovery.
IP Device Discovery
Use these radio buttons to enable/disable the detection of third party multicast IP based Device Discovery beacons.
By default, IP Device Discovery is enabled (On option selected). With IP Device Discovery enabled, the Master will
detect third party multicast IP based Device Discovery beacons.
Fill in the fields and click Accept to save the changes and add this information to the URL List.
76
This page can also be accessed via the Manage System options, as described in the Manage System - Control/Emulate
Options section on page 46. See the Controlling or Emulating a System Device section on page 47 for details.
77
78
This page can also be accessed via the Manage System options, as described in the Manage System - Diagnostics
Options section on page 49.
See the Enabling Diagnostics On a Selected System Device section on page 49 for details.
79
80
NetLinx Programming
NetLinx Programming
Overview
This section describes the Send_Commands, Send_Strings, and Channel commands you can use to program the Master.
The examples in this section require a declaration in the DEFINE_DEVICE section of your program to work correctly.
Refer to the NetLinx Programming Language instruction manual for specifics about declarations and DEFINE_DEVICE
information.
NetLinx programming information for each Master is provided in the Masters
Operation/Reference Guide (available at www.amx.com).
RS-232/422/485
IR/Serial
IR/RX
Relays
I/O
NI-700
Ports 1 - 2
Port 3
Port 5
Port 4
NI-900
Port 1
Ports 2-4
Port 6
Port 5
NI-2100
Ports 1 - 3
Ports 5-8
Port 4
Port 9
NI-3100
Ports 1 - 7
Ports 9-16
Port 8
Port 17
NI-4100
Ports 1 - 7
Ports 9-16
Port 8
Port 17
NI-3101-SIG
Ports 1 - 6
Ports 9-16
Port 8
Port 17
DVX-21xxHD
Ports 1 - 3
Ports 5-8
Port 4
Port 9
DVX-315xHD
Ports 1 - 6
Ports 9-16
Port 8
Port 17
Master SEND_COMMANDs
These commands are specific to the Master and not the Controller. These commands are sent to the DPS 0:1:0 (the
Master you are connected to).
A device (<DEV>) must first be defined in the NetLinx programming language with values for the Device: Port: System
(<D:P:S>).
Master SEND_COMMANDs
Command
Description
CLOCK
Set the date and time on the Master. The date and time settings are propagated over the local
bus.
Syntax:
SEND_COMMAND <DEV>,"'CLOCK <mm-dd-yyyy> <hh:mm:ss>'"
Variables:
mm-dd-yyyy = Month, day, and year. Month and day have 2 significant digits. Year has 4
significant digits.
hh-mm-ss = Hour, minute, and seconds. Each using only 2 significant digits.
Example:
SEND_COMMAND 0,"'CLOCK 04-12-2005 09:45:31'"
Sets the Master's date to April 12, 2005 with a time of 9:45 am.
81
NetLinx Programming
Description
G4WC
Add G4 Web Control devices to Web control list displayed by the Web server in a browser. The
internal G4WC Send command (to Master 0:1:0) has been revised to add G4 Web Control
devices to Web control list displayed in the browser.
Syntax:
SEND_COMMAND <D:P:S>,"'G4WC "Name/Description",IP Address/URL,IP Port,Enabled'"
Variables:
Name/Description = A string, enclosed in double quotes, that is the description of the G4 Web
Control instance. It is displayed in the browser.
IP Address/URL = A string containing the IP Address of the G4 Web Control server, or a URL
to the G4 Web Control server.
IP Port = A string containing the IP Port of the G4 Web Control Server.
Enabled = 1 or 0. If it is a 1 then the link is displayed. If it is a 0 then the link is disabled.
The combination of Name/Description, IP Address/URL, and IP Port are used to determine
each unique listing.
Example:
SEND_COMMAND 0:1:0,"'G4WC "Bedroom",192.168.1.2,5900,1'"
Example:
SEND_COMMAND 0:1:0,"'~IGNOREEXTERNALCLOCKCOMMANDS'"
Description
UDPSENDTO Set the IP and port number of the UDP local ports destination for sending future packets. This is only
available for Type 2 and Type 3 Local Ports. Type 2 and Type 3 are referring to the protocol type that is
part of the IP_CLIENT_OPEN call (4th parameter).
Type 1 is TCP.
Type 2 is UDP (standard)
Type 3 is UDP (2 way)
The NetLinx.axi defines constants for the protocol types:
CHAR IP_TCP = 1
CHAR IP_UDP = 2
CHAR IP_UDP_2WAY = 3
Syntax:
SEND_COMMAND <D:P:S>,"'UDPSENDTO-<IP or URL>:<UDP Port Number>'"
Variables:
IP or URL = A string containing the IP Address or URL of the desired destination.
UDP Port Number = A String containing the UDP port number of the desired destination.
Example 1:
SEND_COMMAND 0:3:0,"'UDPSENDTO-192.168.0.1:10000'"
Any subsequent SEND_STRING to 0:3:0 are sent to the IP Address 192.168.0.1 port 10000.
Example 2:
SEND_COMMAND 0:3:0,"'UDPSENDTO-myUrl.com:15000'"
Any subsequent SEND_STRING to 0:3:0 are sent to the URL myURL.com port 15000.
82
NetLinx Programming
Disable all LEDs (on 32 LED hardware) for a port. Regardless of whether or not the port is active, the LED
will not be lit.
Issue this command to port 1 to disable all the LEDs on the Controller.
When activity occurs on a port(s) or Controller, the LEDs will not illuminate.
Syntax:
SEND_COMMAND <DEV>,"'LED-DIS'"
Example:
SEND_COMMAND Port_1,"'LED-DIS'"
Enable the LED (on 32 LED hardware) for a port. When the port is active, the LED is lit. When the port is not
active, the LED is not lit.
Issue the command to port 1 to enable the LEDs on the Controller (default setting). When activity occurs on
a port(s) or Controller, the LEDs illuminate.
Syntax:
SEND_COMMAND <DEV>,'LED-EN'
Example:
SEND_COMMAND System_1,'LED-EN'
RS-232/422/485 SEND_COMMANDs
RS-232/422/485 SEND_COMMANDs
Command
Description
B9MOFF
Disables 9-bit in 232/422/455 mode. By default, this returns the communication settings on the serial port
to the last programmed parameters. This command works in conjunction with the 'B9MON' command.
Syntax:
SEND_COMMAND <DEV>,"'B9MOFF'"
Example:
SEND_COMMAND RS232_1,"'B9MOFF'"
Sets the RS-232 port settings to match the port's configuration settings.
B9MON
Override and set the current communication settings and parameters on the RS-232 serial port to 9 data
bits with one stop bit. This command works in conjunction with the 'B9MOFF' command.
Syntax:
SEND_COMMAND <DEV>,"'B9MON'"
Example:
SEND_COMMAND RS232_1,"'B9MON'"
Resets the RS-232 port's communication parameters to nine data bits, one stop bit, and locks-in the
baud rate.
83
NetLinx Programming
Description
CHARD
Set the delay time between all transmitted characters to the value specified (in 100 Microsecond
increments).
Syntax:
SEND_COMMAND <DEV>,"'CHARD-<time>'"
Variable:
time = 0 - 255. Measured in 100 microsecond increments.
Example:
SEND_COMMAND RS232_1,"'CHARD-10'"
Set the delay time between all transmitted characters to the value specified (in 1-Millisecond
increments).
Syntax:
SEND_COMMAND <DEV>,"'CHARDM-<time>'"
Variable:
time = 0 - 255. Measured in 1 millisecond increments.
Example:
SEND_COMMAND RS232_1,"'CHARDM-10'"
Enable Pushes, Releases, and Status information to be reported via channel 255 using the CTS
hardware handshake input. This command turns On (enables) channel tracking of the handshaking pins.
If Clear To Send (CTS) is set high, then channel 255 is On.
Syntax:
SEND_COMMAND <DEV>,"'CTSPSH'"
Example:
SEND_COMMAND RS232_1,"'CTSPSH'"
Example:
SEND_COMMAND RS232_1,"'CTSPSH OFF'"
Get the RS-232/422/485 ports current communication parameters. The port sends the parameters to the
device that requested the information.
The port responds with:
<port #>,<baud>,<parity>,<data>,<stop> 485 <ENABLED | DISABLED>
Syntax:
SEND_COMMAND <DEV>,"'GET BAUD'"
Example:
SEND_COMMAND RS232_1,"'GET BAUD'"
HSOFF
Example:
SEND_COMMAND RS232_1,"'HSOFF'"
84
NetLinx Programming
Description
HSON
Example:
SEND_COMMAND RS232_1,"'HSON'"
Clear all characters in the receive buffer waiting to be sent to the Master.
Syntax:
SEND_COMMAND <DEV>,"'RXCLR'"
Example:
SEND_COMMAND RS232_1,"'RXCLR'"
Clears all characters in the RS232_1 device's receive buffer waiting to be sent to the Master.
RXOFF
Example:
SEND_COMMAND RS232_1,"'RXOFF'"
Stops the RS232_1 device from transmitting received characters to the Master.
RXON
Example:
SEND_COMMAND RS232_1,"'RXON'"
Variables:
baud = baud rates are: 115200, 76800, 57600, 38400, 19200, 9600, 4800, 2400, 1200, 600, 300, 150.
parity = N (none), O (odd), E (even), M (mark), S (space).
data = 8 data bits.
stop = 1 and 2 stop bits.
485 Disable = Disables RS-485 mode and enables RS-422.
485 Enable = Enables RS-485 mode and disables RS-422.
Note: The only valid 9 bit combination is (baud),N,9,1.
Example:
SEND_COMMAND RS232_1,"'SET BAUD 115200,N,8,1 485 ENABLE'"
Sets the RS232_1 port's communication parameters to 115,200 baud, no parity, 8 data bits, 1 stop bit,
and enables RS-485 mode.
85
NetLinx Programming
Description
TSET BAUD
Temporarily set the RS-232/422/485 port's communication parameters for a device. TSET BAUD works
the same as SET BAUD, except that the changes are not permanent, and the previous values will be
restored if the power is cycled on the device.
Syntax:
SEND_COMMAND <DEV>,"'TSET BAUD <baud>,<parity>,<data>,<stop> [485 <Enable | Disable>]'"
Variables:
baud = baud rates are: 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200, 600, 300.
parity = N (none), O (odd), E (even), M (mark), S (space).
data = 8 or 9 data bits.
stop = 1 or 2 stop bits.
485 Disable = Disables RS-485 mode and enables RS-422.
485 Enable = Enables RS-485 mode and disables RS-422.
Note: The only valid 9 bit combination is (baud),N,9,1.
Example:
SEND_COMMAND RS232_1,"'TSET BAUD 115200,N,8,1 485 ENABLE'"
Sets the RS232_1 port's communication parameters to 115,200 baud, no parity, 8 data bits, 1 stop bit,
and enables RS-485 mode.
TXCLR
Stop and clear all characters waiting in the transmit out buffer and stops transmission.
Syntax:
SEND_COMMAND <DEV>,"'TXCLR'"
Example:
SEND_COMMAND RS232_1,"'TXCLR'"
Clears and stops all characters waiting in the RS232_1 device's transmit buffer.
XOFF
Example:
SEND_COMMAND RS232_1,"'XOFF'"
Example:
SEND_COMMAND RS232_1,"'XON'"
86
NetLinx Programming
Description
Variable:
time = 1 - 255. Measured in 100 microsecond increments.
Example:
SEND_STRING RS232_1,"27,17,10"
Example:
SEND_STRING RS232_1,"27,18,0"
Sets the RS232_1 device's ninth data bit to 0 on all character transmissions.
27,18,1
Set the ninth data bit to 1 for all subsequent characters to be transmitted.
Used in conjunction with the 'B9MON' command.
Syntax:
SEND_STRING <DEV>,"27,18,1"
Example:
SEND_STRING RS232_1,"27,18,1"
Sets the RS232_1 device's ninth data bit to 1 on all character transmissions.
27,19,<time> Insert a time delay before transmitting the next character.
Syntax:
SEND_STRING <DEV>,"27,19,<time>"
Variable:
time = 1 - 255. Measured in 1 millisecond increments.
Example:
SEND_STRING RS232_1,"27,19,10"
Example:
SEND_STRING RS232_1,"27,20,0"
Sets the RTS hardware handshake's output to high on the RS232_1 device.
27,20,1
Example:
SEND_STRING RS232_1,"27,20,1"
Sets the RTS hardware handshake's output to low on the RS232_1 device.
87
NetLinx Programming
Description
00001 - 00229
IR commands.
00229 - 00253
00254
00255
00256 - 65000
IR commands.
65000 - 65534
Future use.
The NI series of NetLinx Masters support Serial control via the IR/RX port when using
firmware version 300 or greater.
IR RX Port Channels
IR / Serial Ports Channels
00001 - 00255
IR/Serial SEND_COMMANDs
The following IR and IR/Serial Send_Commands generate control signals for external equipment. In these examples:
<DEV> = device.
IR/Serial SEND_COMMANDs
Command
Description
CAROFF
Example:
SEND_COMMAND IR_1,"'CAROFF'"
Example:
SEND_COMMAND IR_1,"'CARON'"
88
NetLinx Programming
Description
CH
Send IR pulses for the selected channel. All channels below 100 are transmitted as two digits.
If the IR code for ENTER (function #21) is loaded, an Enter will follow the number.
If the channel is greater than or equal to (>=) 100, then IR function 127 or 20 (whichever exists) is
generated for the one hundred digit.
Uses 'CTON' and 'CTOF' times for pulse times.
Syntax:
SEND_COMMAND <DEV>,"'CH',<channel number>"
Variable:
channel number = 0 - 199.
Example:
SEND_COMMAND IR_1,"'CH',18"
Halt and Clear all active or buffered IR commands, and then send a single IR pulse.
Set the Pulse and Wait times with the 'CTON' and 'CTOF' commands.
Syntax:
SEND_COMMAND <DEV>,"'CP',<code>"
Variable:
code = IR port's channel value 0 - 252 (253 - 255 reserved).
Example:
SEND_COMMAND IR_1,"'CP',2"
Set the duration of the Off time (no signal) between IR pulses for channel and IR function transmissions.
Off time settings are stored in non-volatile memory. This command sets the delay time between pulses
generated by the 'CH' or 'XCH' send commands in tenths of seconds.
Syntax:
SEND_COMMAND <DEV>,"'CTOF',<time>"
Variable:
time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).
Example:
SEND_COMMAND IR_1,"'CTOF',10"
Set the total time of IR pulses transmitted and is stored in non-volatile memory. This command sets the
pulse length for each pulse generated by the 'CH' or 'XCH' send commands in tenths of seconds.
Syntax:
SEND_COMMAND <DEV>,"'CTON',<time>"
Variable:
time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).
Example:
SEND_COMMAND IR_1,"'CTON',20"
89
NetLinx Programming
Description
GET BAUD
Get the IR ports current DATA mode communication parameters. The port sends the parameters to the
device that requested the information. Only valid if the port is in Data Mode (see SET MODE command).
The port responds with:
<port #> <baud>,<parity>,<data bits>,<stop bits>
Syntax:
SEND_COMMAND <DEV>,"'GET BAUD'"
Example:
SEND_COMMAND IR_1,"'GET BAUD'"
GET MODE
Poll the IR/Serial port's configuration parameters and report the active mode settings to the device
requesting the information.
The port responds with:
<port #> <mode>,<carrier>,<io link channel>.
Syntax:
SEND_COMMAND <DEV>,"'GET MODE'"
Example:
SEND_COMMAND IR_1,"'GET MODE"
IROFF
Halt and Clear all active or buffered IR commands being output on the designated port.
Syntax:
SEND_COMMAND <DEV>,"'IROFF'"
Example:
SEND_COMMAND IR_1,"'IROFF"
Immediately halts and clears all IR output signals on the IR_1 port.
POD
Disable previously active 'PON' (power on) or 'POF' (power off) command settings.
Channel 255 changes are enabled.
This command is used in conjunction with the I/O Link command.
Syntax:
SEND_COMMAND <DEV>,"'POD'"
Example:
SEND_COMMAND IR_1,"'POD"
Disables the 'PON' and 'POF' command settings on the IR_1 device.
POF
Turn Off a device connected to an IR port based on the status of the corresponding I/O Link input.
If at any time the IR sensor input reads that the device is ON (such as if someone turned it on manually
at the front panel), IR function 28 (if available) or IR function 9 is automatically generated in an attempt to
turn the device back OFF. If three attempts fail, the IR port will continue executing commands in the
buffer.
If there are no commands in the buffer, the IR port will continue executing commands in the buffer and
trying to turn the device OFF until a 'PON' or 'POD' command is received. If the IR port fails to turn the
device OFF, a PUSH and RELEASE is made on channel 254 to indicate a power failure error. You can
only use the 'PON' and 'POF' commands when an IR device has a linked I/O channel. Channel 255
changes are disabled after receipt of this command.
You can only use the 'PON' and 'POF' commands when an IR device has a linked I/O channel.
Syntax:
SEND_COMMAND <DEV>,"'POF'"
Example:
SEND_COMMAND IR_1,"'POF'"
90
NetLinx Programming
Description
PON
Turn On a device connected to an IR port based on the status of the corresponding I/O Link input.
If at any time the IR sensor input reads that the device is OFF (such as if one turned it off manually at the
front panel), IR function 27 (if available) or IR function 9 is automatically generated in an attempt to turn
the device back ON. If three attempts fail, the IR port will continue executing commands in the buffer and
trying to turn the device On.
If there are no commands in the buffer, the IR port will continue trying to turn the device ON until a 'POF'
or 'POD' command is received. If the IR port fails to turn the device ON, a PUSH and RELEASE is made
on channel 254 to indicate a power failure error.
You can only use the 'PON' and 'POF' commands when an IR device has a linked I/O channel. Channel
255 changes are disabled after receipt of this command.
Syntax:
SEND_COMMAND <DEV>,"'PON'"
Example:
SEND_COMMAND IR_1,"'PON'"
Set the time duration between power pulses in .10-second increments. This time increment is stored in
permanent memory. This command also sets the delay between pulses generated by the 'PON' or 'POF'
send commands in tenths of seconds. It also sets the delay required after a power ON command before
a new IR function can be generated. This gives the device time to power up and get ready for future IR
commands.
Syntax:
SEND_COMMAND <DEV>,"'PTOF',<time>"
Variable:
time = 0 - 255. Given in 1/10ths of a second. Default is 15 (1.5 seconds).
Example:
SEND_COMMAND IR_1,"'PTOF',15"
Sets the time between power pulses to 1.5 seconds for the IR_1 device.
PTON
Set the time duration of the power pulses in .10-second increments. This time increment is stored in
permanent memory. This command also sets the pulse length for each pulse generated by the 'PON' or
'POF' send commands in tenths of seconds.
Syntax:
SEND_COMMAND <DEV>,"'PTON',<time>"
Variable:
time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).
Example:
SEND_COMMAND IR_1,"'PTON',15"
Sets the duration of the power pulse to 1.5 seconds for the IR_1 device.
SET BAUD
Variables:
baud = baud rates are: 19200, 9600, 4800, 2400, and 1200.
parity = N (none), O (odd), E (even), M (mark), S (space).
data = 7 or 8 data bits.
stop = 1 and 2 stop bits.
Example:
SEND_COMMAND IR_1,"'SET BAUD 9600,N,8,1'"
Sets the IR_1 port's communication parameters to 9600 baud, no parity, 8 data bits, and 1 stop bit.
Note: The maximum baud rate for ports using SERIAL mode is 19200. Also, SERIAL mode works best
when using a short cable length (< 10 feet).
91
NetLinx Programming
Description
SET IO LINK
Link an IR or Serial port to a selected I/O channel for use with the 'DE', 'POD', 'PON', and 'POF'
commands.
The I/O status is automatically reported on channel 255 on the IR port. The I/O channel is used for power
sensing (via a PCS or VSS). A channel of zero disables the I/O link.
Syntax:
SEND_COMMAND <DEV>,"'SET IO LINK <I/O number>'"
Variable:
I/O number = 1 - 8. Setting the I/O channel to 0 disables the I/O link.
Example:
SEND_COMMAND IR_1,"'SET IO LINK 1'"
Sets the IR_1 port link to I/O channel 1. The IR port uses the specified I/O input as power status for
processing 'PON' and 'POF' commands.
SET MODE
Set the IR/Serial ports for IR or Serial-controlled devices to either IR, Serial, or Data mode.
Syntax:
SEND_COMMAND <DEV>, 'SET MODE <mode>'"
Variable:
mode = IR, SERIAL, or DATA.
Example:
SEND_COMMAND IR_1,"'SET MODE IR'"
Variable:
code = IR code value 1 - 252 (253-255 reserved).
Example:
SEND_COMMAND IR_1, "'SP',25"
Transmit the selected channel IR codes in the format/pattern set by the 'XCHM' send command.
Syntax:
SEND_COMMAND <DEV>,"'XCH <channel>'"
Variable:
channel = 0 - 9999.
Example:
For detailed usage examples, refer to the 'XCHM' command.
Note: This command supports 4-digit channels.
92
NetLinx Programming
Description
XCHM
Variable:
extended channel mode = 0 - 4.
Example:
SEND_COMMAND IR_1,"'XCHM-3'"
93
NetLinx Programming
Input/Output SEND_COMMANDs
I/O ports: Port 4 (NI-700).
Channels: 1 - 8 I/O channels.
The following SEND_COMMANDs program the I/O ports on the Integrated Controller.
I/O SEND_COMMANDs
Command
Description
GET DBT
Variable:
n = the channel number of the I/O input port
SET DBT
Variables:
n = the channel number of the I/O input port
v = Value 1-50 which sets the debounce time in increments of 50ms
Example:
SEND_COMMAND 5001:17:0,'SET DBT 1 10'
Variable:
channel = Input channel 1 - 8.
Example:
SEND_COMMAND IO,"'GET INPUT 1'"
94
NetLinx Programming
Description
SET INPUT
Set the input channel's active state. An active state can be high (logic high) or low (logic low or contact
closure). Channel changes, Pushes, and Releases generate reports based on their active state. Setting an
input to ACTIVE HIGH will disable the ability to use that channel as an output.
Syntax:
SEND_COMMAND <DEV>,"'SET INPUT <channel> <state>'"
Variable:
channel = Input channel 1 - 8.
state = Active state HIGH or LOW (default).
Example:
SEND_COMMAND IO,"'SET INPUT 1 HIGH'"
Sets the I/O channel to detect a high state change, and disables output on the channel.
95
NetLinx Programming
96
1. In Windows, go to Start > Programs > Accessories > Communications to launch the HyperTerminal application
to open the Connection Description dialog.
2. Enter any text into the Name field and click OK. This action invokes the Connect to dialog.
3. Click the down-arrow From the Connect Using field, and select the PC COM port being used for communication by
the target Master and click OK when done.
4. From the Bits per second field, click the down-arrow and select the baud rate being used by the target Master.
5. Configure the remaining communication parameters as follows:
Data Bits:
Parity:
None
Stop bits:
Flow control:
None
6. Click OK to complete the communication parameters and open a new Terminal window.
7. Type echo on to view the characters while entering commands. If that does not work, press <Enter> key on your
keyboard.
It is very important to execute the 'logout' command prior to disconnecting from a
Master. Simply removing the RS-232 connector from the Program Port maintains
your logged-in status until you either return to logout via a new session or reboot the
target Master.
97
38400 (default)
Parity:
None
Data Bits:
Stop Bits:
Flow Control:
None
4. Press Enter.
Unless Telnet security is enabled, a session will begin with a welcome banner:
Welcome to NetLinx vX.XX.XXX Copyright AMX Corp. 1999-2006
>
If Telnet security is enabled, type in the word login to be prompted for a Username and Password before
After a delay, another login prompt will be displayed to allow you to try again.
If after 5 prompts, the login information is not entered correctly, the following message will be displayed and
the connection closed:
Login not allowed. Goodbye!
To restrict access to the Master via terminal connection, enable Configuration Security on the Master via the
CONFIGURATION SECURITY option in the Security Options menu - see the Security Options
Menu section on page 117 for details). With Configuration Security enabled, a valid user with Configuration
Security access will have to login before being able to execute Telnet commands. If security is not enabled,
these commands are available to all.
If a connection is opened, but a valid a username / password combination is not entered (i.e. just sitting at a
login prompt), the connection will be closed after one minute.
98
Terminal Commands
The Terminal commands listed in the following table can be sent directly to the Master via either a Program Port or a
Telnet terminal session (with the exception of the "Help Security" and "Resetadminpassword" commands, which are
only available to a Program Port (RS232) connection.
In your terminal program, type "Help" or a question mark ("?") and <Enter> to access the Help Menu, and display the
Program port commands described below:
Terminal Commands
Command
Description
? or Help
AUTO LOCATE
(ENABLE|DISABLE|STATUS)
BOOT STATUS
Auto locate adds additional broadcast information for use by AMX Touch Panel
devices configured in Auto connect mode.
Response is either "Boot in progress." or "Boot complete."
CPU USAGE
Diagnostic tool to calculate a running average of the current CPU usage of the
Master.
DATE
DATE/TIME ON|OFF
Sets the Master to holdoff devices (i.e. does not allow them to report ONLINE) until
all objects in the NetLinx program have completed executing the DEFINE_START
section.
If set to ON, any messages to devices in DEFINE_START will be lost, however, this
prevents incoming messages being lost in the Master upon startup.
When DEVICE_HOLDOFF is ON, you must use ONLINE events to trigger device
startup SEND_COMMANDs.
By default, DEVICE_HOLDOFF is OFF to maintain compatibility with Axcess systems
where devices are initialized in DEFINE_START.
Note: This command sets the state of the device holdoff. The GET DEVICE
HOLDOFF command reveals whether the state is On or Off (see page 100).
Example:
>Device Holdoff ON
Device Holdoff Set.
Displays a list of all active (on) channels for the specified D:P:S.
If you enter DEVICE STATUS without the D:P:S variable, the Master displays ports,
channels, and version information.
DIPSWITCH
DISK FREE
99
Description
ECHO ON|OFF
Display the amount of memory allocated for Duet Java pool. This is the current Java
memory heap size as measured in Megabytes. An example is a value of 5 = 5 MB.
Displays the current LAN configuration setting. Settings are either "auto" in which
the LAN driver will discover it's settings based on the network it is connected to OR
<speed> and <duplex> where speed is either 10 or 100 and duplex is either full or
half.
Example:
>GET ETHERNET MODE
Ethernet mode is auto.
HELP SECURITY
ICSPMON ENABLED|DISABLED Enables or disables ICSP monitoring out the specified IP port. By enabling icspmon
[PORT]
on an IP port, an external application could connect to that port and "listen" on the
ICSP traffic.
IP STATUS
100
Description
MEM
MSG ON|OFF
MSG STATS
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]
-orOFF[D:P:S,channel]
Example:
>OFF[5001:7:4]
Sending Off[5001:7:4]
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]
-orON[D:P:S,channel]
Example:
>ON[5001:7:4]
Sending On[5001:7:4]
101
Description
Sets up a pass through mode to a device. In pass through mode, any string received
by the device is displayed on the screen, and anything typed is sent as a string to
the 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.
Mode is exited by ++ ESC ESC.
Display Format is set by ++ ESC n
Where n =
A, format = ASCII
D, format = Decimal
H = Hex
Note: Refer to the ESC Pass Codes section on page 114 for detailed descriptions of
the supported pass codes.
Example:
>pass[5001:7:4]
Entering pass mode.
PHYSICAL STATUS
PING [ADDRESS]
Pings an address (IP or URL), to test network connectivity to and confirms the
presence of another networked device. The syntax is just like the PING application
in Windows or Linux.
Example:
>ping 192.168.29.209
192.168.29.209 is alive.
PROGRAM INFO
Pulses a specified channel on a device on and off. The device can be on any
system 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.
Example:
>PULSE[50001:8:50,1]
Sending Pulse[50001:8:50,1]
PWD
REBOOT <D:P:S>
RENEW DHCP
102
Description
RESETADMINPASSWORD
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.
SEND_COMMAND D:P:S or
NAME,COMMAND
MODE
Mode
MODE
Mode
DIRECT
"Direct" Set
NORMAL
"Normal" Set
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 systems 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) ->
103
Description
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
Enter
Enter
Enter
Domain Suffix:
DNS Entry 1 :
DNS Entry 2 :
DNS Entry 3 :
amx.com
192.168.20.5
12.18.110.8
12.18.110.7
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.
104
Description
Once you enter a value and press the ENTER key, you get the following message:
Setting HTTPS port number to
New HTTPS port number set, reboot the Master for
the change to take affect.
Once you enter a value and press the ENTER key, you get the following message:
Setting ICSP port number to
New ICSP port number set, reboot the Master for the
change to take affect.
Sets the timeout period for ICSP and i!-Web Control TCP connections.
Note: The new timeout value is immediately (no reboot required).
Example:
>SET ICSP TCP TIMEOUT
This will set the timeout for TCP connections for both ICSP and i!-Web
Control.When no communication has been detected for the specified
number of seconds, the socket connection is closed.ICSP and i!-Web
Control have built-in timeouts and reducing the TCP timeout below
these will cause undesirable results. The default value is 45
seconds.
The current ICSP TCP timeout is 45 seconds
Enter new timeout (in seconds):
Once you enter a value and press the ENTER key, you get the following message:
New timeout value set (in affect immediately).
SET IP <D:P:S>
105
Description
Once you enter a value and press the ENTER key, you get the following message:
Setting log count to
New log count set, reboot the Master for the change to
take affect.
Provides the capability to modify maximum message queue sizes for various
threads.
Example:
set queue size
This will set the maximum message queue sizes for several threads.
Use caution when adjusting these values.
Set Queue Size Menu:
1. Interpreter (factory default=2000, currently=600)
2. Notification Manager (factory default=2000, currently=200)
3. Connection Manager (factory default=2000, currently=500)
4. Route Manager (factory default=400, currently=200)
5. Device Manager (factory default=500, currently=500)
6. Diagnostic Manager (factory default=500, currently=500)
7. TCP Transmit Threads (factory default=600, currently=200)
8. IP Connection Manager (factory default=800, currently=500)
9. Message Dispatcher (factory default=1000, currently=500)
10. Axlink Transmit (factory default=800, currently=200)
11. PhastLink Transmit (factory default=500, currently=500)
12. ICSNet Transmit (factory default=500, currently=500)
13. ICSP 232 Transmit (factory default=500, currently=500)
14. UDP Transmit (factory default=500, currently=500)
15. NI Device (factory default=500, currently=500)
Enter choice or press ESC.
SET SECURITY PROFILE
Sets a pre-defined Security Profile (a grouped set of security settings). The Security
Profile can be set to "none" (default setting), "Secure", or "DOD" (see below).
Note: The Security Profile can only be configured via the terminal interface of the
Master's Program port.
Example:
set security profile
Once you enter a value and press Enter, the system responds with:
New security profile set, reboot the Master for change to fully take
effect.
106
Description
Secure:
Unsecured interface ports are disabled including HTTP, Telnet and FTP. Only
HTTPS and SSH and terminal user ports are available.
All user access requires a username/password login including HTTPS, SSH and
terminal.
NetLinx/ICSP security is enabled requiring all NetLinx devices connecting with
the Master to provide username/password authentication and encryption.
Passwords must conform to a stricter set of requirements. They must be at least
8 characters long and contain at least one upper and one lower case alpha, one
numeric and one special character (excluding the blankspace).
Allowed Special Characters:
The following special characters are allowed for use in User Name and Password
entries:
!#$%&()*+,-./:;<=>?@[\]^_`{|}~
Also allowed are any printable ASCII characters (including "space"): A-Z, a-z, 0-9.
Passwords cannot contain back-to-back duplicate characters.
To ensure all account passwords conform to the new standard, all existing user
accounts are deleted and the built-in 'administrator' and 'netlinx' account
passwords are set to the secure default of 'Amx1234!'
Failed login attempts will force a 4 second delay before a subsequent login
attempt can occur.
Three consecutive login failures from any location will cause a 15 minute lockout
for the specified user account.
If a banner.txt file is present in the Master's /user directory, the text from the
banner.txt file will be included on the Master's Web login prompt.
All user account access will be timed out after at most 15 minutes of inactivity by
the user. Any activity after the timeout will cause the login prompt to be displayed
and login will be required to regain access. The inactivity timer on an SSH and
terminal session will be disabled if "msg on" logging is active.
All account access including successful and failed logins and logouts will be
recorded in persistent storage. Audit records will be retained for 90 days. The
current audit logs can be viewed via SSH or terminal sessions using the "show
audit log" command. The audit log can be manually cleared from SSH or terminal
session using the "clear audit log" command.
DoD:
DoD security profile has all of the security specifications of "secure" profile along
with the following additional features:
The default Web login banner text consists of the following: "This is a Department
of Defense (DOD) computer system provided only for authorized U.S.
Government use. This system may be monitored for all lawful purposes. All
information, including personal information, placed on or sent over this system,
may be monitored. Use of this DOD computer system, authorized or
unauthorized, constitutes consent to monitoring of this system. Unauthorized use
may subject you to criminal prosecution and penalties."
The default Web login banner text can be overridden by providing a banner.txt file
in the /user directory.
The SSH and terminal interface will display the following banner after a
successful login: "DOD use only! Subject to monitoring, reporting, prosecution,
and penalties."
107
Description
Secure and DoD profile configuration can be tailored with more or less security
features by manually altering the Master's configuration following the secure profile
selection. For example, the Master can be put into "secure" profile and then the
HTTP and Telnet interfaces can be manually re-enabled via their existing
configuration mechanism. This would enable all of the new security features
provided by the "secure" profile but still allow Master access via HTTP and Telnet.
Note: When transitioning from secure or DoD profile to the "non" profile, user
accounts are NOT wiped and the "administrator" and "netlinx" accounts will retain
their secure passwords.
SET SNMP
Sets SNMP read and write community strings. This command invokes the SET
SNMP sub-menu:
>SET SNMP
--- Enter New Values or just hit Enter to keep current settings
SNMP Enabled (Y or N)? N y
Enter System Description:
NetLinx VxWorks SNMPv1/v2c Agent
Enter System Contact:
AMX LLC
Enter System Location:
Richardson, TX USA
Enter Read community string: public
Enter Write community string: private
Note: The "System Description", "System Contact" and "System Location" are the
values that will be published for the Master via SNMP. The system must be rebooted
once the new values are entered.
SET SSH PORT
Once you enter a value and press the ENTER key, you get the following message:
Setting SSH port number to 22
New SSH port number set, reboot the Master for
effect.
Sets the system number for this Master. A reboot of the Master following the
execution of this command is required for the change to take effect.
Example:
>set system number
Current System number = 1
Enter new System number : 2
Setting System number to 2
New System number set, reboot the master for the change to take effect.
SET TELNET PORT
Once you enter a value and press the ENTER key, you get the following message:
Setting telnet port number to 23
New telnet port number set, reboot the Master for the change to take
effect.
108
Description
SET THRESHOLD
Once you enter a value and press the ENTER key, you get the following message:
Current Lontalk Threshold = 50
Enter new Lontalk Threshold (Between 1 and 2000)
(Default=50):50
Current IP Threshold = 600
Enter new IP Threshold (Between 1 and 2000)
(Default=200): 600
Setting Thresholds to: Interpreter 2000
Lontalk
50
IP
600
New thresholds set, reboot the Master for the changes to take effect.
SET TIME
Sets the current time. When the time is set on the Master, the new time will be
reflected on all devices in the system that have clocks (i.e. touch panels). By the
same token, if you set the time on any system device, the new time will be reflected
on the systems Master, and on all connected devices.
Note: This will not update clocks on devices connected to another Master (in
Master-to-Master systems).
Example:
>SET TIME
Enter Date: (hh:mm:ss) ->
Sets the UDP broadcast rate. A broadcast message is sent by the Master to allow
devices to discover the Master. This command allows the broadcast frequency to be
changed or eliminate the broadcast message.
Example:
>SET UPD BC RATE
Current broadcast message rate is 5 seconds between messages.
Enter broadcast message rate in seconds between messages
(off=0 ; default=5) (valid values 0-300):
Once you enter a value and press the ENTER key, you get the following message:
Setting broadcast message rate to 300 seconds between messages
New broadcast message rate set.
Sets the initiated connection list URLs of a device. Enter the URL address and port
number of another Master or device (that will be added to the URL list).
Enter Y (yes) to approve/store the new addresses in the Master.
Enter N (no) to cancel the operation.
Example:
>SET URL [0:1:0]
No URLs in the URL connection list
Type A and Enter to Add a URL or Enter to exit.
> a
Enter URL -> 192.168.21.200
Enter Port or hit Enter to accept default (1319) ->
Enter Type (Enter for permanent or T for temporary) ->
URL Added successfully.
109
Description
LOG
06:54:04
07:05:30
09:21:09
09:25:49
09:35:55
06:07:46
06:07:55
07:44:29
07:44:44
07:45:25
Displays a list of various message queues and the number of buffers in each queue
Example:
show buffers
Thread
TX
----------- ---Axlink
0
UDP
0
IPCon Mgr
0
Con Manager
Interpreter
Device Mgr
Diag Mgr
Msg Dispatch
Cfg Mgr
Route Mgr
Notify Mgr
Total
---0
RX
----
Queued
---0-Sent=NO Waiting=NO
0
0
0
0
0
0
0
0
---0
---0 GrandTotal 0
Displays a list of devices, levels, and channels that are currently combined.
Example:
> SHOW COMBINE
Combines
-------Combined Device([33096:1:1],[96:1:1])
Combined Level([33096:1:1,1],[128:1:1,1],[10128:1:1,1])
Combined Device([33128:1:1],[128:1:1],[10128:1:1])
110
Description
Displays a list of devices present on the bus, with their device attributes.
Example:
>SHOW DEVICE [0:1:0]
Local devices for system #1 (This System)
--------------------------------------------------------------------------Device (ID)Model
(ID)Mfg
FWID Version
00000 (00256)NXC-ME260/64M
(00001)AMX Corp.
00336 v3.00.312
(PID=0:OID=0) Serial=0,0,0,0,0,0,0,0,0,0,0,0,
Physical Address=NeuronID 000531589201
(00256)vxWorks Image
(00001)
00337 v3.00.312
(PID=0:OID=1) Serial=N/A
(00256)BootROM
(00001)
00338 v3.00.312
(PID=0:OID=2) Serial=N/A
(00256)AXlink I/F uContr(00001)
00270 v1.03.14
(PID=0:OID=3) Serial=0000000000000000
SHOW LOG
Displays the log of messages stored in the Master's memory. The Master logs all
internal messages and keeps the most recent messages. The log contains:
Entries starting with first specified or most recent
Date, Day, and Time message was logged
Which object originated the message
The text of the message:
SHOW LOG [start] [end]
SHOW LOG ALL
To display only the startup log, use the SHOW START LOG command (see
page 113).
111
Description
Displays a list of various message queues and the maximum number of message
buffers that were ever present on the queue.
Example:
show max buffers
Thread
TX
RX
----------- ---- ---Axlink
1
UDP
1
IPCon Mgr
0 (Total for TCP Connections TX=0)
Con Manager
Interpreter
Device Mgr
Diag Mgr
Msg Dispatch
Cfg Mgr
Route Mgr
Notify Mgr
---2
Total
8
17
8
1
0
0
0
0
---34
---GrandTotal 36
SHOW NOTIFY
Displays the Notify Device List (Master-Master). This is a list of devices (up to 1000)
that other systems have requested input from and the types of information needed.
Note: The local system number is 1061.
Example:
>SHOW NOTIFY
Device Notification List of devices requested by other Systems
Device:Port
System Needs
-----------------------------------------------------00128:00001
00108
Channels Commands Strings Levels
33000:00001
00108
Channels Commands
SHOW REMOTE
Displays the Remote Device List (Master-Master). This is a list of the devices this
system requires input from and the types of information needed. If when a NetLinx
Master connects to another NetLinx Master, the newly connecting system has a
device that the local system desires input from; the new system is told what
information is desired from what device.
Note: The local system number is 1062.
Example:
>SHOW REMOTE
Device List of Remote Devices requested by this System
Device Port System Needs
-----------------------------------------------------00001 00001 00001
Channels Commands
00002 00001 00001
Channels Commands
33000 00001 00001
Channels Commands
00128 00001 00108
Channels Commands Strings Levels
33000 00001 00108
Channels Commands
SHOW ROUTE
Displays information about how this NetLinx Master is connected to other NetLinx
Masters (routing information).
Example:
>SHOW ROUTE
Route Data:
System Route Metric PhyAddress
--------------------------------> 50
50
0
AxLink
112
Description
Displays a list of all devices in all systems currently on-line. The systems lists are
either directly connected to this Master (i.e. 1 hop away), or are referenced in the
DEFINE_DEVICE section of the NetLinx program. Optionally, you may provide the
desired system number as a parameter to display only that system's information
(e.g. SHOW SYSTEM 2001).
The systems listed are in numerical order.
Example:
>SHOW SYSTEM
Local devices for system #50 (This System)
-----------------------------------------------------------Device (ID)Model
(ID)Mfg
FWID
Version
00000 (00256)Master
(00001)AMX Corp.
00256
v2.10.75
(PID=0:OID=0) Serial='2010-12090',0,0,0,0,0,0
Physical Address=NeuronID 000239712501
(00256)vxWorks Image
(00001)
00257
v2.00.77
(PID=0:OID=1) Serial=N/A
(00256)BootROM
(00001)
00258
v2.00.76
(PID=0:OID=2) Serial=N/A
(00256)AXlink I/F uContr(00001)
00270
v1.02
(PID=0:OID=3) Serial=0000000000000000
00096 (00192)VOLUME 3 CONTROL BO(00001)AMX Corp. 00000
v2.10
(PID=0:OID=0) Serial=0000000000000000
Physical Address=Axlink
00128 (00188)COLOR LCD TOUCH PAN(00001)AMX Corp. 32778
v5.01d
(PID=0:OID=0) Serial=0000000000000000
Physical Address=Axlink
05001 (00257)NXI Download
(00001)AMX Corp. 00260
v1.00.20
(PID=0:OID=0) Serial=0,0,0,0,0,0,0,0,0,0,0,0,
Physical Address=NeuronID 000189145801
(00257)NXI/NXI-1000 Boot(00001)
00261
v1.00.00
(PID=0:OID=1) Serial=0,0,0,0,0,0,0,0,0,0,0,0,
10002 (00003)PHAST PLK-IMS
(00001)Phast Corp 0003
v3.12
(PID=0:OID=0) Serial=0000000000000000
Physical Address=NeuronID 0100417BD800
Enables and disables the collection of startup log messages. Once enabled, the first
x number of logs will be retained at startup for subsequent review via the "show start
log" command. Use SET LOG COUNT (page 106) to set the number of log message
that are retained.
TCP LIST
TIME
Displays the list of URL addresses programmed in the Master (or another system if
specified).
Example:
>URL LIST
The following URLs exist in the URL connection list
->Entry 0-192.168.13.65:1319 IP=192.168.13.65 State=Connected
Entry 1-192.168.13.200:1319 IP=192.168.13.200 State=Issue Connect
113
Description
ZEROCONF
[ENABLE|DISABLE|STATUS]
Enable, disable or view the new Zeroconf client in the Master. When Zeroconf is
enabled (default) the Master's web interface will be registered via Zeroconf and can
be viewed through a Zeroconf browser plug-in such as Bonjour for IE.
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.
1. In the Terminal session, type help security to view the available security commands. Here is a listing of the security
help:
---- These commands apply to the Security Manager and Database ---logout
Logout and close secure session
setup security
Access the security setup menus
The 'help security' and 'setup security' functions are only available via a direct RS232
Program Port connection. They are not available to Telnet sessions.
2. Type setup security to access the Setup Security menu, shown below:
>setup security
---- These commands apply to the Security Manager and Database ---1) Set system security options for NetLinx Master
2) Display system security options for NetLinx Master
3) Add user
4) Edit user
5) Delete user
114
3. The Setup Security menu shows a list of choices and a prompt. To select one of the listed choices, simply enter the
number of the choice (1 - 17) at the prompt and press <Enter>.
Each option in the Setup Security menu displays a submenu specific to that option. The following subsections describe
using each of the Setup Security menu options.
Changes made to the target Master from within the Terminal window are not reflected
within the web browser, until the Master is rebooted and the web browser connection
is refreshed. Any changes made to the Master, from within the web browser are
instantly reflected within the Terminal session without the need to reboot.
Description
This selection will bring up the Security Options Menu that allows you to
change the security options for the NetLinx Master. These are "global" options
that enable rights given to users and groups.
For instance, if you want to disable Telnet security for all users, you would
simply go to this menu and disable Telnet security for the entire Master. This
would allow any user, whether they have the rights to Telnet or not.
These options can be thought of as options to turn on security for different
features of the NetLinx Master.
This selection will display the current security options for the NetLinx Master.
3) Add user
This selection will prompt you for a name for the User you are adding. The
User name must be a unique alpha-numeric string (4 - 20 characters).
Note: User and Group names are case sensitive.
After the User is added, you will be taken to the Edit User menu to setup the
new Users right (see page 118).
4) Edit user
This selection will prompt you select a User to edit properties for. Once you
have selected the User you want to edit, it will take you to the Edit User menu
so you can edit the User's rights (see page 118).
5) Delete user
7) Add group
This selection will prompt you for a name for the Group you are adding. The
Group name must be a unique alpha-numeric string (4 - 20 characters).
Note: User and Group names are case sensitive.
After the Group is added, you will be taken to the Edit Group menu to setup
the new users right (see page 118).
115
Description
8) Edit group
This selection will prompt you select a Group to edit properties for. Once you
have selected the Group you want to edit, it will take you to the Edit Group
Menu so you can edit the group's rights (see page 118).
9) Delete group
This selection will prompt you select a group to delete. A group can only be
deleted if there are no users assigned to that group.
This selection allows you to set the time a telnet session waits for a user to
login. When a Telnet client connects to the NetLinx Master, it is prompted for a
username. If the client does not enter a users name for the length of time set
in this selection, the session will be closed by the NetLinx Master.
This selection displays the time a telnet session waits for a user to login.
This selection prompts you to specify the LDAP URI. Once the URI is entered
and enter is pressed, a prompt for the next LDAP parameter will be displayed,
and so on until all LDAP parameters are entered.
Note: Options 3 - 10 (Add user, Edit user, Delete user, Show the list of
authorized users, Add group, Edit group, Delete group, Show list of authorized
groups) on the Security Setup menu are disabled when LDAP is enabled.
This selection initiates a bind to the BIND DN using the Search Password
entered.
If the bind is successful, the message Connection successful is displayed.
If the server could not be reached or the bind is unsuccessful, the message
Could not connect to server is displayed.
When changes are made to the security settings of the Master, they are
initially only changed in RAM and are not automatically saved permanently
into flash. This selection saved the current security settings into flash.
Also, if you attempt to exit the Main Security Menu and the security settings
have changed but not made permanent, you will be prompted to save the
settings at that time.
If a user has been given "administrator rights", this additional menu option is
displayed. This selection will reset the security database to its Default Security
Configuration settings, erasing all users and groups that were added. This is a
permanent change and you will be asked to verify this before the database is
reset.
This function is only visible to administrators.
If a user has been given "administrator rights", this additional menu option is
displayed. This selection will display the current security settings to the
terminal (excluding user passwords). It also displays all users (minus
passwords), their group assignment (if any) and their rights, as well as all
groups and their rights.
This function is only visible to administrators.
116
9) Delete group
10) Show list of authorized groups
11) Set Telnet Timeout in seconds
12) Display Telnet Timeout in seconds
13) Enter LDAP security information
14) Test connection to the LDAP server
15) Make changes permanent by saving to flash
16) Reset Database
17) Display Database
Or <ENTER> to return to previous menu
Security Setup ->
2.
To enable LDAP, enter 1 and press Enter. The following will be output to the screen:
3. To proceed, enter y and press enter. The following menu will be displayed:
Select to change current security option
1)
2)
3)
4)
5)
6)
7)
4. To enable LDAP Security, enter 7 and press Enter. The same menu will be sent to the screen with LDAP Security
set to Enabled. Press enter to return to the Security Setup menu.
5. When back to the Security Setup menu, enter 13 and press Enter.
A prompt to enter the LDAP URI will be displayed. Once the URI is entered and enter is pressed, a prompt for the
next LDAP parameter will be displayed.
This will continue until all parameters are entered and then the Security Setup menu will be displayed again.
Description
1) Terminal (RS232) Security This selection enables/disables Terminal Security. on the Program (RS232) Port.If
(Enabled/Disabled)
Terminal Security is enabled, a user must have sufficient access rights to login to a
117
Description
3) Telnet Security
(Enabled/Disabled)
4) Configuration Security
(Enabled/Disabled)
5) ICSP Security
(Enabled/Disabled)
This selection enables/disables security of ICSP data being transmitted between the
target Master and external AMX components (software and hardware such as TPD4
and a Modero Touch Panel).
7) LDAP Security
(Enabled/Disabled)
Description
This selection prompts you to enter the new password (twice) for the user. Once
the new password is entered, the user must use the new password from that
point forward.
This selection will display the current group the user is assigned to (if any). It will
then display a list of current groups and prompts you to select the new group.
This selection will display any current directory associations assigned to the
user, and then will prompt you for a path for the new directory association.
4) Delete Directory Association This selection will display any current directory associations assigned to the
user, and then will prompt you to select the directory association you want to
delete.
5) List Directory Associations
This selection will display any current Directory Associations assigned to the
user.
This selection will display access the Access Rights menu, which allows you to
set the rights assigned to the user.
Note: See the Access Rights Menu section (below) for descriptions of each
menu item.
7) Display User Record Contents This selection will display the group the user is assigned to and the current
Description
This selection will display any current directory associations assigned to the
group, and then will prompt you for a path for the new directory association.
4) Delete Directory Association This selection will display any current directory associations assigned to the
group, and then will prompt you to select the directory association you want to
delete.
118
Description
This selection will display any current Directory Associations assigned to the
group.
This selection will display access the Access Rights menu, which allows you to
set the rights assigned to the group.
Note: See the Access Rights Menu section (below) for descriptions of each
menu item.
This selection will display the current Access Rights assigned to the group.
Description
Enables/disables Terminal (RS232 Program port) Access. The account has
sufficient access rights to login to a Terminal session if this option is enabled.
2) Admin Change Password Access Enables/disables Administrator Change Password Access. The account has
(Enable/Disable)
sufficient access rights to change the administrator password if this option is
enabled.
3) FTP Access
(Enable/Disable)
4) HTTP Access
(Enable/Disable)
This selection enables/disables HTTP (Web Server) Access. The account has
sufficient access rights to browse to the NetLinx Master with a Web Browser if
this option is enabled.
5) Telnet Access
(Enable/Disable)
6) Configuration Access
(Enable/Disable)
5) ICSP Security
(Enabled/Disabled)
Adding a Group
1. Type 7 and <Enter> at the Security Setup prompt (at the bottom of the Main Security Menu) to add a group
account. A sample session response is:
The following groups are currently enrolled:
administrator
Enter name of new group:
2. Enter a name for the group. A group name is a valid character string (4 - 20 alpha-numeric characters) defining the
group. This string is case sensitive, and each group name must be unique.
119
Notes
Enables access to the user directory and all files and subdirectories in the
user directory.
/*
Enables access to the user directory and all files and subdirectories in the
user directory.
/user1
If user1 is a file in the user directory, only the file is granted access. If
user1 is a subdirectory of the user directory, all files in the user1 and its
sub-directories are granted access.
/user1/
user1 is a subdirectory of the user directory. All files in the user1 and its
sub-directories are granted access.
/Room1/iWeb ControlPages/* /Room1/iWeb ControlPages is a subdirectory and all files and its
/results.txt
By default, all accounts that enable HTTP Access are given a '/*' Directory Association if no other Directory
Association has been assigned to the account. When you are prompted to enter the path for a Directory Association,
the NetLinx Master will attempt to validate the path. If the directory or file is not valid (i.e. it does not exist at the
time you entered the path), the NetLinx Master will ask you whether you were intending to grant access to a file or
directory. From the answer, it will enter the appropriate Directory Association. The NetLinx Master will not create
the path if it is not valid. That must be done via another means, most commonly by using an FTP client and
connecting to the FTP server on the NetLinx Master.
Account 2:
Password:
Group:
Rights:
Directory Association:
Group 1:
Group: administrator
Rights:
All
Directory Association: /*
Security Options:
120
The administrator user account cannot be deleted or modified with the exception of its password. Only a user
with "Change Admin Password Access" rights can change the administrator password.
The NetLinx user account is created to be compatible with previous firmware versions.
The administrator group account cannot be deleted or modified.
The FTP Security and Admin Change Password Security are always enabled and cannot be disabled.
Refer to the SET SECURITY PROFILE section on page 106 for information on
setting Security Profiles.
Description
REBOOT HEAP WATCH This command causes the Master to reboot into a Heap Watch mode, where every memory
allocation is tracked back to a task running in the Master. This option may be useful in cases
where a remote Master is indicating a continuous loss of memory. With Heap Watch enabled,
AMX Technical Support may be able to track exactly which task is losing the memory.
SPY
SPY STOP
The SPY and SPY STOP interfaces are provided by VxWorks; AMX has made it available to
the user.
SPY lists out all of the tasks running in the Master and their CPU usage, refreshing every
10sec.
SPY is very similar to a Windows Task Manager output.
This option may be useful in cases where a remote Master seems to be running but very
slowly. Enabling SPY might indicate if a specific task is using up the CPU. SPY can also be
useful in detecting infinite loops in NetLinx or Duet/Java code, since the Interpreter or Java
threads will show that theyre using all of the CPU.
PHYSICAL STATUS
This command reports the current state of the Masters Status, Output and Input LEDs, in
order to troubleshoot a remote Master. For example, if PHYSICAL STATUS indicates that the
Input LED always shows 1 (or ON), it could indicate that the Master is being hammered by
incoming events.
MSG STATS
This command collects messages statistics for the Interpreter over a 10 second period by
calculating the number of event messages that have been processed. This can be useful as a
debugging/diagnostics tool to determine if the NetLinx Interpreter is running and how many
messages its processing.
121
122
1. Must support simple authentication (for example, NetLinx Masters do not support Kerberos or SASL).
2. The account setup for a bind DN must have search capability along with the necessary permissions to read the 'uid',
'cn', 'member' and 'objectclass' attributes.
3. When a search is performed to find a DN with the specified user ID, a search must return one and only one object if
the user exists. No object will be returned if an account does not exist for that user ID.
4. An account is considered valid if a user can authenticate/bind. No other attributes are considered during the
authentication process.
5. AMX LDAP implementation supports both encrypted and un-encrypted connections using SSL.
6. When a person authenticates, that account must have access to all the attributes defined by RFC 2798 with the
following exception:
User passwords are not necessarily accessible for anything except to perform a bind to the directory (for example,
this attribute may not be directly available to the user).
7. When a person authenticates, that account must have the ability to search for the groups of which that account is a
member (for example, the account is able to perform a search with a filter which contains 'member=' followed by
the DN of the authenticated user. If exceptions exists, those groups cannot/will not be necessary for AMX client
security decisions.
8. When a person authenticates, that account must have access to "cn" attributes for all groups of which it is a member.
9. Group membership for users will be defined by the GroupOfNames object class. GroupOfUniqueNames is not
supported due to ambiguities associated with implementations which use unique ID's appended to membership
DN's.
10. When performing searches for group membership, no restrictions exist which would the restrict returning the full
list of objects for which the user is a member with the possible exception of reasonable response timeouts. AMX
LDAP implementation does not support paged search results.
1. DallasUser1 initiates a HTTP session with the master and is prompted for a username and password.
2. DallasUser1 enters username: DallasUser1 and his/her password: DallasUser1Pswd.
123
3. The client connects to the LDAP server and starts a bind operation with the BIND DN,
uid=amxBindAccount,ou=people,dc=example,dc=com, and the Search Password, secret.
4. The password, secret, is then compared by the server to the value of the userPassword attribute for the record
uid=amxBindAccount,ou=people,dc=example,dc=com.
If this step is successful, the bind is successful and the client is logged in.
5. If the bind is successful, the client then performs a search with the filter
(&(objectclass=person)(uid=DallasUser1)).
The objectclass=person portion of the filter is hard coded in the client firmware.
The uid=DallasUser1 portion of the filter is formed from the configured parameter User Query Attr and the user
name entered when logging in.
Since the User Query Attr is required to be unique in the search base LDAP BASE DN, the search should return
either 0 or 1 record.
If one record is found, the DN of the record is returned. In this example, the DN
uid=DallasUser1,ou=people,ou=Dallas,dc=example,dc=com is returned.
8. The server compares the user supplied password with the value of the userPassword attribute of
uid=DallasUser1,ou=people,ou=Dallas,dc=example,dc=com.
If this match is successful, the bind is successful and the client is logged in.
9. If the bind is successful, the client then performs another search using the filter (member=DN returned from the first
search) specifying that the commonName attribute of matching entries should be returned.
In this example, the filter is member=uid=DallasUser1,ou=people,ou=Dallas,dc=example,dc=com.
Since DallasUser1 is listed as a member of the groupOfNames objectclass
dn: cn=master01Admin,ou=groups,ou=Dallas,dc=example,dc=com
and
dn: cn=master01User,ou=groups,ou=Dallas,dc=example,dc=com,
the server will return the commonName attributes master01Admin and master01User.
The client then unbinds as this user and exits.
The AMX LDAP client configuration parameters are located on the System Security
Details page under the System Security Settings link. See the System Security System Level section on page 33); the LDAP configuration options are described on
page 34.
124
Master Configuration
Example:
dn: cn=master01Admin,ou=groups,ou=Dallas,
dc=example,dc=com
objectClass: groupOfNames
Example:
Admin groupOfNames cn: master01Admin
objectClass: top
cn: master01Admin
member: uid=DallasAdminUser1,ou=people,
ou=Dallas,dc=example,dc=com
member: uid=ICSPUser,ou=people,
ou=Dallas,dc=example,dc=com
Master Configuration
Example:
dn: cn=master01User,ou=groups,
ou=Dallas,dc=example,dc=com
objectClass: groupOfNames
Example:
User groupOfNames cn: master01User
objectClass: top
cn: master01User
member: uid=DallasUser1,ou=people,
ou=Dallas,dc=example,dc=com
member: uid=DallasUser2,ou=people,
ou=Dallas,dc=example,dc=com
125
Master Configuration
dn: uid=ICSPUser,ou=people,ou=Dallas,
dc=example,dc=com
2) Click the User level tab and navigate to the User Security
Details page.
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: ICSP User
126
Sets a server configuration parameter. These configuration settings are general mail server settings and thus apply
to all emails. Settings are saved to the configuration database & thus are static upon reboot.
cfgName is the server property name that is being set. Acceptable values are
ADDRESS - SMTP server name, such as "mail.amx.com". The maximum number of characters allowed for
email destination is 127.
PORT - SMTP server port, such as "25" or "0". 0 means "use the best default port" which would imply using
25 which is the SMTP well-known port.
USERNAME - Username to offer for authentication. If username length is set to 0, authentication is not
attempted.
PASSWORD - Password to offer for authentication. If password length is set to 0, authentication is still
attempted but simply uses a zero-length password.
FROM - Mail address to populate to the 'Mail-From:' field in outgoing emails.
REQUIRE_TLS - SMTP server must support TLS in order to establish a connection. Valid values are 'TRUE'
or 'FALSE'
cfgValue is the value to associate for a setting property.
char[] SMTP_SERVER_CONFIG_GET (CONSTANT CHAR cfgName[])
SMTP_ADDRESS[] = 'ADDRESS';
SMTP_PORT_NUMBER[] = 'PORT';
SMTP_USERNAME[] = 'USERNAME';
SMTP_PASSWORD[] = 'PASSWORD';
SMTP_REQUIRE_TLS[] = 'REQUIRE_TLS';
SMTP_FROM[] = 'FROM';
NULL_STR[] = '';
SMTP_TLS_TRUE[] = 'TRUE';
SMTP_TLS_FALSE[] = 'FALSE';
127
Sending Mail
Sending mail is accomplished with the use of the Master's built-in Mail Service. An outbound mail is handed to the Mail
Service via the following built-in NetLinx function:
sinteger SMTP_SEND (DEV responseDPS, CONSTANT CHAR toAddress[], CONSTANT CHAR mailSubject[], CONSTANT
CHAR mailBody[], CONSTANT CHAR textAttachment[])
where:
responseDPS - The DPS address to return asynchronous send status. Ex. 0:3:0
toAddress - The email address of destination. Ex. [email protected].
Note that the NetLinx mail service supports up to eight recipient address (semi-colon delimited). These are
"To" addresses only (not "Cc" or "Bcc" addresses.)
The maximum number of characters allowed for email destination is 127.
mailSubject - The email subject line.
mailBody - The email body text.
textAttachment - A text filename to attach to the email (optional argument). Filenames must be 256
characters or less, and file size must be under 65536 bytes. When no attachment is included textAttachment
should be set to NULL_STR.
SMTP_SEND returns a signed integer.
If the return value is negative (<0) that is an indication there was a failure in handing the message off to the
mail service, most likely due to an invalid argument supplied to the SMTP_SEND call.
If the return value is positive (>0) then the value is the index associated with the mail being sent.
Mail sends are asynchronous to the normal processing of the NetLinx application.
When SMTP_SEND is called and the mail is posted to the internal Mail Service, the NetLinx application will
continue executing the code following the SMTP_SEND.
The failed send status will be returned via an ONERROR DATA_EVENT for the responseDPS specified in the
SMTP_SEND call with DATA.NUMBER set to the error code and DATA.TEXT set to the mail identifier
returned from the SMTP_SEND call.
Example SMTP_SEND:
DEFINE_DEVICE
MAIL_SERVICE=0:3:0
DEFINE_VARIABLE
SINTEGER MAIL_IDX
DATA_EVEN [MAIL_SERVICE]
{
ONERROR:
{
// AN ERROR OCCURRED
LOG_ERROR("MAIL SEND FAILURE - IDX=',DATA.TEXT,' ERROR=',ITOA(DATA.NUMBER))
}
}
128
Library Calls
The NetLinx.axi file that ships with NetLinx Studio includes the following Clock Manager-specific library calls:
NetLinx.axi - Library Calls
CLKMGR_IS_NETWORK_SOURCED()
CLKMGR_SET_CLK_SOURCE
(CONSTANT INTEGER MODE)
CLKMGR_IS_DAYLIGHTSAVINGS_ON()
CLKMGR_SET_DAYLIGHTSAVINGS_MODE
(CONSTANT INTEGER ONOFF)
CLKMGR_GET_TIMEZONE()
CLKMGR_SET_TIMEZONE
(CONSTANT CHAR TIMEZONE[])
CLKMGR_GET_RESYNC_PERIOD()
CLKMGR_SET_RESYNC_PERIOD
(CONSTANT INTEGER PERIOD)
Sets the re-sync period to the specified minute value. The upper
bound is 480 minutes (i.e., 8 hours).
CLKMGR_GET_DAYLIGHTSAVINGS_OFFSET
(CLKMGR_TIMEOFFSET_STRUCT T)
CLKMGR_SET_DAYLIGHTSAVINGS_OFFSET
(CONSTANT CLKMGR_TIMEOFFSET_STRUCT T)
CLKMGR_GET_ACTIVE_TIMESERVER
(CLKMGR_TIMESERVER_STRUCT T)
129
Sets the time server entry that has the matching IP-ADDRESS
to the IP parameter as the active time server entry.
CLKMGR_GET_TIMESERVERS
(CLKMGR_TIMESERVER_STRUCT T[])
CLKMGR_GET_START_
DAYLIGHTSAVINGS_RULE()
Examples:
"fixed:5,10,16:00:00" = October 5, at 4:00PM).
"occurence:5,1,10,02:00:00" = last Sunday in October, at 2:00AM).
CLKMGR_SET_START_DAYLIGHTSAVINGS_RULE Sets the START Daylight Savings rule to the specified string
(CONSTANT CHAR RECORD[])
which must be in either the Fixed-Date format or the OccurenceOf-Day format. The function returns a negative SLONG value if it
encounters an error.
The Fixed-Date rules have the form:
"fixed:DAY,MONTH,HH:MM:SS"
Examples:
"fixed:5,10,16:00:00" = October 5, at 4:00PM).
"occurence:5,1,10,02:00:00" = last Sunday in October, at 2:00AM).
130
Examples:
"fixed:5,10,16:00:00" = October 5, at 4:00PM).
"occurence:5,1,10,02:00:00" = last Sunday in October, at 2:00AM).
CLKMGR_SET_END_DAYLIGHTSAVINGS_RULE
(CONSTANT CHAR RECORD[])
Sets the END Daylight Savings rule to the specified string which
MUST be in either the Fixed-Date format or the Occurence-OfDay format. The function returns a negative SLONG value if it
encounters an error.
The Fixed-Date rules have the form:
"fixed:DAY,MONTH,HH:MM:SS"
131
3000 RESEARCH DRIVE, RICHARDSON, TX 75082 USA 800.222.0193 469.624.8000 469-624-7153 fax 800.932.6993 technical support www.amx.com
5/14 2014 AMX. All rights reserved. AMX and the AMX logo are registered trademarks of AMX. AMX reserves the right to alter specifications without notice at any time.