Campbell-scientific LoggerNet Datalogger Support Software Manual de usuario Pagina 278

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 580
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 277
Section 7. Creating and Editing Datalogger Programs
Execution Interval = 10 sec
;this instruction reads the temperature probe
;the output is in degrees C
1: Temperature (107) (P11)
1: 1 REPS
2: 2 Channel
3: 1 Excitation Channel
4: 2 Loc [TempC]
5: 1 Mult
6: 0 Offset
;the following expression converts TempC to
;a temperature in degrees Fahrenheit
TempF = (TempC*1.8)+32
When this program is compiled, the DLD file contains the following
instructions. The last 5 instructions calculate the expression.
1: Temperature, 107 (P11)
1: 1
2: 2
3: 1
4: 2
5: 1.0
6: 0.0
2: Z=X (P31)
1: 2
2: 5
3: Z=F (P30)
1: 1.8
2: 0
3: 3
4: Z=X*Y (P36)
1: 3
2: 5
3: 5
5: Z=F (P30)
1: 32
2: 0
3: 3
6: Z=X+Y (P33)
1: 3
2: 5
3: 6
7-60
Vista de pagina 277
1 2 ... 273 274 275 276 277 278 279 280 281 282 283 ... 579 580

Comentarios a estos manuales

Sin comentarios