Campbell-scientific CR1000 Measurement and Control System Uživatelský manuál Strana 105

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 588
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 104
Section 7. Installation
105
Figure 44: "Include File" settings via PakBusGraph
CRBasicExample1. Usingan"IncludeFile"toControlSW12
'Assumes that the Include file in CRBasic example "Include File" to Control SW-12 (p. 105)
'is loaded onto the CR1000 CPU: Drive.
'The Include file will control power to the cellular phone modem.
Public PTemp, batt_volt
DataTable(Test,1,-1)
DataInterval(0,15,Sec,10)
Minimum(1,batt_volt,FP2,0,False)
Sample(1,PTemp,FP2)
EndTable
BeginProg
Scan(1,Sec,0,0)
PanelTemp(PTemp,250)
Battery(Batt_volt)
CallTable Test
NextScan
'<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"Include File" Code Executed Here
EndProg
CRBasicExample2. "IncludeFile"toControlSW12.
'"Include File" "Add-on" Program
'Control Cellular modem power for the main program.
'Cell phone + to be wired to SW-12 terminal, - to G.
Zobrazit stránku 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 587 588

Komentáře k této Příručce

Žádné komentáře