Specifications
Section 9. Program Control Instructions
9-19
'Second Slow Sequence Scans every 30 minutes and stores daily average and min.
SlowSequence
DataTable (BattV,True,-1)
DataInterval (0,1,Day,10)
Average (1,BattVolts,FP2,False)
Minimum (1,BattVolts,FP2,False,False)
EndTable
Scan (30,Min,3,0)
Battery (BattVolts)
CallTable BattV
NextScan
EndProg
SubScan (SubInterval, Units, Count) … NextSubScan
The SubScan instruction is used to control an AM16/32 multiplexer or to
measure some analog inputs at a faster rate than the program scan.
Syntax
SubScan (SubInterval, Units, Count)
Measurements and processing
NextSubScan
Remarks
The SubScan/NextSubScan instructions are placed within the Scan/NextScan
instructions of a program.
SubScans cannot be nested or placed in a SlowSequence. Pulse
Count or SDM measurements cannot be used within a SubScan.
Parameter
& Data Type
Enter
SubInterval
Constant
The time interval between subscans. Enter 0 for no delay between subscans.
Units
The unit of time for the SubInterval.
Constant
Numeric
Code
Alpha
Code
Unit
s
0 usec microseconds
1 msec milliseconds
2
3
sec
min
seconds
minutes
Count
Constant
The number of times to loop through the subscan each time the scan runs.
The maximum number is 65,535.
NOTE