JDS Uniphase RS-232 User Manual

Web Xpander
Installation and Operation
Manual
12200 Thatcher Court, Poway, CA 92064
TEL 858-486-8787 FAX 858-486-8789
www.jdstechnologies.com
Document Rev 1.4
February 2004
12VDC Power Input
Web Xpander
Programming Connector
Reset Button
RS-232 Input from PC
Ethernet port to Network Router
RS-232 Output to Controller (Stargate)
-
Welcome to Web Xpander
Web Xpander is a serial (RS-232) to ethernet module with embedded web pages that allow monitoring and control of STARGATE via the internet and/or local area network (for downloading schedules see Appendix E). Web Xpander can also be used with STARGATE-Lite, TimeCommander-Plus, TimeCommander, CommStar and HomeBase controllers.
What’s Included
One Web Xpander circuit board
One short modular data cable
One each Red/Black power wires
Two M/F standoffs (circuit board support posts)
Two F/F standoffs (circuit board support posts)
Four screws
One CDROM with support documentation and software
What You Need
STARGATE, WinEVM and modular data cable
Home network – see “Network Connection” below
Windows 95 or newer operating system (95/98/ME/NT/2000/XP)
Web Browser – Microsoft Internet Explorer 5.0 or greater
Installing the Web Xpander
The Web Xpander is designed to attach directly to STARGATE’s Telephone/Voice Board or to the main motherboard (STARGATE-Lite).
1. Unplug the STARGATE power transformer from the AC outlet
2. If you are using a 12V backup battery, disconnect the battery from the STARGATE
“BATTERY +12V” and “BATTERY GND” terminals.
Mounting to STARGATE’s Telephone/Voice Board 3a. Remove the two screws from the Telephone/Voice board at the end nearest the phone
jacks. Using the supplied two standoffs that have screw holes on the top and exposed threads on the bottom, attach the standoffs to the Telephone/Voice board as shown in the photo. (Continue with step 4)
Mounting to STARGATE-Lite (no Telephone/Voice Board) 3b. Using the supplied two standoffs that have screw holes on both sides, and two of the
supplied screws, attach the standoffs to the STARGATE main circuit board in the two holes just behind the row of serial ports as shown in the photo.
4. Place the Web Xpander on top of the standoffs with the network and serial jacks
facing the same direction as the STARGATE jacks and attach with two screws as shown in the photo.
5. Connect the supplied red and black pair of wires from the “Aux 12V” terminals to the
corresponding terminals on the Web Xpander board. Use the red wire for +12 and the black wire for ground.
6. Remove the data cable from the STARGATE jack labeled COM1 (the other end is
connected to your PC/WinEVM) and plug this end into the jack on the Web Xpander labeled “PC”.
7. Plug one end of the short black data cable into the STARGATE jack labeled COM1
8. Plug the other end of the short black data cable into the black telephone type jack on
the Web Xpander labeled “Controller”.
8. If you are using a 12V backup battery, re-connect the battery to the STARGATE
9. Plug the STARGATE power transformer into an AC outlet
Network Connection
The Web Xpander can be connected to a network in many ways. The most common methods are:
Direct connection to a single PC using a cross-over cable
Connection to a network hub which is connected to one or more PCs
Connection to a Cable/DSL Router which provides internet access to both the Web
Xpander and PCs on the local network (Ideal Configuration).
1. Direct Connection to a Single PC
This method is applicable in situations where you simply want to communicate with the Web Xpander from a web browser on a local PC. To connect to the Web Xpander in this manner you will need a crossover network cable. This cable is very similar in function to a null-modem cable used when connecting two PCs together using their serial ports. A standard ethernet network cable is wired differently and will not work in this configuration.
2. Connection to a Network Hub
This method is common in both large and small networked environments. Connect the Web Xpander to the hub using a standard RJ-45 network cable. Connect any other computers to the hub, also using standard network cables. The Web Xpander will be accessible (once configured) by other computers connected via the hub.
3. Connection to a Cable/DSL Router
This is the most ideal situation in that it allows you to access your STARGATE via the Web Xpander from your home network as well as anywhere on the internet once you’ve configured both the Web Xpander and your router. In most cases, the router will also act as a DHCP server and provide the initial network settings for the Web Xpander.
Network Configuration
Every device on a TCP/IP network must have a unique IP address. IP addresses are always numeric and in the format xxx.xxx.xxx.xxx. The default Web Xpander IP address is “192.168.0.5” (if no DHCP server was found). Most home cable/dsl routers default to “192.168.0.1” for the router and dynamically assign addresses (using DHCP) to PCs starting from “192.168.0.100”.
When you first power up the Web Xpander (and after either a power loss or by pressing the small reset button) it will attempt to retrieve its network settings using DHCP unless you have disabled this feature.
DHCP stands for Dynamic Host Configuration Protocol. The principle is that a device that knows nothing about its own network settings sends out a broadcast saying, in effect, tell me what to do. The DHCP server is listening for these broadcasts, and responds with information containing the settings that device should have. Typically the information returned contains IP address, netmask, gateway and DNS settings. Most home Cable/DSL routers support DHCP “out of the box.”
After you’ve connected the Web Xpander and applied power to the STARGATE, run WinEVM on your PC. After WinEVM starts, click the MegaController button. A properly functioning MegaController dialog indicates that the data cables are correctly installed between the PC and the Web Xpander, and between the Web Xpander and the controller.
Viewing Current Network Settings
You can use the “:netinfo=” command to view the current network settings of the Web Xpander using WinEVM. From the MegaController screen, click ASCII and send the command “:netinfo=” (no quotes) out of the controller to COM1. The network settings should appear in the MegaController log window.
If your PC and Web Xpander are connected through a Cable/DSL router and your PC and router are already configured to use addresses in the range displayed, open a web browser and type “http://” followed by the IP Address displayed. (example: http://192.168.0.5) in the address bar and press Enter. If everything is configured properly, you should be prompted for a username and password to access the Web Xpander. The default username and password are both “webx”.
If your Web Xpander is connected using network configurations 1 or 2 (above) you may need to manually set the IP address of the PC or the Web Xpander.
Manually Configuring Web Xpander Network Settings
You can send commands to the Web Xpander via the STARGATE by using the “ASCII” button on the MegaController in WinEVM.
1. Start WinEVM
2. Click the MegaController icon
3. Click the ASCII button
4. Select “Out of Controller” and “Com1”
5. Type one or more of the following network configuration commands to configure
your Web Xpander to function on your network
Note: Once you can access the Web Xpander via the web (Internet Explorer) all of these settings are accessible from the “Settings” button.
A full listing of Web Xpander commands is available in Appendix A
Click “Send” to issue ASCII data. Click “OK” to close.
“Send ASCII” dialog accessed by clicking ASCII from
the WinEVM MegaController
Command Description Example
:ipaddr= :ipmask= :ipgate= :dns= :dhcp= :smtp=
:user=
:pass=
:webport=
Sets the IP Address Sets the Netmask Sets the Gateway Address Sets the DNS Address Enabled/Disables DHCP Sets the outgoing (SMTP) mail server name Sets the user name required for access Sets the password required for access Sets the port (default = 80) for the web server
:ipaddr=192.168.0.20 :ipmask=255.255.255.0 :ipgate=192.168.0.1 :dns=192.168.0.1 :dhcp=1 or :dhcp=0 :smtp=smtp.comcast.net
:user=myname
:pass=mypass
:webport=80
:telnet=
:reset= :factory=
:netinfo=
The Web Xpander must be reset (either with the :reset= command or by pressing the reset button on the Web Xpander circuit board) for these changes to take effect.
Sets the port (default = 23) for telnet (Ethernet to Serial) Resets the Web Xpander Sets network values to factory presets (must be followed by :reset=)
Displays network settings
:telnet=23
:reset= :factory=
:netinfo=
Web Pages
When you access the Web Xpander with a web browser (Internet Explorer 5.0 or greater recommended) you’ll see the main menu. The main menu consists of 16 buttons grouped in to four functional areas. Clicking on each button will display a web page particular to the button selected.
LIGHTING
Single click “On”, “Off” or “Idle” to change status. Click device Name then select Set Level or Preset Level to adjust brightness.
A/V
SECURITY
Select Output then single click on the Name to send IR command.
Select security Command and Partition or Zone then click “Send Command.”
HVAC
X10
Type in or click Inc/Dec to adjust Set Temperature then click “Set” to apply.
DIGITAL
g
ANALOG
RELAY
FLAG
Single click “On” or “Off” to change the status of a relay.
VARIABLE
Single click “Set”, “Clear” or “Idle” to change status of a flag.
Type in or click Inc/Dec to adjust variable value then click “Load” to apply.
Green “Clear” button indicates a value of zero. Red “Load” button indicates a value
reater than zero.
TIMER
ASCII
HISTORY
Click “Send” to issue ASCII data.
Loading...
+ 23 hidden pages