Campbell CR800 Specifications Page 259

  • Download
  • Add to my manuals
  • Print
  • Page
    / 324
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 258
Section 9. Program Control Instructions
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.
NOTE
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
Alpha Code Units
usec microseconds
msec milliseconds
sec Seconds
Count
Constant
The number of times to loop through the subscan each time the scan runs.
The maximum number is 65,535.
Timer (TimNo, Units, TimOpt)
Used to return the value of a timer.
Remarks
Timer is a function that returns the value of a timer. TimOpt is used to start,
stop, reset and start, stop and reset, or read without altering the state (running
or stopped). Multiple timers, each identified by a different number (TimNo),
may be active at the same time.
Syntax
variable = Timer(TimNo, Units, TimOpt)
9-19
Page view 258
1 2 ... 254 255 256 257 258 259 260 261 262 263 264 ... 323 324

Comments to this Manuals

No comments