A-1
Appendix A. Controlling Power to the
LS300G
The LS300G 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. The following program examples
show how to control power to the LS300G 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
Содержание LS300G
Страница 2: ......
Страница 6: ......
Страница 31: ...LS300G GSM GPRS EDGE HSPA Sierra Wireless Cellular Modem 23 FIGURE 9 1 Can t Connect...
Страница 32: ...LS300G GSM GPRS EDGE HSPA Sierra Wireless Cellular Modem 24 FIGURE 9 2 Can t Connect Network Light is Green...
Страница 33: ...LS300G GSM GPRS EDGE HSPA Sierra Wireless Cellular Modem 25 FIGURE 9 3 One computer can connect other s cannot...
Страница 34: ...LS300G GSM GPRS EDGE HSPA Sierra Wireless Cellular Modem 26...
Страница 40: ...Appendix B EmailSend Using the Gmail Outgoing SMTP Server B 4...
Страница 43: ...Appendix C Configuring the LS300G for Dynamic IP C 3 FIGURE C 1 Serial Server Mode with Dynamic IP...
Страница 44: ...Appendix C Configuring the LS300G for Dynamic IP C 4...
Страница 50: ...Appendix E LS300G Settings E 4...
Страница 53: ...Appendix F Regulatory Information F 3 F 6 RoHS Compliance...
Страница 54: ...Appendix F Regulatory Information F 4...
Страница 55: ......