Average scan time – Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual
Page 121
Scan Theory
Chapter 8
8-3
Next, the processor scans the program statement by statement:
1.
For each condition, the processor checks, or “reads,” the image table
to see if the condition has been met.
2.
If the set of conditions has been met, the processor writes a one into
the bit location in the output image table corresponding to the output
terminal to be energized. On the other hand, if the set of conditions
has not been met, the processor writes a zero into that bit location,
indicating that the output terminal should not be energized.
Important: When your processor is in the Remote Test mode, all outputs
are held off. When your processor is in the Run/Program mode, all outputs
are controlled by the user program.
Average scan time is the average amount of time it takes the processor to
monitor and update input and outputs, and to execute instructions in the
program. The scan is performed serially; first the I/O image table is
updated, other parts of the data table are not scanned, then the user
program is scanned.
There are two ways to measure average scan time:
Append the rungs in Figure 8.2 to your program.
Figure 8.2
Average Scan Time
031
14
CTU
031
PR 999
031
14
CTU
031
PR 999
RTO
032
0.1
032
000
Store
010
G
G
:
Store
000
AC 000
AC 000
PR 999
AC 000
1
031
14
RTR
032
PR 999
:
Store
000 .
2
3
AC 000
031
14
RTR
032
PR 999
AC 000
Rung 1
Rung 2
Rung 3
Rung 4
Rung 5
Rung 6
Average Scan Time