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
Содержание LoggerNet
Страница 2: ......
Страница 30: ...Preface What s New in LoggerNet 4 xxvi...
Страница 32: ...Section 1 System Requirements 1 2...
Страница 44: ...Section 2 Installation Operation and Backup Procedures 2 12...
Страница 136: ...Section 4 Setting up Datalogger Networks 4 80...
Страница 227: ...Section 7 Creating and Editing Datalogger Programs 7 9...
Страница 298: ...Section 7 Creating and Editing Datalogger Programs 7 80...
Страница 402: ...Section 9 Automating Tasks with Task Master 9 12...
Страница 406: ...Section 9 Automating Tasks with Task Master 9 16...
Страница 450: ...Section 11 Utilities Installed with LoggerNet Admin and LoggerNet Remote 11 22...
Страница 454: ...Section 12 Optional Client Applications Available for LoggerNet 12 4...
Страница 462: ...Section 13 Implementing Advanced Communications Links 13 8...
Страница 482: ...Section 14 Troubleshooting Guide 14 20...
Страница 570: ...Appendix F Calibration and Zeroing F 16...
Страница 578: ...Appendix G Importing Files into Excel G 8...
Страница 579: ......