
Generate hardware interrupt by comparison
With the "Hardware interrupt" parameter you determine whether a hardware interrupt is
generated.
Table 5-5
Hardware interrupt
Parameter
Setting of the parameter
Behavior
Hardware interrupt
● 1 = Comparison event for DQ
occurred
● 0 = Lock
When the parameter is set to 1, a hardware interrupt is gener‐
ated when the STS_DQ status bit changes from 0 to 1.
5.3.5
Loading the count value
Introduction
You can specify the value from which counting is continued for a digital input parameterized as
a counter.
Load counter
You can specify the load value for counting via the user program.
You can find information on the address space in the following sections:
● Section "CFU PA: Address space of the submodule DIQ8 DC24V/0.5A, Counter
● Section "CFU DIQ: Address space of the submodule DIQ16 DC24V/0.5A, Counter
You can find the following parameters in the control interface:
● Load value
● LD_SLOT: Apply load value with rising edge of LD_SLOT as current count value
● SW_GATE: 0 = Stop counting / 1 = Continue counting
Applying the load value takes effect directly and is independent of whether the counter is
currently running.
The following figure shows the change of the count value with control via the user program (load
value) and the effects on the comparison event.
Operating modes and functions
5.3 Counting
SIMATIC CFU
44
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 ...