Configuration of the Main Type Single Phase in Event Counting Mode
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 HSC Main Single Phase. 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 |
Set the value of the General > Counting Mode parameter to Event Counting. |
5 |
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. |
6 |
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. |
7 |
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: o0.1 s o1 s (default value) o10 s o60 s |
8 |
Optionally, set the value of the Control inputs > SYNC input > Location parameter to enable the Preset Function. |