Appendix A. Controlling Power To The Rv50 - Sierra Wireless AirLink RV50 Product Manual

4g lte cellular modem
Hide thumbs Also See for AirLink RV50:
Table of Contents

Advertisement

Appendix A. Controlling power
to the RV50
The RV50 uses considerably more power than the datalogger. Therefore, it may be necessary to
use the datalogger to control power to the RV50. The following program examples show how to
control power to the RV50 using the switched 12V (SW12V) terminal on the datalogger.
This example shows how to control power to the RV50 by using the CRBasic
()
instruction to turn on SW12 for 15 minutes every 60 minutes between 9:00 a.m. and 5:00 p.m.
NOTE:
TimeIsBetween ()
The
CR3000, or CR800. It is supported in all CR1000X, CR6, and CR300 operating systems.
CRBasic Example 1: Turn RV50 ON and OFF under data logger control
'CR300 Series
'Declare Variables and Units
Public
BattV
Public
PTemp_C
Public
ModuleState
Units
BattV=Volts
Units
PTemp_C=Deg C
'Define Data Tables
DataTable
(Daily,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 Data Logger Battery Voltage measurement 'BattV'
Battery
(BattV)
'Default Wiring Panel Temperature measurement 'PTemp_C'
PanelTemp
(PTemp_C,60)
'Between the hours of 9:00 and 17:00, turn the RV50
'on for 15 minutes at the start of every hour
requires operating system version 28.00 or greater in the CR1000,
As Boolean
RV50 Sierra Wireless AirLink® 4G LTE Cellular Modem
TimeIsBetween
32

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents