Appendix C. Table-Based Dataloggers
5.
Open the newly created file in Edlog. It will be opened using the CR10X-
TD datalogger template instead of the CR10X. Make any changes
necessary to replace the commented or deleted instructions.
6.
Check the Options | DLD File Labels setting to ensure the “Include first
___ Input location labels” field is not set to 0 if the option is selected.
7.
Save and compile the program, correcting any errors that may be found by
the compiler.
C.2.2 Program Instruction Changes
Several programming instructions have changed or are not used in table-based
datalogger programs. Make sure you “comment out” any of these instructions
before you try to convert the array-based program. These are listed below:
•
Check any instructions that may set the Output Flag (Flag 0) high or low
by using the Command Code Options. The output flag is not used in table-
based programming. Instructions that may include reference to the output
flag are: P83, If Case; P86, Do; P88, If (X< = > Y); P89, If (X< = > F);
P91, If Port/Flag; and P92, If Time.
If any of these instructions set the output flag high, the instruction can be
replaced with Instruction 84, Table Data. Instruction 84 is used to define a
table of final storage data. New records of data are stored in the table-
based on time (interval data) or when a user flag is set (event data). Time
based output intervals are specified in seconds.
•
Instruction 18, Time
– Instruction 18 is used to store the current time into
an input location. Parameter 1 designates what format will be used when
storing the time. There are differences in this instruction’s Parameter 1 for
the two datalogger types.
•
Instructions 73 and 74, Maximum and Minimum
– These instructions
are used to store the maximum or minimum for a value over a period of
time. Parameter 2 in these instructions is used to designate a time option.
There are differences in the instructions’ Parameter 2 for the two
datalogger types.
•
Instruction 77, Real Time
– Instruction 77 is used to store the current
time in final storage for array-based dataloggers. This instruction is not
included in table-based dataloggers, since the time is assigned to records
automatically when data is retrieved.
•
Instruction 80, Set Active Storage Area
– Instruction 80 is used to direct
output processing to final storage area 1, final storage area 2, or an input
location. This instruction is not included in the table-based programming
instructions. Output processing can be redirected to input locations in a
table-based datalogger using Instruction P84, Table Data (see Edlog’s
help).
•
Instruction 92, If Time
– Instruction 92 is used to perform one or more
actions based on time. The interval for table-based dataloggers is in
seconds only; array-based dataloggers offer the options of seconds or
minutes. The instruction for array-based dataloggers defaults to minutes,
so if you are using this instruction it may need to be changed.
C-4
Содержание 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: ......