Reflex function block: Command-counting
(Original Document)
Role
This function is used to decect a th threshold in order to command a positioning action.
Structure
The table below shows the block's different interfaces.
Name
Meaning
Illustration
Cde
Command input.
Reset
Outputs x and x Aux are set to 0.
Up
Counting input.
x
Block's physical output.
x Aux
Block's internal auxiliary output.
Operation
This table describes the different operating phases of the command-counting function.
Phase
Description
1
Counter initialized to 0 on the rising edge of the Reset input.
2
On the rising edge of the Cde input, the x input changes to 1.
On every rising edge of the Up input, the counter is increased.
3
When threshold th is reached, or if input Cde changes to 0, outputs x and x Aux change to 0.
Note: Input Cde does not influence the counting carried out on the rising edge of the Up input.
Illustration
The illustration below shows the trend diagram of the command-counting function block.