background image

 

5 Gould Road, PO Box 2155 

New London, NH 03257 USA 

Voice: (603) 526-9800 

[email protected]

 

www.canarysystems.com

 

 

Using the Lantronix SGX 5150 Serial Device Server

 

 

 

Using the Lantronix SGX 5150 Serial Device Server

 

Application Note #28 - Revision 01/2021 

 

Overview

 

The Lantronix

 industrial wireless device serial servers and Ethernet Bridge/Routers are built for networking 

equipment in an array of machine-to-machine (M2M) applications. The SGX 5150 features an industrial 
strength enclosure and operates over

 

a wide temperature range (-40° to 70°C) to withstand challenging M2M 

environments. Dual port design allows connection of up to 2 devices. Dual-band Wi-Fi supports both 2.4GHz 
and 5GHz networking.  

Security features include wireless security; network security; and device security (multi-level encryption 
capability to protect configuration data). 

This Application Note details the configuration steps necessary to use the Lantronix SGX 5150 Device Server 
with several Campbell Scientific

®

 data loggers including the CR2XX, CR3XX, CR800, CR1000 and CR6 and 

the Canary Systems

 MLGPS

 module. 

 

Definitions

 

Ad-Hoc Network

: An ad-hoc network is one of the two types of wireless networks (the other is "Infrastructure") 

and is not very common. Ad-hoc networks do not require a wireless network access point and are considered 
"de-centralized". Ad-hoc networks are convenient to allow devices and/or PC's to communicate with each other 
in the absence of a centralized network. 

DHCP

: Dynamic Host Configuration Protocol (DHCP) is a mechanism used in computer networks to assign IP 

addresses automatically. 

Infrastructure Network

: An infrastructure network is one of the two types of wireless networks (the other is 

"Ad-Hoc") and is the most common. Infrastructure networks require a wireless network access point to manage 
and forward traffic to and from the wireless network. 

SSID

: Service Set Identifier (SSID) is the unique identifier for a wireless network, either infrastructure or ad-

hoc. The SSID is used to configure each device or PC to select the wireless network that you want it to 
communicate on. 

Wireless Network Access Point (AP)

: A wireless network access point is a Wi-Fi router that is used to setup 

a wireless network. Access Points support "Infrastructure" networks as opposed to "Ad-Hoc" networks. The AP 
is responsible for forwarding network to and from connected wireless devices and PC's. 

Serial Interface

: Typically, the data loggers are connected to one of the serial interface connectors on the 

Lantronix SGX 5150. The serial interface port support baud rates up to 921.6Kbps and RS-232 or Multi-
protocol RS-232/422/485. The default serial port settings are 9600 baud, No parity, 8 data bits, 1 stop bit and 
no flow control. 

 

 

 

Summary of Contents for SGX 5150

Page 1: ...quire a wireless network access point and are considered de centralized Ad hoc networks are convenient to allow devices and or PC s to communicate with each other in the absence of a centralized netwo...

Page 2: ...r most laptops have built in Wi Fi and USB Wi Fi adapters are readily available to add Wi Fi capability to a desktop 4 Data logger normally installed in the data logger enclosure Note The data logger...

Page 3: ...signed to an IP address and MultiLogger does support name resolution of IP addresses however this requires additional configuration that is beyond the scope of this Application Note Configuration over...

Page 4: ...indow Enter the commands as shown below Black text is the command prompt The red text indicates commands you enter Blue text indicates command responses from the SXG 5150 For brevity not all SGX 5150...

Page 5: ...into the address bar When prompted for a username enter admin The password for devices manufactured after January 1 2020 is the last 8 characters of the Device ID or for older units use PASS Once the...

Page 6: ...onnect the datalogger s Serial Port to Line 1 on the SGX 5150 Note Be sure to use the settings utilized with your infrastructure The ports for the Serial Ports are as follows Serial Port 1 10001 Seria...

Page 7: ...ss the Monitor button on the Logger toolbar to start the Monitor mode This initiates a socket connection to the device and attempts to start the Monitor mode If successful the Datalogger Clock starts...

