410
SECTION
3
PLC
Programming
Industrial Text & Video Company 1-800-752-8398
www.industrialtext.com
CHAPTER
10
The IEC 1131 Standard and
Programming Language
A divergence is when an SFC element has many links going out of it, while
a convergence is when an element has many links coming into it. Both
divergences and convergences can have either OR or AND configurations,
which relate to the Boolean logic operators of the same name.
OR Divergences and Convergences. Figure 10-48 shows an OR diver-
gence, or single divergence, which connects one step to many transitions. An
OR divergence allows an active step to pass its token to one of several steps
via connecting transitions; thus, it “diverts” one step to several transitions.
Although an OR divergence connects a step with several transitions, the step
can only activate one of these transitions at a time. In other words, like an
exclusive-OR (XOR) function, the transitions must be mutually exclusive,
triggering only one transition. Depending on the IEC 1131-3 system, an OR
divergence must have either mutually exclusive triggering signals (i.e., when
one transition is ON, the others are OFF) or programmed logic that creates a
mutually exclusive situation (i.e., only one divergence path can be triggered
at a time). Some systems avoid multiple divergence paths by selecting either
the left-most or right-most divergence if several triggering conditions occur
at once. This prioritizes divergence path selection.
Figure 10-48. OR divergence.
Figure 10-49 shows an SFC with an OR divergence after step 1. Once step 1
is activated, either step 10 or 20 can be activated if either transition 1 or 2 is
triggered. These two transitions have mutually exclusive triggering condi-
10
1
12
11
10
1
11
12
20
30
20
2
30
OR Divergence
(one step to several transitions)
OR Convergence
(several transitions to one step)
Figure 10-49. Example of an OR divergence and an OR convergence.