The SurgeX
eliminator and power conditioner. The SX-20NE-RT-AR may be used to switch up to 20A at
120V. The simple web server structure allows basic control of one branch circuit. The extensive
programming and setup capabilities are accessed by a web browser, through a Device
Management Utility (DMU), or through a C ommand Line Interf ace (CLI).
®
SX-20NE-RT-AR is a network attached, IP addressed, web controlled AC surge
•The SX-20NE-RT-AR features a magnetic shield ing NEMA steel enclosure, SurgeX
Advanced Series Mode® surge elimination, Impedance Tolerant EMI/RFI filtering,
SurgeX ICE
®
Inrush Curr ent Eliminati on, and low level control inputs/outputs.
®
•Remote reboot any device: monitors, router s, servers, kiosks, etc. The remote de vice
need not be net work attached.
• Conserve energy by powering down equipment when not in use.
• Telnet access uses the Command Line Interface (CLI) structure and syntax to
completely configure and control the SX-20NE-RT-AR. This Axess Ready (AR)
device also supports the DxP protocol, which allows software developers to integrate
the unit into custom applications.
•Up to 2 systems can be continuously monitored with AutoPing, with automatic power
control upon loss of contact. Reboot crashed systems, or provide auto power-up or down for environmental controls and notification sy stems.
•The SX-20NE-RT-AR utilizes 2 levels of password security, with only the
administrative account having access to setup and configuration.
• Accepts b oth DC voltage and co ntact closure control inputs.
• Two or more units can be cascaded together for larger systems.
• Auxiliary relay output can be used to control other SurgeX® pr oducts.
• 12 Volt D C output can be used to control other SurgeX® products or dri ve LEDs.
• Auxiliary relay or 12 Vol t DC output can be used to provide confirmation feedback.
• 12” x 12” x 4” NEMA enclosure meets electrical code for use at the service entrance,
sub-panels, and in ceiling plenums.
Page 5
SX-20NE-RT-AR User Manual
Page 4
I. Introduction
(continued)
Located on t he front panel are:
• Remote LED
• Self-Test LED
Located on t he bottom is:
•Network connection (RJ-45)
Located on t he right side are:
• Reset but ton
• Axess On LED
Page 6
SX-20NE-RT-AR User Manual
Page 5
II. Installation
Physical
The SX-20NE-RT-AR is housed in a magnetic shielding NEMA enclosure designed to be
installed at a service entrance, electrical sub-panel, or in a ceiling plenum. Input and Output AC
connections are made through the enclosure knock-outs and are hard-wired to internal terminal
blocks.
Ethernet Connection
The RJ45 connector for 10/100 Ethernet is situated on the bottom of the unit. The de fault IP
Address i s 192.168.1.254.
AC Power Connections
Connect the wires to the equipment (load) to be powered On and Off to the lower terminal block
labeled “Load”. Connect Black to Load, White to Neutral, and Ground to Ground. If the
connected equipment has a Power switch, leave it in the On position to allow the SX-20NE-RTAR to control the power.
Connect the wires from the electrical service (line) to the upper terminal block labeled “Line”.
Connect Black to Line, White to Neutral, and Ground to Ground.
IMPORTANT: In order for the SurgeX circuitry to function properly, the unit must be
installed exactly as stated above (the unit wil l not function without a Neutral connection).
The SurgeX SX-20NE-RT-AR product is rated at a load capacity of 20 Amps and shall be
wired only by qualified Electricians using 12 Ga. conductors as specified in Article 310 of the
1999 National Electric Code, as set forth in Table 310-13. Any type of conductor suitable for
use in wet or dry locations such as (but not limited to) THHN, THHW , THW, THWN, or TW
shall be considered acceptable if local Code permits. The circuit to which the product is
connected must be protected by a 20 Amp circuit breaker.
Page 7
SX-20NE-RT-AR User Manual
Page 6
III. LED Indicators
IV. Remote Control Connections
The Axess Ready system is On. The AR system must
be on to enable hard-wired remote control connections.
A hard-wired remote control signal is active and the
output is On.
The int ernal surge protection circuitry is fully functional.
Pin 1 – Contact Closure
Pin 2 – Contact Closure
Pin 3 – Applied Voltage +
Pin 4 – Applied Voltage -
Pin 5 – Power LED +
Pin 6 – Power LED -
Pin 7 – Remote LED +
Pin 8 – Remote LED -
Pin 9 – Aux Relay Contact
Pin 10 – Aux Relay Contact
1
10
AXESS ON
REMOTE
SELF-TEST
Remote control connections are wired to the black 10-pin terminal block on the inside of the
unit. Th e terminal block is shipped with a jumper wire between pins 1 & 2 so that the unit can be
used without a remote control connection. If you will be using remote control you will first need
to remove this jumper wire. Never solder (tin) wires before inserting into a terminal block –
solder cold flows and you will eventually have loose connections!
CAUTION: Do not repeatedly turn the unit Off—On—Off—On with a heavy load
connected. The ICE™ circuitry absorbs the inrush energy each time the unit is turned on
and may overheat if this is done too many times in a short period of time. Wait one
minute betw een repeated turn-ons.
The connections are shown below:
Control Inputs
The SX-20NE-RT-AR can be controlled by a DC voltage in the range of 5V to 30V, by a contact
closure (such as a relay), by a switch (latching), or by another SurgeX product such as the SEQ.
Switches with gold contacts are recommended for the best long-term reliability.
a) DC Voltage: The unit will power up when the voltage is present, and power down when
there is no voltage. Connect the positive wire to Pin 3 (Applied Voltage +), and the
negati ve wire to Pin 4 (Appli ed Voltage -). The positive and negative connections must
be made with the correct polarity for proper operation.
2
3
4
5
6
7
8
9
Page 8
SX-20NE-RT-AR User Manual
Page 7
IV. Remote Control Connections
Control State
Output State
Axess
Control
CC
Input
DC
Input
Axess
LED
Remote
LED
Out
put
On
On
Off
On
On
On
On
Off
On
On
On
On
On
Off
Off
On
Off
Off
Off
Any
Any
Off
Off
Off
(continued)
b) Contact Closure/Latching Switch: The unit will power up when the contacts are closed,
and power down when the contacts are open. Connect t he two wires from the contacts
or switch to Pin 1 (Contact Closure) and Pin 2 (Contact Closure).
Output control requires a combination of Axess Ready (AR) control via IP and Remote TurnOn/Off ( RT) control via hard-wired connection. The following table will detail the LED and output
states during vari ous operating condit ions.
External LED C onnections
The SX-20NE-RT-AR product is able to drive external LEDs or other signaling devices through
its 12V DC LED outputs, which can provide up to 10mA of current each. External LEDs
connected to the Power LED pins (5 and 6) will be illuminated when AC power is applied to the
unit, and external LEDs connected to the Remote LED pins (7 and 8) will be On when the unit’s
AC output is On, and Off when the output is Off. When connecting LEDs to either output, a
series resistor is required. For example, many LEDs work well with 10mA of current, so a 1KΩ
resistor is usually a good choice. If more than one LED is required, then use a separate series
resistor for each LED. For example, two external LEDs, each with a 2kΩ series resistor, could
be powered from one unit at 5mA each.
Connect eac h LE D anode to “LED +” through a resistor, and the cathodes to “LED -”.
Auxili ary Relay Contacts
The auxiliary relay contacts, Pins 9 & 10, provide a way to cascade units or to provide
confirmation feedback to a central controller. W hen the output is On, the aux relay contacts are
closed. There is a ½ second delay before the aux relay closes, which allows time for the SurgeX
Inrush Current Elimination (ICE™) circuit to operate. This short delay in combination with the
SurgeX ICE™ makes it unnecessary to sequence the power to several large loads (such as
amplifiers) because of inrush current. SurgeX SX-20NE-RT-AR products, when cascaded, can
turn on a bank of large amplifi ers with no inrush current, and therefore no risk of tripping a circuit
breaker.
To cascade two or more SX-20NE-RT-AR products, connect the aux relay contacts of one unit
to the contact closure input of the next unit. To provide confirmation feedback, connect the aux
relay contacts to an input on the central controller. The relay contacts are rated for 1 amp at 30
V DC.
Page 9
SX-20NE-RT-AR User Manual
Page 8
V. Initial Set-Up
Device Management Utility (DMU)
The SurgeX Device Management Utility (DMU)
provides the easiest means to find and configure
your AR for use. The DMU can:
1. Automatically discover multiple ARs on a
local network.
2. Display the current IP address of each AR.
3. Allow the setting of a new IP address for each
AR.
4. Perform firmware upgr ades.
5. Return an AR to Factory Defaults.
The SurgeX Device Management Utility is
available on the AR CD or on the SurgeX website
at http://www.surgex.com
Note: The IP address can only be set within the
first 2 minutes after powering up the AR. The
utility will only work with ARs on the same local
subnet as th e PC .
Device
Discover: Automa tically d iscov er all ARs
on the local network. The DMU will display
the location name of the AR, the product
ID and version number, the current IP
address, and the MAC address. Factory
defaulted ARs will display with the name
New SX-iPD and have either the factory
default IP address of 192.168.1.254 or an
IP address that was automatically
assigned by the DHCP server on your
network. If the IP address was assigned by a DHCP server, no changes to the IP
address ar e required.
The IP address field also indicates the port for web access that is currently in use
by the AR. The standard port for web browser accessibility is factory default Port
80.
Add: Manually add an AR by IP address.
Clear: Clear the list.
Page 10
SX-20NE-RT-AR User Manual
Page 9
V. Initial Set-Up
Manage
Open Browser: Opens the web browser interface for the selected AR.
Upgrade Firmware: Starts the Firmware Upgrade dialogue.
Set
IP Address: Changes the IP address of the selected AR.
Factory Defaults: Return the selected AR to a Factory Default state. This action must be
performed within the fir st 2 minutes after powering up the unit.
Local Address: Select the IP address to Discover on. This may be necessary for
computers with multiple network connections.
Exit
Exits the DMU program.
Help
Online Help: Opens a web browser to online help r esources.
About: Di splays DMU version information.
(continued)
Firmware Upgrade requirements:
Valid firmware file.
Administrative login cr edentials.
“Upgrade Enable” must be set t o yes, set via web page or CLI.
Page 11
SX-20NE-RT-AR User Manual
Page 10
V. Initial Set-Up
(continued)
Setting the IP Address
ARs are configured with a factory default IP address of 192.168.1.254.
To set the AR’s IP address using one of the following methods, the computer and AR mus t be
on the same l ocal network.
DMU: Follow the steps in the preceding subsection to set the IP address using the Device
Management U tility (DMU).
CLI: These are the basic commands to set the network parameters. After setting these
parameters, the AR will need to be rebooted for the settings to take effect. Any command that
requires rebooting of the AR will provide a prompt to do so. All commands may be entered as
required before rebooting. Manually specifying the IP address via CLI automatically sets the
address as static.
Example: Telnet to default I P address of 192.168.1.254 on default Port 23:
SurgeX Axess Ready v1.01.41
User> admi n
Password> *****
Axess Ready> set ipaddress 10.1.2.69
Ok
Axess Ready Reboot Required> set subnet 255.2 55.255.0
Ok
Axess Ready Reboot Requir ed> set gateway 10.1.2.1
Ok
Axess Ready Reboot Requir ed> reboot
The CLI command set ipmode dhcp followed by a reboot command may be used to configure
the AR to automatically acquire its network settings from a DHCP server. A DHCP server will
automatically assign an IP address (dynamic address), as well as the Subnet Mask and
Gateway.
To determine what IP address has been automatically assigned by the DHCP server, you will
need to use the Discover feature of the DMU or query your DHCP server and locate the MAC
address of the AR in the DHCP server’s IP /MAC table.
Web: To set the IP address using a web browser, navigate to the current IP address of the AR
(192.168.1.254 if the unit is in a factory default state). Enter the administrator credentials
(Factory Default User: admin, Password: admin), click on “Setup”, then click on “Network” and
follow the directions in the Web Server/Network/Setup section of this manual.
Page 12
SX-20NE-RT-AR User Manual
Page 11
VI. Web Server
Role
Username (fixed)
Password (user set)
Administrator
admin
admin
User
user
user
The Axess Ready web interface provides the easiest means of operating t he outlet and
changing configuration parameters.
To access the web interface, open a web browser and enter the IP address of the AR into
the addres s bar. The factory def ault IP address i s 192.168.1.254.
Password
The AR uses two username/password credential sets, one for normal power control (user)
and one that also provides acce ss to the Setup functions (admin).
Default credentials:
Enter a valid username and password when prompted.
When the proper username/pa ssword combination is
received, the Control and Stat us Page is displayed.
Control and Status Page
Once a user is validated, the Control and St atus page is
displayed.
Note: Only o ne user may be logged in to the AR at a time.
Press “Power On” or “Power Off” to turn the AC output O n
or Off. In the event of a power outage, the AC output will
return to its last known state prior to the outage.
Press “Cycle Power” to temporarily change the state of the
AC output f or a specified cycle time (factory def ault is 10
seconds). The cycle operation performed will either be On-Off-On or Off-On-Off , depending
on the initial state of the AC output . During the power cycle operation, the Power Status bar
will indicate the temporary status with a Blue background. Once the cycle is complete, the
status bar will revert to it s original condition. To abort a power cycle, press either “Power On”
or “Power O ff” and the outlets will assume that status.
If the AutoPing feature is in use, this page will also display the current status (OK or Failed)
for each AutoP ing, a counter of how many times the ping failed, and a counter of how many
times the defined action was triggered. Reset buttons for the Fail and Trigger counters are
available for the admin login.
Use the Refr esh button to update the page with the most current status. U se of the
browser’s refresh button may lead to inadvertent power switching. If an NTP time server is
being used, the time of the last refresh will be displayed in the upper right corner.
Page 13
SX-20NE-RT-AR User Manual
Page 12
VI. Web Server
(continued)
Setup Pages
Setup pages are only available while logged in with Administrator credentials. Press Save to
save the new settings. If the new settings require the AR to be rebooted, a Reboot button will
appear at the bottom of the page. Settings requiring reboot will not take effect until the unit is
rebooted.
Device
Location ID: Specifies a name label (up to 20 characters) that will be displayed at the
top of all pages. Assigning unique names is helpful for management of multiple units.
Cycle Time: Specifies the length in seconds of a power cycle (1-999 seconds). This is
the amount of time the outlet will temporarily be On or Off, depending on the initial outlet
state.
Upgrade Enable: Enables the abi lity to upgrade the firmware of the AR.
Auto Logout: Specifies the inactivity timer duration in minutes (0-99 minutes). If there is
no activ ity after the specified amount of time, the user will be automatically logged out.
Setting the timer duration to 0 disables the ti meout feature.
Important: As the AR allows only one web user logged in at any time, use
caution when disabling the timeout feature, as it is possible to lock out
other users by forgetting to log out. Closing the web browser will not log
the user out, and will lock out web access. In this situation it will be
necessary to access the AR via telnet and reboot the unit.
Page 14
SX-20NE-RT-AR User Manual
Page 13
VI. Web Server
Network
(continued)
IP Mode: Select Static to manually set the IP address using the fields below, or choose
DHCP to allow the AR to automatically acquire its network settings from a DHCP server.
IP Address: Enter a static IP address in dotted decimal format. This field will be
automatically set if using D HC P.
Subnet Mask: Enter the Subnet Mask in dotted decimal format. This field will be
automatically set if using D HC P.
Gateway: Enter the Gateway in dotted decimal format. This field will be automatically
set if using DHCP.
HTTP Port: Specify the port the web server will be accessed on. If the port is changed
from the default value of 80, the AR may be accessed by specifying the new port
number in this format: http://IPADDRESS:NEWPORT
http://192.168.1.254:8000 for an I P address of 192.16 8.1.254 on port 8000.
Telnet Port: Specify the port to use for telnet access (default 23).
DxP Port: S pecify the port to use for
DxP protocol (default 9100).
. Example: Navigate to
Page 15
SX-20NE-RT-AR User Manual
Page 14
VI. Web Server
AutoPing
The AutoPing feature allows the AR to automatically detect failed equipment and
perform a timed reboot or other power control function (like turning on an indicator or
siren). First specify one or two IP addresses to be periodically pinged. When the AR no
longer receives a response from these addresses, the programmed power control
function is actuated. AND or OR logic can be applied to the two addresses, so that both
(AND) or either (OR) must fail in order to trigger the selected action.
Examples:
Server monitor: AR is installed with the
device it monitors and automatically reboots if
there is no response. Ideal for Kiosks and
Servers.
Service monitor: AR is installed with the
device to be rebooted, but pings a remote
host to test the communication channel. Ideal
for DSL/Cable Modem verifi cati on.
AR monitors a network device, and powers
up an alarm or redundant system when there
is no response. Ideal for Hot Standby
Servers, Environmental Control, Alert for any
network failure.
(continued)
•IP Address 1 and 2: Enter the IP
address(e s) of the device(s) to be pinged.
•Frequency 1 and 2: Enter the desired ping frequency in seconds for the
device(s) to be pinged (1-999 seconds).
•Fail Count 1 and 2: Enter the number of times the ping must consecutively fail
(1-999) before th e selected action is triggered.
•Mode: Select the logic to be used (AND, OR, or Single). With AND logic, both
AutoPings must exceed their fail count to trigger the action. With OR logic, the
action will be triggered if either AutoPing exceeds its fail count. With Single, only
AutoPing 1 is used.
Page 16
SX-20NE-RT-AR User Manual
Page 15
VI. Web Server
None
AutoPing not used
Power On – Latch
Upon triggering, AR will power on and remain so until
changed via web, telnet, or DxP.
Power On – Follow
Upon triggering, AR will power on. When the ping
response r eturns, AR will power off.
Power Off – Latch
Upon triggering, AR will power off and remain so until
changed via web, telnet, or DxP.
Power Off – Follow
Upon triggering, AR will power off. When the ping
response r eturns, AR will power on.
Power Cycle
Upon triggering, AR will cycle the power. AR will then
wait for (Ping Frequency x Fail Count) seconds; if the
response does not return, the power will be cycled
again. This will repeatedly continue until the ping
oPing is turned off. Ensure that
onger than the time
required to reboot the device.
Power Cycle - Once
Upon triggering, AR will cycle power one time. It will
not cycle again automatically until the ping response
returns and is lost again.
•Action: Select the acti on to be triggered.
(continued)
response returns or Aut
the AutoPing frequency is l
Page 17
SX-20NE-RT-AR User Manual
Page 16
VI. Web Server
Schedule
The AR can sc hedule up to 8 recurring power events. For each event, you may define
the starting date and time, the action to be taken, and t he repetition interval (optional).
Important: A Network Time Ser ver (NTS) must be speci fied and enabled in order to
use the time scheduling feature. A list of public time servers is available at
http://www.ntp.org
(continued)
.
• Enable: Checking the Enabl e box enables the time scheduling feature.
• Time Server: Enter the IP address of the Network Time Server to be used.
• Time Zone: Specifies the local time zone relative to GMT. For example, the
setting for EST is -5.
• Date: Set the initial date for the event in mm/dd/y yyy format.
• Time: Set the initial time for the event in hh:mm:ss format. Hours are specified in
24 hour form at; for example, 8: 05:00 pm would be enter ed as 20:05:00.
• Repeat ( O ptional): Set the repetition interval. 0-999 Days, Hours, or Minutes.
• Action: Set the action to be sch eduled. On, Off, or Cycle.
• Clear : Deletes a schedule.
Page 18
SX-20NE-RT-AR User Manual
Page 17
VI. Web Server
Role
Username (fixed)
Password (user set)
Administrator
admin
admin
User
user
user
Passwords
Two passwords are used by the AR. The User password allows control of the AC output
state, but provides no access to Setup functions. The Administrator password allows full
control and s etup of the AR.
Passwords may be up to 20 characters long, and are case sensitive.
• Old Password: Enter the password currently in use.
• New Password: Enter the new password to be used.
• Confi rm Password: Enter the new password to be used again.
Default credentials:
(continued)
Page 19
SX-20NE-RT-AR User Manual
Page 18
VII. Command Line Interface (CLI) Protocol
Prompt
Description
User>
Prompts the user to enter the user name (either user or admin).
Password>
Prompts the user to enter the password.
Axess Ready>
Prompt di splayed while logged in.
Axess Ready Reboot Requir ed>
Prompt di splayed after changes have been made that require a reboot. This
prompt will remain active until the AR has been rebooted.
Command
Description
Admin
Fact Def
get outlet
Returns th e current status of the outlet.
No set outlet < on | off | cycle >
Sets the outlet to the selected state.
No
Command
Description
Admin
Fact Def
get location
Returns th e location ID.
Yes
Axess
Ready
set location < 20 character max >
Sets the location ID.
Yes
get cycle
Returns th e cycle time current ly in use in seconds.
Yes
10
set cycl e < 1-999 >
Sets the cycle time in seconds.
Yes
get upgrade enabl e
Returns th e upgrade enable status.
No
Disabled
set upgrade enable < yes | no >
Enables or disables the ability to upload new
firmware.
Yes
Logout
Terminat es the telnet session.
No
Reboot
Reboots the AR.
Yes
The Command Line Interface provides complete setup of all functions of the AR. The CLI may be accessed through the Telnet
protocol, and requires a Tel net client program. Some co m mands of the CLI require administrative rights; these are indicated in the
following tables.
Prompts
Control Commands
Device Com mands
Page 20
SX-20NE-RT-AR User Manual
Page 19
VII. Command Line Interface (CLI) Protocol
Command
Description
Admin
Fact Def
Network Commands
(continued)
get network Returns all network settings currently in use. Example:
set ipmode < static | dhcp > Sets the IP address mode. Static mode locks the IP
address as set; DHCP mode allows a DHCP server to
assign the address.
set ipaddress < dotted decimal > Sets the IP address. Yes 192.168.1.254
set subnet < dotted decimal > Sets the Subnet Mask. Yes 255.255.255.0
set gateway < dotted decimal > Sets the Gateway address. Yes 192.168.1.1
set http port < 0-65535 > Sets the port that the internal Web server listens for
incoming connections on. When set to 0 the web server is
disabled. May not be disabled when Telnet and DxP are
both disabled.
Yes
Yes Static
Yes 80
set telnet port < 0-65535 > Sets the port that the internal Telnet server listens for
set dxp port < 0-65535 > Sets the port that the internal DxP service listens for
set timeout < 0-999 > Sets the automatic network timeout in minutes. Yes 2
Yes 23
incoming connections on. When set to 0 the Telnet server
is disabled. May not be disabled when Web and DxP are
both disabled.
Yes 9100
incoming connections on. When set to 0 the DxP service
is disabled. May not be disabled when Web and Telnet
are both disabled.
Page 21
SX-20NE-RT-AR User Manual
Page 20
VII. Command Line Interface (CLI) Protocol
Command
Description
Admin
Fact Def
Sets the frequency (how often the ping is sent) for
Sets the number of consecutive failures the AutoPings
must detect before the AutoPing considers the pinged
g (AutoPing 1) or two AutoPing
Sets the action to be performed when the AutoPing is
Command
Description
Admin
Fact Def
AutoPing Commands
(continued)
get autoping Returns all AutoPing settings currently in use. Example:
AutoPing 1 AutoPing 2
IP Address: 10.1.2.36 0.0.0.0
Frequency: 60 10
Fail Count: 3 3
Status: OK OK
Trigger Count: 0 0
-------------------------------------Mode: Single
Action: On-Latch
Ok
set autoping < 1 | 2 > ipaddress < dotted decimal > Sets the IP address to be pinged for AutoPing 1 or 2. Yes 0.0.0.0
set autoping < 1 | 2 > frequency < 1-999 >
AutoPing 1 or 2 in seconds.
set autoping < 1 | 2 > failcount < 1-999 >
device to be failed.
set autoping mode < single | and | or > Sets single AutoPin
relationship AND or OR.
set autoping action < none | on-latch | on-follow | off-latch |
off-follow | cycle | cycle-once >
triggered.
Yes
Yes 10
Yes 3
Yes AND
Yes None
User Comm ands
set password < user | admin > < old > < new > < repeat > Sets the password of the User or Administrator. Yes user | admin
Page 22
SX-20NE-RT-AR User Manual
Page 21
VII. Command Line Interface (CLI) Protocol
Command
Description
Admin
Fact Def
Enables or disables the use of a time server and scheduled
8 > repeat < day | hour |
ted event.
Event Commands
(continued)
get events Returns all scheduled events currently in use. Ex ample:
Date Time Repe ats Action
1. 12/22/2011 14:00 every 2 Hour(s ) Cycle
2. every 0 Day(s) On
3. ever y 0 D ay(s) On
4. every 0 Day(s) On
5. every 0 Day(s) On
6. every 0 Day(s) On
7. every 0 Day(s) On
8. every 0 Day(s) On
Ok
get time Returns th e current time and time server. Example:
Current T ime: 10:14:1 7 12/20/2011
Server: 10.1.2.12
Ok
No
No
set time ser ver < dotted decimal > Sets the IP a ddress of a Network Time Server. Yes 64.90.182.55
set time enable < yes | no >
Yes No
events.
set event < 1-8 > date < mm/dd/yyyy > Sets the scheduled event’s starting date. Yes
set event < 1-8 > time < hh:mm:ss > Sets the time the scheduled e vent will occur in 24 hour format. Yes
set event < 1-
Sets the repetition interval type for the selected event. Yes
minute >
set event < 1-8 > mult < 0-999 > Sets the number of repetition intervals for the selec
For example, 20 days, 30 minutes, 24 hours, etc.
set event < 1-8 > action < on | off | cycle > Sets the action to be per formed at the scheduled time. Yes
del event < 1-8 > Deletes the scheduled event. Yes
Yes
Page 23
SX-20NE-RT-AR User Manual
Page 22
VIII. DxP Protocol
Client
Server
hello-000
→
← 1234
(seq 1234)
Command
(seq 1235)
→
← Response
Command
(seq 1237)
→
← Response
Overview
The DxP Protocol is a packet-based protocol designed to be extensible. This protocol is
transmitted over TCP on a user-defined port. The factory default DxP port is 9100.
The protocol uses a Hello handshake to establish unique sequence numbers to allow for
advanced security when AES encryption is used. W ith AES enabled, all messages must
be encrypt ed with the AES Passphr ase set in the device.
After the Hello, a Command and Response sequence follows. Any number of
Command → Response sequences are permitted aft er Hello.
Hello Handshake
The client sends a Hello message in the form of a text string ‘hello-000’. The DxP
enabled device will respond with a packet containing the unsigned 16 bit sequence
number. This sequence number is incremented by the client and server with each
correct packet sent.
Example:
Page 24
SX-20NE-RT-AR User Manual
Page 23
VIII. DxP Protocol
Variable
Description
command
Enumerated type that tell s the DxP server what class of command is bei ng
sent. See the C ommands subsect ion for a full li st of command classes.
uName
Reserved for future use. It will contain the user name of a user on the ipIO that
is being accessed.
password
Reserved for future use. It will contain the password of the user above.
desc
Command descriptor that describes the individual command wit hin a command
subsection for a full list of descriptors by comma nd class.
param
Reserved f or future use. Opti onal parameter that may be passed to the server
in addition to the descriptor.
seq
The packet’s sequence number. Used as part of the security scheme.
(continued)
DxP Packet
The packet is broken up into 2 parts: the Header and t he Payload.
Header
The header is used to carry general information, such as is shown in the C programming
class. By extension it lets the server know what the payload is. There is a
different set of descriptors for each command class; see the Descriptors
Payload
The payload is determined by a co m bination of the command class and the de scriptor. The
payloads are described wi th the descriptor; see the Descriptors subsection for details.
Page 25
SX-20NE-RT-AR User Manual
Page 24
VIII. DxP Protocol
Command
Description
0
eCmnd_null
This is a null command and should not be sent to the server.
1
eCmnd_set
This command is used to set programmable variables on the
server.
2
eCmnd_get
This command is used to get programmable variables from the
server.
3
eCmnd_io
This command is used to monitor and control the I /O on the server.
4
eCmnd_keepAlive
This command is sent to the ser ver as a means of allow ing the
client to validate the communications path to the ser ver.
5
eCmnd_rss
This command class is used to control the RSS nest using the
Note: Proj ect specific command. Not for general use.
6
eCmnd_rcu
This command class is used to update the display of the RCU.
Note: Proj ect specific command. Not for general use.
(continued)
Commands
There are currently 7 command classes. All classes are defined i n the C programming
enumerated t ype definiti on below:
typedef en um {
eCmnd_null,
eCmnd_set,
eCmnd_get,
eCmnd_io,
eCmnd_keepAlive,
eCmnd_rss,
eCmnd_rcu
} eCmnd;
RCU.
Descriptors
Descri ptors are used to describe the indivi dual command withi n a com m and class, and the
payload that the packet contains. All of the descriptors and their payloads are outlined by
command class below.
eCmnd_set
The descriptors for this command class will be pr oduct specific.
eCmnd_get
The descriptors for this command class will be pr oduct specific.
Page 26
SX-20NE-RT-AR User Manual
Page 25
VIII. DxP Protocol
Command
Description
Server Response
eIO_changeRelay
This command is used to change the status of an
see the Payloads subsecti on for details.
0 → Successful
eIO_changeRelays
This command is used to set all of the relays in a device.
subsection for details.
0 → Successful
eIO_getRelay
This command has not yet been implemented.
eIO_getRelays
This command is used to get the st atus of all the relays
Byte Array
of each relay.
eIO_getInput
This command has not yet been implemented.
eIO_getInputs
This command is used to get the st atus of all inputs on
Byte Array
of each input.
eIO_pulseRelay
This command is used to pulse a relay. It carries the
details.
0 → Successful
Command
Description
Server Response
eKeepAlive_null
This is the only valid descriptor that the keep alive
payload.
Where rel ay is the number of the relay to be affected – 1 ( For example, 0 for relay 1 and
1 for relay 2) and state sets the state of the relay (1=Energize; 2=Relax).
Where rel ayStates is an array of relay states as defined below:
#define NO_CHANGE 0
#define ENERGIZE 1
#define RELAX 2
This payload is supported by devices that support the DxP protocol with 2-32
controllable relays.
TPulseRelay
typedef struct{
unsigned char relay; //the relay to be pulsed
unsigned char state; //the stat e to pulse
uint16 pulseWidth; //the pulse width in seconds
}TPulseRelay;
Where rel ay is the number of the relay to be affected, state is the state to pulse, and
pulseWidt h is the time to pulse in seconds.
(continued)
Page 28
SX-20NE-RT-AR User Manual
Page 27
X. Firmware Upgrades
XI. Reset Button
Action
Result
Momentary
Soft Reset. Will not affect outl et st ate.
5 Second Push
Reset to Factory Defaults. Hold until the “System On” LED is blinking,
then release.
Hold while
powering up
Recovery Mode. Allows upload of new firmware to Factory Default IP
address of 1 92.168.1.254.
The AR can be upgraded via the network if the upgrade feature has been enabled. To perform a
field upgrade, follow the steps below.
Important: Upgrading the firmware with a minor upgrade (For example, 1.01.xx to 1.01.yy) will
not alter the user defined settings. Major upgrades may or may not reset the AR to factory
defaults. Check the release notes for the upgrade before making any changes.
1. Download the latest firmware version and Device Management Utility (DMU) from the
SurgeX website: http://www.surgex.com
2. Enable the upgrade feature. Use the CLI set upgrade enable yes command via telnet,
or check the “Upgrade Enable” box on the Device web page.
3. Run the DMU. If the AR y ou would like to upgrade is not visible in the list box, either:
• Select D evice | Discover fr om the menu to locat e the ARs on the local network.
• Select D evice | Add from the me nu to manually add the AR by IP address.
Once the devi ce is displayed i n the list, highlight it.
4. Select Manage | Upgrade Firmware.
Enter User Name admin and the pas sword for the Admi nistrator.
Enter the filename of the new firmware, or click Browse and navigate to the firmware file
to be used. AR firmware files use the file extension .g2u. If no files of that type are
displayed, ensure that the “Files of Type” box is set for SX-iPD or All Files.
Click OK when all details are ent ered.
5. The upload will begin, and a progress bar will be displayed.
6. When the firmware upload is complete, the AR will automatically reboot and will be
ready for use.
The recessed reset pushbutton located on the right side next to the Axess On LED performs 3
functions as detailed bel ow :
.
Page 29
SX-20NE-RT-AR User Manual
Page 28
XI. Specifications
Physical
Model
Width
Depth
Height
Weight
SX-20NE-RT-AR
12.0”
4.0”
12.0”
14 lb.
Temperature
5 - 35° C
Humidity Range
5% to 95% R.H., non-condensing
AC
Load Rati ng
20 Amps @ 120 Volts (2400W)
Power Requirement (no load)
20 Watts
UL 1449 Adjunct Classifi cation Test
Results
1000 surges, 6000 Volts, 3000 A m ps,B3 pulse,
measured suppr es sed voltage 170 Volt s, no failures
Maximum Ap plied Surge Pulse Joule
Rating
Unlimi ted, due to current limiting (8 x 20 µs)
Maximum Ap plied Surge Pulse
Voltage
6000 volt s (1.2 x 50 µs pulse),industry standard rat ing
Maximum Ap plied Surge Pulse
Current
Unlimi ted, due to current limiting (8 x 20 µs)*
Endurance