Page 8: ...r 8 Appendix A SGX 5150 Reset To reset the SGX 5150 and restore the manufacturer default settings Press the Reset button as shown in the figure below for 6 seconds The SGX 5150 configuration automatic...

Page 9: ...not connect to the SGX 5150 then these steps may help resolve the lack of connectivity 1 After the device connects go to the PC s Network and Internet settings Figure 8 2 Right click on your Wi Fi ad...

Page 10: ...an IP address automatically and skip to step 5 If Obtain an IP address automatically is selected then proceed to the following step Figure 11 4 Select Use the following IP address and enter a Default...

Page 11: ...the above table a long blink is 0 7 seconds of light followed by 0 3 seconds of no light A short blink is a light that is on for only 0 2 seconds and followed by 0 2 seconds of no light The diagnostic...

Page 12: ...a DC power source per the device instructions 3 After a minute or two check the Wi Fi networks available on your computer You will see a network titled sgx5150_SERIALNUMBER where SERIALNUMBER is the s...

Page 13: ...e following options DHCP Client OFF Enter the desired IP address for the SGX 5150 example indicated Enter the Default Gateway address example indicated IPv6 State Disabled IPv6 DHCP Client OFF IPv6 Au...

Page 14: ...ons Enter the Passphrase and click on Submit Figure 18 9 Select the Network tab on the top menu expand Wireless Network and Link on the left side menu and select Configuration In this window choose An...

Page 15: ...n Here make sure that Protocol is set to Tunnel and the Baud Rate is set per the Baud Rate Setting matrix below in Table 3 Figure 21 Follow the matrix below for the proper setting for your system Data...

Page 16: ...tus tab on the top menu and click on the Reboot button outlined in Figure 22 Figure 23 Wait 2 or 3 minutes for the device to reboot and access your chosen wireless network at the new IP address Note M...

Page 17: ...ram is available at www lantronix com support downloads 1 Connect the Ethernet port of the SGX 5150 to a network adapter to a local PC Make sure the adapter is set to DHCP see Appendix B 2 Once the so...

Page 18: ...nd by doing so the following can be achieved Power cycle the connected device allowing a reconnection to the local Wi Fi network Reducing the power consumption of an entire unit by turning power on at...

Page 19: ...nfiguration Card See the MLWebHardware Users Guide for details on navigation MLWebHardware and configuring new dataloggers Figure 29 2 Select Port Set as the Code Insert 3 Select the Power Port either...

Page 20: ...ows how to configure SW12 Power Control via MultiLogger 1 Open the logger form for the datalogger and navigate to the Program tab 2 SW12 power configuration is enabled by selecting an Output Device fr...

Page 21: ...Using the Lantronix SGX 5150 Serial Device Server 21 b For a CR6 select Cycle Cell Modem Power SW12 1 or Cycle Cell Model Power SW12 2 depending how the datalogger has been wired Figure 32...

Page 22: ...power control through SW12 Figure 33 4 Modify the program to the desired process For more details on various program changes see Program Changes later in this section Note It is important to leave the...

Page 23: ...r the CR300 output device By default it turns on the device for 1 hour a day from 12pm 1pm This program turns SW12 ON to power the connected device using the PortSet function The PortSet function take...

Page 24: ...state ON or OFF A 0 value in the port parameter turns the port off and any non zero value will turn the port on The TimeIntoInterval function takes three parameters listed below 1 TintoInt is the tim...

Page 25: ...to control power to the SGX 5150 The wire providing power to the SGX 5150 is removed from the charge controller and connected into the CR300 CR6 Below are images of both the CR300 and CR6 dataloggers...

Page 26: ...this could also be a SunSaver MCLOG The first figure depicts the wire configuration when the MCLOG is shipped with both the SGX 5150 and the datalogger connecting to the charge controller Figure 38 In...

Page 27: ...Figure 40 In the next figure the wires previously connecting the SGX 5150 to the charge controller have been disconnected from the CH200 and reconnected directly to one of the SW12 ports of the CR6 s...

Reviews: