background image

Telegesis™ 

TG-PM-510 ZigBee Communications 
Gateway 

ZigBee Communications 
Gateway 

Product Manual 0510r6 

©2016 Silicon Labs 

ZigBee Communications Gateway  

Telegesis ZigBee Communications Gatew ay 

Product Manual 

Rev: 4 

Date: April 2014 

Telegesis™ is a trademark of Silicon Laboratories Inc. 

Summary of Contents for Telegesis GW357

Page 1: ...ns Gateway ZigBee Communications Gateway Product Manual 0510r6 2016 Silicon Labs ZigBee Communications Gateway Telegesis ZigBee Communications Gateway Product Manual Rev 4 Date April 2014 Telegesis is a trademark of Silicon Laboratories Inc ...

Page 2: ... 10 4 4 LED Indicators 11 4 5 Buttons Actions 12 Restore factory defaults 12 Gateway reboot 12 Gateway recovery mode 12 Issue ZigBee command 12 5 FUNCTIONALITY 13 5 1 Start up 13 5 2 Gateway Discovery 13 Discovery on a windows 7 PC 13 Discovery on other platforms 14 5 3 Gateway Webserver 15 Authentication 15 Web Pages 16 6 APPENDIX A 30 6 1 Bootloading ETRX3 ZigBee module 30 6 2 Cleaning 32 7 SOFT...

Page 3: ...gure 6 Top label 9 Figure 7 Bottom label 10 Figure 8 Device Discovery 13 Figure 9 Discovery Python Script 14 Figure 10 Discovery Output 14 Figure 11 HTTP server authentication 15 Figure 12 Configurations Page 16 Figure 13 ZigBee Interface Configurations page 24 Figure 14 Web Terminal page 25 Figure 15 Firmware Upgrade page 26 Figure 16 Logout page 29 Figure 17 Dialin socket connection 30 Figure 18...

Page 4: ...Nikhil Sarnaik Alex Wood 4 April 22 2014 Added license message Nikhil Sarnaik 5 Oct 17 2014 Added information about IP range filtering for dial in sockets Added Information to enable disable webpages Nikhil Sarnaik 6 Jan 16 2016 Reformatted David Chalmers 2 Abbreviations PoE Power over Ethernet LED Light Emitting Diode HTTP Hyper Text Transfer Protocol UPnP Universal Plug and Play UDP User Datagra...

Page 5: ...Gateway 2016 Silicon Labs 5 ZigBee Communications Gateway 3 Package Contents The package contains the following items Figure 1 Package contents a ZigBee Communications Gateway b Micro USB power cable c Mounting screws a b c ...

Page 6: ...sing IP Rating IP20 subject to testing Net Weight 110g RS485 RS232 Baud rate 2400 4800 9600 19200 38400 57600 115200 Parity none odd even Stop bits 1 or 2 RS485 120Ω termination resistor built in 4 1 Order Codes 4 2 Examples GW357 11 P W 1 8 Gateway with 2xETRX357 module Power over Ethernet WiFi RS232 RS485 and an 8MB SD Memory Card GW357 1 Basic Gateway with 1xETRX357 module GW357 30 0 0 1 Gatewa...

Page 7: ...munications Gateway Layout Figure 2 Gateway front view Figure 3 Gateway without RS232 RS485 back view Ethernet connector RJ45 Micro USB power socket Button 2 B2 2nd ETRX3 Status LED Interface Activity LED Gateway Activity LED Link Status LED 1st ETRX3 Status LED ...

Page 8: ...unications Gateway Figure 4 Gateway with RS232 RS485 back view1 1 Compatible connectors for RS232 RS485 port MULTICOMP MC000099 MULTICOMP MC000107 MULTICOMP MC000115 RS485 D RS485 D RS232 RX GND RS232 TX Ethernet connector RJ45 Micro USB power socket Button 2 B2 ...

Page 9: ...licon Labs 9 ZigBee Communications Gateway Figure 5 Gateway bottom view Figure 6 Top label Mounting holes Opening for battery and SD card holder Button 1 B1 Button 3 B3 Anti slip pads Anti slip pads Power supply ratings Gateway MAC address ...

Page 10: ...be powered ON by plugging in the micro USB cable in the socket provided as shown in figure 3 with power source as specified in the Specifications Selected models of gateway incorporating Power over Ethernet PoE can be powered on using the PoE injector through RJ45 cable Manufacture date Gateway serial number Gateway model number ...

Page 11: ...rn ON and then following blink one after the other twice except for the ETRX3 Status LEDs which are controlled by ETRX3 ZigBee modules 2 Ethernet link inactive Red Blinking Amber 3 Ethernet link active Green OFF 4 Any socket connected to either ZigBee module OR Web Terminal connected Green 5 Any communication with ZigBee modules OR Any communications on Ethernet lines Blinking Amber Table 2 LED Se...

Page 12: ... Gateway reboots and LED power up sequence is seen Gateway reboot Press B3 and hold for 5 seconds to reboot the Gateway Gateway recovery mode Perform following procedure to put the Gateway in recovery mode2 1 Press and hold B3 until gateway reboots 2 At power up hold B2 and wait for 3 seconds 3 The Gateway will be in recovery mode now Issue ZigBee command Button B2 is used to issue custom ZigBee c...

Page 13: ...n an IP address by using DCHP by default DHCP is enabled but the user can also set static IP address for the Gateway Once an IP address is allocated successfully the LED sequence 4 is displayed on the LED panel 5 2 Gateway Discovery Discovery on a windows 7 PC Gateway implements UPnP discovery service so the user can directly go to Network settings and look for devices under Network Infrastructure...

Page 14: ... ZigBee Communications Gateways in the network as shown below Figure 10 Discovery Output import socket traceback commands host Bind to all interfaces port 14099 start a udp socket server to listen on port 14099 s socket socket socket AF_INET socket SOCK_DGRAM s setsockopt socket SOL_SOCKET socket SO_REUSEADDR 1 s setsockopt socket SOL_SOCKET socket SO_BROADCAST 1 s bind host port print Waiting for...

Page 15: ...nfigure the Gateway and communicate with the ZigBee device via a simple web interface Authentication The http webserver is protected by basic authentication hence a valid username admin and password password must be provided when prompted to access the webpages The password can be changed through the GW357 Configuration webpage as explained in the later section Figure 11 HTTP server authentication...

Page 16: ... Following web pages are served by the http web server on the ZigBee Communications Gateway 5 3 2 1 GW357 Configuration The Gateway configuration page is the main page of the http webserver This page provides access to the configuration parameters of the Gateway Figure 12 Configurations Page ...

Page 17: ... TCP socket connections to a specified dialout addresses and port numbers This option can enable or disable the outgoing socket connections for both the ZigBee modules Default value is disabled Out 1 Address The address specified in this option is used by the gateway to establish the outgoing socket connection for the 1st ETRX3 ZigBee module The dialout address can either be an IP address or a hos...

Page 18: ...make a dial in socket connection to module 1 on gateway Module 1 IP Range MAX The highest IP address that can make a dial in socket connection to module 1 on gateway Module 2 Enable5 The Gateway also allows an incoming TCP socket connection on a specified port which enables access to the 2nd ETRX3 ZigBee module Module 2 Port5 The IP port number to access the 2nd ETRX3 ZigBee module via incoming TC...

Page 19: ... RS232 RS485 Port Configuration This option is only available on GW357 gateway models which have the RS232 RS485 option see the order codes table Here the user can select the RS232 and RS485 port settings Note it is recommended although not a requirement that the RS232 RS485 port on the gateway and the ETRX3 ZigBee module have the same baud rate The gateway has a limited capacity to buffer message...

Page 20: ...ttings on the webpage must be clicked in order to apply the changes to Gateway configuration Following message will be displayed to confirm the change j Disable Web Server The HTTP webserver running on the gateway can be disabled using this option on the configurations page Once it is disabled only following page will be accessible to user This feature is added to avoid any unauthorized or uninten...

Page 21: ...r dynamically by using DHCP protocol If the DHCP option is not selected then stored Static IP configuration is used to setup the network interface c Static IP Configurations IP Address The gateway uses the IP address specified in this field as static IP when DHCP option is not selected Subnet Mask The gateway uses the subnet mask specified in this field as subnet mask when DHCP option is not selec...

Page 22: ...rdware button presses as described in Buttons Actions section Following are the factory defaults Default Gateway Configurations 1 Web Terminal Enabled 2 Dialout Disabled 3 Out 1 Address 192 168 204 107 4 Out 1 Port 4094 5 Out 1 Address 192 168 204 107 6 Out 1 Port 4095 7 Secure Connection6 Disabled 8 Module 1 Enable Enabled 9 Module 1 Port 4096 10 Module 2 Enable Enabled 11 Module 2 Port 4097 12 T...

Page 23: ...efault password by clicking which will display following fields on the configurations page Fill in all the fields and hit change to apply new password Once the password is changed successfully the following message will be displayed Password can also be reset to factory default by restoring factory default configurations mentioned in Buttons Actions ...

Page 24: ... as per the model number of gateway b Module Control Reset Module Click for gateway reset the selected ETRX3 module Start Bootloader Click to start the bootloader on selected ZigBee module The standard AT Command firmware has serial Bootloader which can be used to upgrade the ZigBee firmware in the selected module Process of upgrading ETRX3 ZigBee firmware in standard Gateway is described in the A...

Page 25: ...erminal option is disabled in the Configurations page Terminal status as shown above will be displayed No commands can be issued to the ZigBee module via Web Terminal if this status is been displayed Terminal Enabled Status When the Web Terminal connects successfully to the ZigBee module above status will be displayed The Gateway time will also start updating once every second Now the user may ent...

Page 26: ... looks like below Figure 15 Firmware Upgrade page Stored Image Info This section gives the information of the Gateway firmware image stored in the Gateway Image Header Each image stored in the Gateway has an Image Header for identifying the type of image This field displays the image header of selected Image type Firmware Version This field displays the firmware version of image stored Image Size ...

Page 27: ...mage All the configurations settings mentioned in Configurations page can be updated by this image type The settings will get applied after the gateway is rebooted No flag is necessary to be enabled for the configuration settings to be update Image Upload Process Click which opens a dialogue box to navigate to the image navigate to appropriate file and click open Now click a pop up box will open t...

Page 28: ...e and updates the recovery bootloader firmware if a valid image is present Wait for Serial Commands The Gateway can accept some serial commands at start up available only on models with RS232 RS485 port present If this flag is enabled the gateway will wait for 5 sec to accept any serial commands on the RS232 lines and then jump to the main gateway application Enable the appropriate flags and click...

Page 29: ...ort link will redirect to telegesis Support page on the internet http www telegesis com support 5 3 2 6 Logout Logout will end current session and Logged out successfully message will be displayed and the user will need to authenticate with username and password at the next login Figure 16 Logout page ...

Page 30: ... socket is as described below 1 For this example assume the firmware of 1st ETRX3 ZigBee module is to be updated remotely over a TCP socket 2 Make sure dialin socket is enabled for the 1st ETRX3 ZigBee module as shown below 3 Connect to the Gateway s dialin socket for the 1st ETRX3 ZigBee module using Telegesis terminal Version 4 or higher as shown below Figure 17 Dialin socket connection ...

Page 31: ...hould be indicated by LED panel 5 Navigate to ZigBee Interface Configuration and Select Module 1 as shown below 6 Click to start the bootloader on selected ZigBee module 7 Change the baudrate to 115200 and click 8 On Telegesis terminal hit Enter key to see following prompt Figure 18 ETRX3 Bootload prompt ...

Page 32: ...upgrade image file via XMODEM 10 Go to Tools Transfer File XMODEM and send the appropriate upgrade image file 11 Once successful change the baudrate of module according to upgraded firmware and the ZigBee module will communicate according to the new firmware For Telegesis R3xx firmware the default baud rate is 19200 8N1 6 2 Cleaning Dust or wipe only with damp cloth do not allow moisture to penetr...

Page 33: ...ricate any integrated circuits The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Laboratories A Life Support System is any product or system intended to support or sustain life and or health which if it fails can be reasonably expected to result in significant personal injury or death Silicon Laboratories products ...

Reviews: