GRouter4 Single Port 709.1 /852 LON/IP Router User Guide 4.12 2011/03/19 Document Revision 4.14.1...
Page 2
is document, the associated soware, and the associated online documentation are the property of Adept Systems, Inc. and are loaned to the user under the terms of the End User License Agreement. No title to or ownership of the soware described in this document or any of its parts is transferred to customers.
Table of Contents ....................Overview 1.1. Introduction ...................7 1.2. Con guration Parameters ..............9 1.3. Modes of Operation ................10 1.3.1. Manual Mode..................10 1.3.2. Normal Mode .................10 1.4. Applications of the GRouter Device............10 1.4.1. Multi-site building automation networks........10 1.4.2. IP backbones for LON traffic aggregation ........11 1.4.3.
Page 4
2.10. Channel List Page.................43 2.10.1. Normal Mode Channel List Page ..........43 2.10.2. Manual Mode Channel List Page ..........45 2.11. Device Detail Page................47 2.12. Diagnostics Page...................49 2.13. DDNS Setup Page.................51 2.14. Contacts Page ..................52 ..................Optional Features 3.1. 852 to 852 Bridging Router Mode ............53 3.2.
Page 5
List Of Figures Figure 1.1: Network Layers....................8 Figure 1.2: Network Connector Types and Associated Layers ...........8 Figure 1.3: CN to IP Router/Gateway Architecture ............9 Figure 1.4: GRouter 3 Architecture..................9 Figure 1.5: Multi-site building automation network with internet connectivity ....11 Figure 1.6: Example Hybrid Network ................11 Figure 1.7: Example WiFi Ad Hoc Network ..............12 Figure 1.8: Unicast ......................13 Figure 1.9: Multicast ......................13...
Page 6
Figure 2.25: Dynamic DNS Con guration Page...............51 Figure 2.26: Contacts Page ....................52 Figure 3.1: 852 Bridging Router Architecture..............53 Figure 3.2: Bridging Router Mode Setup Page ..............54 Figure 3.3: Bridging Router Mode Setup Page ..............56 Figure 3.4: Side A Channel List Page in Manual Mode ............57 Figure 3.5: Channel List Page in Manual Mode ..............58 Figure 3.6: Two redundant routers between the same channels ........59 Figure 3.7: Redundant Twin Mode Application..............60...
1. Overview 1.1. Introduction e GRouter (GR4) router supports two open standard protocols, namely ANSI/EIA 709.1 and ANSI/EIA 852. Both the ANSI/EIA 709.1 and ANSI/EIA 852 are de ned by the Consumer Electronics Association Technology & Standards R7.1 HCS1 Subcommittee. For more details see .
Page 8
Fig.1.1: Network Layers A network connector is a device that joins different parts of a network. Connectors have a speci c name that is dependent on the layer at which the connector operates. For example a router operates at the network layer and a gateway at the application layer. Because higher layers of the protocol do not have access to some of the information stripped away by lower layers, network connectors operating at different layers have different capabilities.
Fig.1.3: CN to IP Router/Gateway Architecture e GRouter device also employs a web server for con guration purposes. (See Figure 2.4) Fig.1.4: GRouter 3 Architecture 1.2. Con guration Parameters e information required for successful ANSI/EIA 709.1 transport can be broken up into the following two categories: device parameters and channel parameters.
A channel, then, is de ned as a group of routers that all send information to each other. e lines of communication are open in both directions and to all members—a complete mesh of connections. Typically, channels are managed through the use of a con guration server (called Normal mode see below).
support to ANSI/EIA 709.1 networks. is allows multi-building or multi-site connection of automation networks. Internet Fig.1.5: Multi-site building automation network with internet connectivity 1.4.2. IP backbones for LON traffic aggregation Furthermore, since the IP networks can support much higher traffic capacity, GRouter devices can also be used to aggregate 709.1 traffic from several LON channels over one IP channel.
Remote Node Node Monitoring Configuration 78 kbps LON Internet Optional WiFi to Ethernet Bridge Ad Hoc 802.11b WiFi Channel LON/WiFi Routers 78 kbps LON 78 kbps LON Node Node Node Node Fig.1.7: Example WiFi Ad Hoc Network 1.4.3. Roaming Connections Finally, LON to IP gateways may be connected to specialized IP applications instead of to other gateways.
Page 13
Multicast is not a concern when all the 852 devices share the same subnet. e following gures illustrate the differences between multicast and unicast. Destination Unit-Cast Packet IP Network Destination Internet Unit-Cast Unit-Cast Unit-Cast Packet Packet Packet Destination Source Destination ANSI 852 709.1/IP ANSI 852 709.1/IP Gateway/Router...
To con gure the GRouter device, you will need a web browser such as Internet Explorer, Mozilla, Safari, or Firefox. e GRouter device will communicate with any of the following: • Adept Systems Inc. GRouter4, GRouter3, or GadgetGatewayIa (GG1a) 852 router • Echelon i.LON router or LNS VNI based tool such as LonMaker .
1.6.2. Button, Indicators, and Connectors for GRouter Index Description 1 Ethernet 10/100 Base-T Port. RJ-45 Cat-5. 2 Power LED lights when unit powered. 3 Service LED ashes when a service message sent. 4 TX LED ashes to indicate send traffic on the LON Port. 5 RX LED ashes to indicate receive traffic on the LON Port.
1.6.3. Wiring e standard con guration for the GRouter4 has a 4 pin 5.0 mm spaced screw terminal block. e pins from top to bottom are labeled A, B, (logic ground), and 5VDC. To use the terminal block unscrew the terminal screws on the block and insert the ends of the appropriate wires into each opening.
2. Web Con guration e Web-based GRouter device interface allows the user to access and change con guration data on the GRouter device by using any http Web browser attached to the network. is allows users to make changes to the GRouter device remotely. is chapter familiarizes the user with the various pages of the Web-based Interface and describes the steps necessary to changing con guration data.
Cat5 CrossOver Cable Fig.2.2: Ethernet with direct connect crossover cable 2.1.2. WiFi (802.11b) For WiFi equipped GRouter devices, an 802.11b WiFi access point or ad hoc connection must be setup between the web browser host computer and the GRouter device. First con gure the host computer to add an IP interface on subnet 10.0.2.0/255.
Page 19
Ethernet Ad Hoc Bridge Fig.2.4: WiFi setup with ad hoc bridge and Ethernet connection to host computer Fig.2.5: WiFi setup with ad hoc WiFi card on PC Access Point Fig.2.6: WiFi setup with access point and WiFi card on PC -19-...
2.1.3. WiFi Setup in Windows XP • Go to the network connections control panel. Right click wireless connection and select properties. • Select the general tab. Set the IP address to one that is in the same subnet as the GRouter’s default IP of 10.0.2.40 with a subnet mask of 255.255.255.0.
2.2. Establishing a Connection (Ethernet or WiFi) Once the IP connection (WiFi or Ethernet) is setup, power up the GRouter device. It takes about 60 seconds for the GRouter device to boot up. On an Ethernet device Boot-up is completed when the yellow link light ashes off...
appropriate page. e button corresponding to the page that is currently displayed will be highlighted in pink. Each of the pages in the web based Con guration Tool will be explained in the following sections. Fig.2.7: User Name and Password Authentication Once communications have been established, new IP or WiFi parameters may be entered.
induced by the changes is not interrupted by the power down. Interrupting a ash write could corrupt the ash and make the unit inoperable. Once the router starts rebooting, on the Ethernet version, the yellow link and green traffic LEDs will go on solid while it loads its rmware, on the WiFi version the yellow and green LEDs will go off.
similar button. e other type require the router to be rebooted before taking effect. e parameters that require a reboot are marked with a green asterisk. Submit changes will rst store the parameters in RAM and then later, in the background, a copy (actually two copies) will be stored in ash.
Page 26
Fig.2.9: Status Page with Bridge and Twin Mode Enabled -26-...
Page 27
NAME: e given name of the router. FIRMWARE VERSION: e version of the rmware currently loaded on the router. is is the router application code. BOOTLOADER VERSION: e version of the bootloader currently loaded on the router. e bootloader is responsible for loading the application code into memory and starting it running. Beginning with rmware 4.12 the bootloader is upgradeable and has a version number.
Page 28
Enable Bridge Mode Key: Enter in this eld the 16 character key to unlock the Bridging Router Mode feature. Click the Update Keys button. e feature should be immediately available and the enhanced feature list at the bottom of the page should then include Bridging Router Mode. Update Keys: is button processes the the enhanced feature keys elds and activates the associated features.
2.6. Router Setup Page e Router Basic Setup Page is used to set up basic con guration properties of the router. Following is a brief description of each item listed on the page, as well as instructions on how to set or change items.
Page 30
• Manual Mode: Use manual mode when precise control over the Channel List is desired. In manual mode the user is responsible for the con guration of the Channel List. • Normal Mode: Use normal mode when the router is being con gured by a remote con guration server.
Page 31
e GRouter device’s LAN address must also be static and the 852 port must be mapped by the NAT router. NAT Router Support: ese radio buttons allow the user to set or enable or disable NAT router support. When enabled the node substitutes the NAT Router WAN Address as the source address in appropriate packet headers so that other 852 nodes can respond through the NAT Router.
Page 32
added to a channel or their routing data is changed. is may be helpful for low bandwidth 852 channels. Select the new value and click the Submit Changes button. Serial Transaction Interval: is eld sets the time interval between successive con guration transactions when Serial Transaction Mode is enabled.
Page 33
Clear Router Con g: is button clears all router con guration information, such as routing tables, back to factory defaults. It does not affect the web or IP address or interface. is is useful when moving the router to a different 852 channel or con guration and a known starting con guration is desirable.
Fig.2.14: Reboot Page Once rebooting has completed reenter http://10.0.2.40 or whatever the IP address of the router is to go back to the Status page. 2.6.2. Manual Mode Router Setup When in manual mode the router setup page is the same as the Normal mode except that the compatibility mode, con guration server IP address, and, port elds are not displayed.
2.7. IP Setup Page e IP Setup Page displays status additional information about the Gateway's IP setup not included in the Router Setup page. Following is a brief description of each item listed on the page, as well as instructions on how to set or change items. All the parameters on this page require a reboot before taking effect.
Page 36
port 80 may be in use by another device. e device must be restarted before changes to the web- server port will be activated. To change the value, type in the new value and click the Submit Changes button and then click the Reboot button. A typical alternate web server port is 8080. To access the web server on any port other than 80, use the following format in the web browser: http://IP Address:Port for example...
2.8. WiFi Setup Page For GRouter devices equipped with WiFi IP interfaces the WiFi setup button will appear and will display the WiFi setup page. MODE: is displays the WiFi channel access mode of the router. To change the WiFi mode, select the the desired mode in the popup menu and then click the Submit Changes button.
Page 38
• Ad hoc (join or create): Use this mode for creating an ad hoc network if one does not exist or joining one that already exists with the chosen SSID • Ad hoc (join only): Use this mode for joining an existing ad hoc network SSID: To change the SSID of the WiFi channel, type the new value into the eld provided and click the Submit Changes button.
2.9. 709 Setup Page e 709 Setup Page is used to set up the 709.1 protocol speci c properties of the router. is information includes the subnet address, node address, domain address, node ID and node state numbers for both sides of the router and the twin mode monitoring application (when enabled) as well as the subnet and group forwarding tables.
parameters not be changed manually. However, the Interface Menu does allow users to change the interface parameters manually, if desired. Not all node parameters are editable from this interface (for example group membership) and consequently a node may not be fully con gured. is capability is provided for debugging or other special circumstances where a network management tool is not available and minimal functionality is needed.
Page 41
When the Side A interface is shown, the Side A table is used to determine if packets received on the Side A should be forwarded across and transmitted out the Side B . Likewise when the Side B interface is shown, the Side B Table is used to determine if packets received on Side B should be forwarded across and transmitted out Side A.
2.10. Channel List Page In Normal mode the Channel Membership List is controlled by the con guration server. Whereas in Manual mode the Channel Membership List must be con gured manually. is page allows the user to add and delete the devices from the 852 channel when in Manual mode. Following is a brief description of each item listed on the page, as well as instructions on how to set or change items.
Page 44
Fig.2.21: Channel List Page with Multiple Members Channel Date Time: is is the 852 DateTime when the Channel Membership List was last changed. is is a read only eld for debugging purposes. In Normal mode, this value is governed by the con guration server. Channel Time Out: is is the 852 Channel Time Out.
Escrow Time: is value determines the time during which 852 IP CN Data packets are escrowed waiting for out of order packets to show up. is only occurs when Packet Escrow is enabled. Packet Aggregation: ese radio buttons enable or disable Packet Aggregation mode. Packet aggregation can be used to reduce the number of 852 IP packets sent to a given device by aggregating multiple 852 IP CN Data packets into one big 852 IP packet.
Page 46
Fig.2.22: Channel List Page in Manual Mode Channel Address Mode: Is either Unicast or Multicast. Multicast is only supported in manual mode. Select the desired mode from the popup menu and click Submit Changes. Multicast IP Addr: is is the multicast IP address of the router. is is used when the channel in in Multicast mode.
Membership List Send: is button sends a copy of the this device's membership list to all the other devices in the list. When in manual mode a device will accept a membership list from any device already in its own list. Together with the Membership List Send button, this enables easy con guration of large manual mode channels without the overhead of a con guration server.
Page 48
IP Port: e current IP Port number on which the device is communicating. Multicast Address: e address that the device uses if it is set to multicast addressing. Channel Name: e name of the channel to which the device belongs. IP Support: e protocols supported by this device.
2.12. Diagnostics Page e Diagnostics Page provides statistics about the performance of the router. is page is helpful in debugging con guration as it can show that packets are being forwarded across the router.. Following is a brief description of each item listed on the page, as well as instructions on how to set or change items.
Page 50
however, both Side A and Side B are IP channels. In Bridging mode this provides the number of devices in the Side A channel only. Forward Rate (PPS): is is the average number of packets per second forwarded by the router since the statistics were cleared.
2.13. DDNS Setup Page e DDNS Setup Page allows the con guration of DDNS capability. is page only appears when in manual mode. Following is a brief description of each item listed on the page. Fig.2.25: Dynamic DNS Con guration Page DDNS Name: e is the domain name for the associated NAT router that includes DDNS support.
3. Optional Features 3.1. 852 to 852 Bridging Router Mode In order to better support large installations with dozens of IP to LON routers a GRouter device can be con gured in 852 to 852 bridging router mode. Its an IP 852 bridge and a 709.1 LON Routers.
Page 54
Fig.3.2: Bridging Router Mode Setup Page Side A Mode: ese radio buttons determine the operational mode for Side A, either Manual or Normal. To change select the appropriate radio button and click the Submit Changes button. Side A Data IP Port: is eld appears when the router is in 852 bridge mode. It allows the user to set or change the Side A unicast IP port of the router.
Page 55
Side A Serial Transaction Mode: ese radio buttons allow the user to enable or disable Serial Transaction Mode for Side A. When enabled the Router will send out 852 con guration updates serially in a round robin fashion to the other 852 devices on the channel instead of in parallel. is means that an update transaction has to complete or time-out with one device before a new transaction is started with the next device.
Register With Con g Server: is button sends an 852 registration request to the appropriate con g server for Side A and separately to the con g server for Side B when either/both Side A and Side B are in normal mode. is will usually add the device to the con g server’s list of managed devices.
Page 57
Fig.3.4: Side A Channel List Page in Manual Mode -57-...
Page 58
Fig.3.5: Channel List Page in Manual Mode Side: is pop up eld selects which Side to display. To change sides select the desired side and then click the Change Side button. Change Side: is button changes the Side displayed to the side speci ed by the Side eld. -58-...
3.3. Redundant Twin Mode e Twin Redundant Mode enables two GRouter devices to operate as a redundant pair for high availability applications without generating duplicate traffic. is enhanced capability increases reliability and eliminates some single mode failure sources. A simple diagram showing a redundant connection between two channels is shown below.
Page 60
Ethernet Ethernet Router Redundant Twin Router IP/LON Routers IP/LON FTT-10 FTT-10 FTT-10 Channel Ring Ethernet Ethernet Router Redundant Twin Router IP/LON Routers IP/LON FTT-10 FTT-10 FTT-10 Channel Ring Network Management Tool & 852 Configuration Server 852 Interface Ethernet 852 Channel B Ethernet 852 Channel A Ethernet Fully Switched...
3.3.1. De nitions For the purpose of clarifying the descriptions the following de nitions are used: Failure: A failure is detected whenever a heart beat times out without receiving a monitoring packet from both interfaces. Only the active node sends monitoring packets. e inactive node passively listens for the monitoring packets.
comm_failure is set to 1 when there is either a monitoring failure or a diagnostic detects a fault. is not set to 0 until all failures and faults have cleared. comm_failure is set based on the system state. See the following table. reserved2 Bit values for reserve2 status byte (big endian) Value...
Status is an 8 bit number. e bit de nitions are given in Table 1. It is the same information reported in the Status SNVT reserved eld. is the total number of active state arbitrations since the last time the statistics were totalArbs cleared.
Page 64
Fig.3.8: Twin Mode Setup Page HeartBeat Time: is sets the time period in milliseconds between cycles of the twin mode monitoring packets. e active member of the redundant pair or active twin, sends out two round trip monitoring packets during each HeartBeat period that test both the 709.1 and IP interfaces of both routers.
Page 65
collisions. e odds of lost packets due to collisions decrease signi cantly for retry counts above Four. Initial Arbitration Count: e arbitration count is a 64 bit number. e redundant twins use an arbitration count encapsulated in the monitoring packets to determine which member of the pair should be active.
Page 66
Twin IP side Subnet/Node: is eld displays the subnet/node address of the twin’s IP side 709.1 stack. Twin LON CN side Subnet/Node: is eld displays the subnet/node address of the twin’s LON component network side 709.1 stack. Twin Mode ON/OFF: ese radio buttons turn twin mode on or off. Trigger Twin App Service Pin: is button propagates a service pin message from the twin mode monitoring application.
3.5. Twin Mode Status Page e Twin Mode Status Page displays operational state and statistics information about the Redundant Twin Mode operation. Twin mode is an optional enhancement and is not activated in a standard router. If your device does not support Redundant Twin Mode contact Adept to nd out how it might be activated.
Page 68
Total Failures IP: is eld indicates the total number of monitoring failures of the IP interface since the statistics were last cleared. Total Failures LON: is eld indicates the total number of monitoring failures of the LON interface since the statistics were last cleared. Total Faults IP: is eld indicates the total number of diagnostic faults of the IP interface since the statistics were last cleared.
4. Network Integration and Management 4.1. Manual Mode Example Con guring in Manual Mode is section contains step-by-step instructions on con guring two GRouter devices to tunnel 709.1 packets over IP between each other. is will create an IP backbone for a 709.1 network. •...
Fig.4.1: Con guration Server Screen • Verify that the GRouter device is con gured correctly by checking the Channel List Page on the router. If con gured correctly, the router will have an entry in its Channel List for each router shown in the con guration server’s channel list.
“Commission Members” option. Aer a few seconds, both the LonMaker PC and the GRouter devices will turn green. • You will now be able to install and commission the GRouter devices as 709.1 routers in the LonMaker network diagram. 4.4. Commissioning GRouter Device With LonMaker ere are two ways that a network management tool such as LonMaker can communicate with and commission a GRouter device.
Fig.4.4: Service Pin Dialog Fig.4.5: Fully Commissioned Router 4.5. NAT Router Example is section contains step-by-step instructions on how to set up a GadgetGateway router for operation on the LAN side of a NAT router. e NAT support mode enables a GRouter device to operate on the LAN side of a NAT (Network Address Translation) router.
Internet DSL/Cable Modem LAN to WAN Router Static or Dynamic Public IP Address NAT Port Map DDNS Client 10/100 Ethernet LAN 10/100 Ethernet LAN LON/IP Router Private Static IP Address NAT Port Mapped Network Network Network Node Node Node Node Managment Fig.4.6: NAT LAN to WAN Architecture •...
DDNS domain name for the NAT-DDNS router, you must go to and register for dyndns.org one. • Verify DDNS is working by doing a manual look up the IP address using either the web or serial interface. e router’s DDNS IP address should show up in the DDNS IP Address eld. •...
Page 76
• On router A’s Twin Mode Setup Page, enable Twin Mode by selecting the associated ON radio button. e routers will now act as a redundant pair. • Go to the Twin Status Page to observe operational state and failure statistics. •...
Page 77
Fig.4.8: LonMaker New Device Channel Dialog Fig.4.9: LonMaker Drawing With Commissioned Monitoring Device -77-...
Fig.4.12: Functional Block On Drawing 4.8. Con guring with the Coactive Router-LL 4.8.1. Manual Mode is section contains step-by-step instructions on con guring a Coactive Router-LL and a GRouter device in manual mode to tunnel 709.1 packets between each other over IP. •...
4.8.2. Normal Mode With Router-LL Con guration Server • Using the web con guration pages, set up IP address(es), subnet mask(s), and IP gateway address(es) for the router(s). Connect the router(s) to the same IP network. Using a PC attached to the network, verify that the routers can be pinged. Consult with the network administrator to procure the IP address, subnet mask, and gateway address, if not already known.
is is especially true for long wire runs or noisy environments. Typically an external terminator is used. e GRouter4, however, does have an optional internal terminator for those applications where it is desirable or convenient to terminate at the router. When the optional internal terminator is installed, a jumper on header JP1 is used to con gure the type of termination.
ere are different versions of both application rmware and bootloaders for the Ethernet and WiFi versions of the GRouter4. is is also re ected in the le names. e Ethernet versions have "eth" in the lename and the WiFi versions have "wi " in the lename.
Page 83
written to ash then update quickly when a new chunk is downloaded. If a rewall is running on the PC it may prevent FTP from working. It may make the connection but nothing will download. If this happens there will be no hash marks printed. In this event turn off the rewall. -83-...
6.1. Upgrading Application Firmware Example An example p session is shown below: e Application rmware is upgraded using image.bin. Transfer must always be in binary mode set by the bin command. Not using binary mode will corrupt the rmware and make the unit unusable.
Page 85
For wi the example is as follows: >ftp 10.0.2.42 Connected to 10.0.2.42. 220 NET+OS 6.3 FTP server ready. User (10.0.2.42:(none)): GRouter 230 User GRouter logged in. ftp> bin 200 Type set to I. ftp> hash Hash mark printing On ftp: (2048 bytes/hash mark) . ftp>...
6.2. Upgrading Bootloader Example An example p session is shown below: e Bootloader is upgraded using rom.bin. Transfer must always be in binary mode set by the bin command. Not using binary mode will corrupt the rmware and make the unit unusable. Notice the syntax of the p put command.
Page 87
For wi the example is as follows: >ftp 10.0.2.42 Connected to 10.0.2.42. 220 NET+OS 6.3 FTP server ready. User (10.0.2.42:(none)): GRouter 230 User GRouter logged in. ftp> bin 200 Type set to I. ftp> hash Hash mark printing On ftp: (2048 bytes/hash mark) . ftp>...