Operating Modes, parameters and commands
7.4 Measuring modes
FM 350-1 Counter module
Manual, 05/2011, A5E03648639-01
151
Opening and closing the SW gate
6:B*$7(
3XOVHV
6HWELW
5HVHWELW
0HDVXUHPHQW
Figure 7-37 Opening and closing the SW gate
You open the SW gate to start the measurement by setting input parameter SW_GATE at
FC CNT_CTL1. You close the SW gate to stop the measurement by resetting SW_GATE.
The measured value which is valid at the time the SW gate is closed is retained at the
checkback interface.
You can retrigger the closed gate by setting input parameter SW_GATE once again. Edge-
triggered opening and closing of the SW gate is not supported.
SW gate status
The status of the SW gate is indicated at the STS_SW_G bit in the DB of FC CNT_CTL1.
Stopping measurements using the gate stop function
You can also use the gate stop function to stop a measurement, irrespective of any signal or
software gate states. This is done by setting input parameter GATE_STP at FC_CNT_CTL1.
When this parameter is reset, the gate can only be opened by setting a positive edge at input
DI-Start (HW gate), or by setting input parameter SW_GATE.
Hardware interrupt
Opening and closing of a HW or SW gate can be used to trigger a hardware interrupt (see
the chapter Triggering of a Hardware Interrupt (Page 156).)
Defaults
The SW gate is active by default.
Содержание SIMATIC S7-300 FM 350-1
Страница 8: ...Table of contents FM 350 1 Counter module 8 Manual 05 2011 A5E03648639 01 ...
Страница 168: ...Encoder signals and their evaluation 8 4 Signal evaluation FM 350 1 Counter module 168 Manual 05 2011 A5E03648639 01 ...
Страница 186: ...Technical data 11 2 Technical data FM 350 1 Counter module 186 Manual 05 2011 A5E03648639 01 ...
Страница 188: ...Replacement parts FM 350 1 Counter module 188 Manual 05 2011 A5E03648639 01 ...
Страница 190: ...References FM 350 1 Counter module 190 Manual 05 2011 A5E03648639 01 ...
Страница 194: ...Glossary FM 350 1 Counter module 194 Manual 05 2011 A5E03648639 01 ...