
This is how the FM 450-1 counts
2.2 Gate functions
Counter module FM 450-1
22
Manual, 02/2014, A5E03648739-02
2.2
Gate functions
Counting with gate functions
Many applications require that the counting process should be started or stopped at a
specifically defined point in time, depending on other events. In the case of the FM 450-1
starting and stopping the counting process like this take place via a gate function. If the gate
is opened, count pulses can reach a counter and the counting process is started. If the gate
is closed, count pulses can no longer reach the counter and the counting process is stopped.
Software gate and hardware gate
The module possesses two gate functions for each counter:
●
A software gate (SW gate) which is controlled via the user program in the CPU.
●
A hardware gate (HW gate) that is controlled via the 1I0 and 1I1 (counter 1) and/or 2I0
and 2I1 (counter 2) digital inputs on the module. When assigning parameters for the FM
450-1 you determine if the operation of the hardware gate is to be level controlled or edge
controlled.
Example
When the gate signal is set, the gate is opened and the count pulses are counted. If the gate
signal is taken away, the gate is closed and the count pulses are no longer picked up by the
counter. The counter status remains constant.
The figure shows a gate opening and closing and the pulses being counted:
Figure 2-4
Opening and closing a gate
Ending counting process with the gate stop function
You can end the counting process when counting with the SW gate and when counting with
the HW gate with the respective gate stop function. For this purpose you set the GATE_STP
input parameter of the FC CNT_CTRL.
Содержание simatic s7-400 FM 450-1
Страница 8: ...Table of contents Counter module FM 450 1 8 Manual 02 2014 A5E03648739 02 ...
Страница 18: ...Product Overview 1 5 The FM 450 1 software Counter module FM 450 1 18 Manual 02 2014 A5E03648739 02 ...
Страница 40: ...Wiring 4 4 Module status after power is switched on Counter module FM 450 1 40 Manual 02 2014 A5E03648739 02 ...
Страница 54: ...Program 6 5 Technical specifications of the blocks Counter module FM 450 1 54 Manual 02 2014 A5E03648739 02 ...
Страница 102: ...Encoder signals and their evaluation 9 5 Signal evaluation Counter module FM 450 1 102 Manual 02 2014 A5E03648739 02 ...
Страница 114: ...Errors and diagnostics 11 5 Operator error Counter module FM 450 1 114 Manual 02 2014 A5E03648739 02 ...
Страница 120: ...Spare parts Counter module FM 450 1 120 Manual 02 2014 A5E03648739 02 ...
Страница 122: ...References Counter module FM 450 1 122 Manual 02 2014 A5E03648739 02 ...
Страница 126: ...Glossary Counter module FM 450 1 126 Manual 02 2014 A5E03648739 02 ...
Страница 130: ...Index Counter module FM 450 1 130 Manual 02 2014 A5E03648739 02 ...