A-1
Appendix A.
Controlling Power to the
LS300G-EU
The LS300G-EU uses considerably more power than cellular modems previously
offered by Campbell Scientific, Inc. Therefore, it may be necessary to use the
datalogger to control power to the LS300G-EU. The following program examples
show how to control power to the LS300G-EU using the switched 12V terminal
on the datalogger.
The first program, created by
Short Cut
, uses the
TimeIsBetween
instruction to
turn on SW12 for 15 minutes every 60 minutes between 9:00 a.m. and 5:00 p.m.
(Note that the
TimeIsBetween
instruction requires operating system version 28 or
later in the CR1000, CR3000, or CR800. It is supported in all CR6 operating
systems.)
'CR6 Series
'Created by Short Cut (3.1)
'Declare Variables and Units
Public BattV
Public PTemp_C
Public SW12State As Boolean
Units BattV=Volts
Units PTemp_C=Deg C
'Define Data Tables
DataTable(Table2,True,-1)
DataInterval(0,1440,Min,10)
Minimum(1,BattV,FP2,False,False)
EndTable
'Main Program
BeginProg
'Main Scan
Scan(5,Sec,1,0)
'Default Datalogger Battery Voltage measurement 'BattV'
Battery(BattV)
'Default Wiring Panel Temperature measurement 'PTemp_C'
PanelTemp(PTemp_C,60)
'SW12 Timed Control
'Turn ON SW12 between 0900 hours and 1700 hours
'for 15 minutes every 60 minutes
If TimeIsBetween(540,1020,1440,Min) And TimeIsBetween(0,15,60,Min) Then
SW12State=True
Else
SW12State=False
EndIf
'Always turn OFF SW12 if battery drops below 11.5 volts
If BattV<11.5 Then SW12State=False
'Set SW12-1 to the state of 'SW12State' variable
SW12(1,SW12State,0)
'Call Data Tables and Store Data
CallTable Table2
NextScan
Summary of Contents for LS300G-EU
Page 2: ......
Page 4: ......
Page 6: ......
Page 8: ......
Page 31: ...User Manual 21 Figure 9 1 Can t Connect...
Page 33: ...User Manual 23 Figure 9 3 One computer can connect other s cannot...
Page 34: ...LS300G EU GSM GPRS EDGE HSPA Sierra Wireless Cellular Modem 24...
Page 40: ...Appendix B EmailSend Using the Gmail Outgoing SMTP Server B 4...
Page 44: ...Appendix C Configuring the LS300G EU for Dynamic IP C 4...
Page 50: ...Appendix E LS300G EU Settings E 4...
Page 53: ...Appendix F Regulatory Information F 3 F 6 RoHS Compliance...