Section 7. Installation
153
7.6.3.13 Execution Timing
Timing of program execution is regulated by timing instructions listed in the
following table.
Program Timing Instructions
Instructions
General Guidelines
Syntax Form
Scan()
/
NextScan
Use in most programs.
Begins / ends the main
scan.
BeginProg
Scan()
'.
'.
'.
NextScan
EndProg
SlowSequence
/
EndSequence
Use when measurements
or processing must run
at slower frequencies
than that of the main
program.
BeginProg
Scan()
'.
'.
'.
NextScan
SlowSequence
Scan()
'.
'.
'.
NextScan
EndSequence
EndProg
SubScan
/
NextSubScan
Use when measurements
or processing must run
at faster frequencies
than that of the main
program.
BeginProg
Scan()
'.
'.
'.
SubScan()
'.
'.
'.
NextSubScan
NextScan
EndProg
7.6.3.13.1 Scan() / NextScan
Simple CR800 programs are often built entirely within a single
Scan()
/
NextScan
structure, with only variable and data-table declarations outside the
scan.
Scan()
/
NextScan
creates an infinite loop; each periodic pass through the
loop is synchronized to the CR800 clock.
Scan()
parameters allow modification
of the period in 10 ms increments up to 24 hours. As shown in CRBasic example
BeginProg / Scan() / NextScan / EndProg Syntax
(p. 153),
the CRBasic program
may be relatively short.
Summary of Contents for CR800 Series
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 34: ......
Page 54: ......
Page 92: ......
Page 310: ......
Page 446: ...Section 8 Operation 446 8 11 2 Data Display FIGURE 100 CR1000KD Displaying Data ...
Page 448: ...Section 8 Operation 448 FIGURE 102 CR1000KD Real Time Custom ...
Page 449: ...Section 8 Operation 449 8 11 2 3 Final Storage Data FIGURE 103 CR1000KD Final Storage Data ...
Page 450: ...Section 8 Operation 450 8 11 3 Run Stop Program FIGURE 104 CR1000KD Run Stop Program ...
Page 452: ...Section 8 Operation 452 FIGURE 106 CR1000KD File Edit ...
Page 456: ......
Page 462: ......
Page 523: ...Section 11 Glossary 523 FIGURE 116 Relationships of Accuracy Precision and Resolution ...
Page 524: ......
Page 526: ......
Page 556: ......
Page 558: ......
Page 560: ......
Page 597: ......