SubScan NextSubScan (Control Speed for Some Measurements)

The SubScan instruction is used to measure some analog inputs at a faster rate than the program scan or control an AM16/32 multiplexer.

Syntax

SubScan (SubInterval, Units, Count )

NextSubscan

Remarks

The SubScan/NextSubScan instructions are placed within the Scan/NextScan instructions of a program. The resolution of the SubScan interval is 10 msec resolution.

Parameters

SubInterval (Interval Between Subscans)

Designates the time interval between the subscans. Enter 0 for no delay between subscans.

Type: Constant

Units

The units for the interval parameter. An alphabetical code is entered. Right-click the parameter to display a list.

Alphanumeric Code Description
usec microseconds
msec milliseconds
sec seconds
min minutes

Type: Constant

Count

Determines the number of times the subscan will run each time the scan runs. Maximum number is 65,535.

Type: Constant integer

Notes: