Parameters for comparison
You can configure the following for the counter:
● "Set output DQ" parameter:
Evaluation of the comparison value:
For settings, see the following table "Configure evaluation of the comparison value"
● "DQ channel" parameter
Output the status at a DQ channel (parameter requires a free channel for the output).
● "Hardware interrupt" parameter
Generates a hardware interrupt when the STS_DQ status bit changes from 0 to 1 (see
following table).
Configure evaluation of the comparison value
With the "Set output DQ" parameter, you determine when the STS_DQ status bit is set.
The parameter only affects the status bit STS_DQ.
Table 5-3
"Set output DQ" parameter
Value
Setting
Behavior; condition
1
"Between comparison
value and high limit"
● Status bit STS_DQ = 0; if counter reading < comparison value
● Status bit STS_DQ = 1; if counter reading >= comparison value
See the following figure "STS_DQ bit between comparison value and high counting
limit"
2
"Between comparison
value and low limit"
● Status bit STS_DQ = 1; if counter reading < comparison value
● Status bit STS_DQ = 0; if counter reading >= comparison value
See the following figure "STS_DQ bit between comparison value and low counting
limit"
Setting the STS_DQ status bit between the comparison value and high counting limit
If the setting "Between comparison value and high limit" is selected for the parameter "Set
output DQ", the status bit STS_DQ is set in the following case:
● Counter reading >= Comparison value
7LPH
+LJKFRXQWLQJOLPLW
&RPSDULVRQYDOXH
/RZFRXQWLQJOLPLW
+DUGZDUHLQWHUUXSW
676B'4
Figure 5-3
STS_DQ bit between comparison value and high counting limit
Operating modes and functions
5.3 Counting
SIMATIC CFU
42
Commissioning Manual, 08/2019, A5E39252870-AD
Содержание Simatic CFU
Страница 8: ...Table of contents SIMATIC CFU 8 Commissioning Manual 08 2019 A5E39252870 AD ...
Страница 10: ...Security information SIMATIC CFU 10 Commissioning Manual 08 2019 A5E39252870 AD ...
Страница 16: ...What is a Compact Field Unit SIMATIC CFU 16 Commissioning Manual 08 2019 A5E39252870 AD ...
Страница 34: ...Operation planning 4 9 Use in hazardous areas SIMATIC CFU 34 Commissioning Manual 08 2019 A5E39252870 AD ...
Страница 46: ...Operating modes and functions 5 4 Measure frequency SIMATIC CFU 46 Commissioning Manual 08 2019 A5E39252870 AD ...
Страница 54: ...Installation 6 4 Removing the CFU SIMATIC CFU 54 Commissioning Manual 08 2019 A5E39252870 AD ...
Страница 202: ...Appendix A 10 Contact SIMATIC CFU 202 Commissioning Manual 08 2019 A5E39252870 AD ...
Страница 216: ...Glossary SIMATIC CFU 216 Commissioning Manual 08 2019 A5E39252870 AD ...
Страница 220: ...Index SIMATIC CFU 220 Commissioning Manual 08 2019 A5E39252870 AD ...