Configuration of the Main Type Single Phase in One-Shot Mode

Procedure

Step

Action

1

In the Devices tree, double-click MyController > IO_Bus > Module_x > Counters.

Result: The 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 and click anywhere in the configuration window.

Result: The configuration parameters appear in the Counters 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 One-shot.

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

Enter the value of the Range > Preset parameter to set the initial counting value of the Preset function.

8

Optionally, you can enable these functions:

oPreset function

oEnable function

oCapture function

oComparison function

9

Optionally, select an output to use as the Reflex Output. This reflex output is used when the Stop event is triggered.

NOTE: This option is only available for TM3XF• expansion modules, which support external events.

10

Optionally, set the value of the Stop > Stop Event parameter to Yes to enable an external event when the counter stops at 0. In Stop Event Name, enter the name of the external event to reference in a task when the Stop event is triggered.

NOTE: This option is only available for TM3XF• expansion modules, which support external events.