The HSCMain_M241
function block.
HSCMain_M241
function block is used to manage a different HSC type.
Step |
Description |
---|---|
1 |
Select the tab in the and click .Select in the list, drag-and-drop the item onto the window. |
2 |
Type the
type instance name (defined in configuration) or select the function block instance by clicking:
![]() Using the input assistant, the HSC instance can be selected at the following path: . |
The tables below describe how the different pins of the function block are used in
type.This table describes the input variables:
Input |
Type |
Description |
---|---|---|
|
|
If |
|
|
Not used. |
|
|
Not used. |
|
|
Not used. |
|
|
Not used. |
|
|
Not used. |
|
|
|
|
|
On rising edge, restarts the internal timer relative to the time base. |
|
|
Not used. |
|
|
Not used. |
|
|
Not used. |
|
|
On rising edge, resets |
|
|
Not used. |
|
|
Not used |
This table describes the output variables:
Outputs |
Type |
Comment |
---|---|---|
|
Reference to the HSC.
To be used with the |
|
|
|
Use the |
|
|
|
|
|
Counter is running |
|
|
Not used. |
|
|
Not used. |
|
|
Not used. |
|
|
Not used. |
|
|
Not used. |
|
|
Set to 1 by the preset of the counter |
|
|
Not used. |
|
|
Not used. |
|
|
Not used. |
|
|
Not used. |
|
|
Not used. |
|
|
Current value of the counter. |