
298
SECTION
3
PLC
Programming
Industrial Text & Video Company 1-800-752-8398
www.industrialtext.com
CHAPTER
9
Programming
Languages
9-5 LADDER RELAY PROGRAMMING
LADDER SCAN EVALUATION
Scan evaluation is an important concept, since it defines the order in which
the processor executes a ladder diagram. The processor starts solving a ladder
program after it has read the status of all inputs and stored this information in
the input table. The solution starts at the top of the ladder program, beginning
with the first rung and proceeding one rung at a time. As the processor solves
the control program, it examines the reference address of each programmed
instruction, so that it can assess logic continuity for the rung being solved.
Even if the output conditions in the rung being solved affect previous rungs,
the processor will not return to the previous rung to resolve it.
To make this clearer, let’s examine the diagram in Figure 9-28, which
illustrates four simple rungs. The normally open contact 10, which we will
assume corresponds to a push button, activates the first rung. If contact 10
turns ON, it will turn output 100 ON. In the next rungs, contact 100 will turn
output 101 ON, contact 101 will turn output 102 ON, and contact 102 will
turn output 103 ON. Even though they are connected to different rungs, all of
these outputs turn ON in the same scan, because the processor updates the
real output devices connected to the modules when it finishes the program
scan. In this case, if outputs 100, 101, 102, and 103 were connected to pilot
lights, they would all turn ON at the same time.
Figure 9-29 illustrates the same ladder logic as in Figure 9-28 but with the
placement of rungs reversed. Assuming that input 10 is pushed in the first
scan, the processor must make four scans before it energizes output 103. The
logic the processor uses in the first scan is as follows: (1) When input 10 is
pushed, the processor examines reference 102 and finds it OFF (logic 0);
Figure 9-28. Ladder rung where all outputs turn ON in the same scan.
1Scan 234567
10
100
101
102
103
10 100
100 101
101 102
102 103