EasyManuals Logo

Lantronix SGX 5150 Manual

Lantronix SGX 5150
27 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #24 background imageLoading...
Page #24 background image
Using the Lantronix SGX 5150 Serial Device Server
24
CR6 Program
The following code is an example of power cycling a device, such as an SGX-5150, nightly to reconnect to a
local Wi-Fi network.
This program uses a TimeIntoInterval function and the SW12 function to turn off power to the connected
device at 12am for 5 seconds and then enable SW12 to turn back on.
It is important to note that a CR6 has 2 SW12 ports. The SW12 function takes in two parameters, the first is
port (1 or 2) and the second is 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 time into interval, acting as an offset from the interval parameter.
2. Interval is how frequently the TintoInt parameter will be evaluated as true, resulting in the code within the
statement to be ran. It is important that this parameter is an integer (whole number).
3. Units is the parameter used to define the units of the previous two parameters. These units will be time
and the following are accepted inputs.
a. Msec (milliseconds)
b. Sec (seconds)
c. Min (minutes)
d. Hr (hours)
e. Day (days)
f. Mon (months)
(Figure 35)

Other manuals for Lantronix SGX 5150

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Lantronix SGX 5150 and is the answer not in the manual?

Lantronix SGX 5150 Specifications

General IconGeneral
CertificationFCC ICES-003:2012 RED 2014/53/EU, EMCD 2014/30/EU, EN 300 328 V1.9.1, EN 301 489-1 V1.9.2, EN301 489-17 V2.2.1, EN 301 893 V1.8.1, EN 62311: 2008 AS/NZS CISPR 22, AS/NZS 4268: A1: 2013, AS/NZS 2772.2VCCI EN 55022:2010, EN 55024:2010, EN 61000-3-2:A2 2009, EN 61000-3-3: 2008 UL 60950/CSA 22.2 No. 60950, IEC 60950 CE LVD 2014/35/EU
LED indicatorsYes
Power requirements9 - 30 VDC
Power over Ethernet (PoE)No
Power consumption (typical)1.9 W
Storage temperature (T-T)-40 - 85 °C
Operating temperature (T-T)-40 - 70 °C
Operating relative humidity (H-H)5 - 95 %
Security algorithms802.1x RADIUS, AES, EAP-FAST, EAP-PEAP, EAP-TLS, EAP-TTLS, FIPS 140-2, MSCHAPv2, TKIP, WPA, WPA2, WPA2-PSK, WPS
Authentication methodRADIUS
Ethernet LAN (RJ-45) ports1
Supported protocolsIPv4/IPv6, TCP, UDP, ICMP, ARP, Auto-IP, DNS, (S)FTP
Frequency band2.4 / 5 GHz
Cabling technology10/100BASE-T(X)
Networking standardsIEEE 802.11a, IEEE 802.11ac, IEEE 802.11b, IEEE 802.11d, IEEE 802.11g, IEEE 802.11h, IEEE 802.11i, IEEE 802.11n, IEEE 802.1x, IEEE 802.3, IEEE 802.3af, IEEE 802.3at, IEEE 802.3u
Ethernet LAN data rates10, 100 Mbit/s
Weight and Dimensions IconWeight and Dimensions
Weight350 g
Dimensions (WxDxH)110 x 89 x 26 mm

Related product manuals