Chapter 9
150
Logic programming – Function blocks
Evaluation of more than three inputs
If 4 or 5 inputs are used, up to four Binary decoder function blocks can be combined in
order to encode binary codes with values from 0 to 31.
When using multiple Binary decoder function blocks in combination you have to
configure the
Value range
option of each function block for the value range it shall
cover. This range depends on the values of inputs D and E.
Input D
Outputs
0 0-7
1 8-15
Input E
Input D
Outputs
0
0 1-7
0
1 8-15
1
0 16-23
1
1 24-31
If
Input D
and
Input E
are set to the same value as the
Value range
parameter
(e.g. if
Input E
= 1,
Input D
= 0 and
Value range
is set to 16-23), the function block
will behave as shown in the truth tables above, depending on the values of inputs A,
B and C and the configured Encoder mode (
One out of N
or
Priority
).
If
Input D
and
Input E
are set to a lower value than the
Value range
parameter
(e.g.
Input E
= 0,
Input D
= 1 and
Value range
= 16-23) all outputs are Low
independent of the configured Encoder mode (
One out of N
or
Priority
).
If
Input D
and
Input E
are set to a higher value than the
Value range
parameter
(e.g.
Input E
= 1,
Input D
= 1 and
Value range
= 16-23) …
– in
One out of N
mode, all outputs are set to Low,
– in
Priority
mode, all outputs are set to High.
Figure 124:
Combination of four Binary
decoder function blocks
Table 58:
Value range of the Binary
decoder function block
depending on input D
Table 59:
Value range of the Binary
decoder function block
depending on inputs D and
E
Содержание SW1DNN-WS0ADR-B
Страница 2: ......
Страница 287: ...Chapter 15 284 Annex 15 Annex 15 1 Example application reports 15 1 1 Example application Newspaper palletizer ...
Страница 288: ...Chapter 15 285 Annex ...
Страница 289: ...Chapter 15 286 Annex ...
Страница 290: ...Chapter 15 287 Annex ...
Страница 291: ...Chapter 15 288 Annex ...
Страница 292: ...Chapter 15 289 Annex ...
Страница 293: ...Chapter 15 290 Annex ...
Страница 294: ...Chapter 15 291 Annex ...
Страница 295: ...Chapter 15 292 Annex ...
Страница 296: ...Chapter 15 293 Annex ...
Страница 297: ...Chapter 15 294 Annex ...
Страница 298: ...Chapter 15 295 Annex 15 1 2 Example application Wood scanner ...
Страница 299: ...Chapter 15 296 Annex ...
Страница 300: ...Chapter 15 297 Annex ...
Страница 301: ...Chapter 15 298 Annex ...
Страница 302: ...Chapter 15 299 Annex ...
Страница 303: ...Chapter 15 300 Annex ...
Страница 304: ...Chapter 15 301 Annex ...
Страница 305: ...Chapter 15 302 Annex ...
Страница 306: ...Chapter 15 303 Annex ...
Страница 307: ...Chapter 15 304 Annex 15 1 3 Example application Ramp down detection ...
Страница 308: ...Chapter 15 305 Annex ...
Страница 309: ...Chapter 15 306 Annex ...
Страница 310: ...Chapter 15 307 Annex ...
Страница 311: ...Chapter 15 308 Annex ...
Страница 312: ...Chapter 15 309 Annex ...
Страница 313: ...Chapter 15 310 Annex ...
Страница 314: ...Chapter 15 311 Annex ...
Страница 316: ...Chapter 15 313 Annex 15 3 Precautions 1 Edit a CSV file exported from Setting and Monitoring tool in a text editor ...
Страница 321: ......