Configuration of the Frequency Meter Type
Step |
Action |
---|---|
1 |
In the Devices tree, double-click MyController > IO_Bus > Module_x > Counters. Result: Counters editor tab opens for HSC configuration. NOTE: A message appears at the bottom of the configuration screen if the maximum number of HSC Main functions has already been configured. Consider using an HSC Simple function instead. |
2 |
In the Counters editor tab, set the value of the Counting function parameter to Frequency Meter. Result: The configuration parameters appear in the Counters editor tab. |
3 |
If necessary, enter the value of the General > Instance name parameter. NOTE: Instance name is automatically given by the software and can be used as it is for the counter function block. |
4 |
In Counting Inputs > A input > Location select the input to use as the A input. NOTE: A message is displayed at the bottom of the configuration window if no more I/Os are available for configuration. Free up one or more I/Os before continuing configuration of this function. |
5 |
Set the value of the Counting inputs > A input > Filter parameter to reduce the bounce effect on the input. The filtering value determines the counter maximum frequency as shown in the Bounce Filter table. |
6 |
Set the value of the Range > Time base parameter to determine the period during which the number of events is counted. Select the measurement of the update cycle time: o10 ms o100 ms o1000 ms (default value) |
7 |
Optionally, set the value of the Control inputs > EN input > Location parameter to enable the Enable Function. |