
75
Setting Up Parameters
Figure 70: Assignment View - FM-3/4 Module
For example, if we entered 3 for the number of Selector Input Destinations, we would have 8 selection lines
(Selector.Selection0 through Selector.Selection7). The Selector.Selection number that is activated is determined by the status
of the Selector.Select lines when the Selector.Selector Initiate bit is activated. Each select line has a specific binary value.
The binary value is determined as follows:
S
n
x 2
n
where S
n
= Status of Selector.Select line n
Sn = 0 if Selector.Select line n is inactive, and
Sn = 1 if Selector.Select line n is active
The sum of all the binary values determines which Selector.Selection line will be active.
The following examples demonstrate how to determine which Selector.Selection will activate based on the Selector.Select
lines.
Example 1:
If Selector.Select2 is active, Selector.Select1 is inactive, and Selector.Select0 is active, then the total binary value is as
follows:
S
2
= 1, S
1
= 0, and S
0
= 1. Therefore,
Total Binary Value = (1 x 2
2
) + (0 x 2
1
) + (1 x 2
0
)
Total Binary Value = 4 + 0 + 1
Total Binary Value = 5
Therefore, when Selector.SelectorInitiate activates, then Selector.Selection5 will activate.
Example 2:
If Selector.Select2 is inactive, Selector.Select1 is active, and Selector.Select0 is active, then the total binary value would be
as follows:
S
2
= 0, S
1
= 1, and S
0
= 1. Therefore,
Total Binary Value = (0 x 2
2
) + (1 x 2
1
) + (1 x 2
0
)
Total Binary Value = 0 + 2 + 1
Comentarios a estos manuales