R_TRIG block
Short summary
Name |
|
→POU type |
|
Category |
|
Conform to →IEC-standard |
no restrictions |
Graphical interface |
|
Available since |
version 1.4.1 (for Neuron Power Engineer) |
Functionality
This block detects a rising edge.
→Turning input CLK
on triggers output Q
to return value TRUE
(or an equivalent) from one execution of the function block to the next. Output Q
returns value FALSE
(or an equivalent) at the next execution.
Observe:
If the input CLK
is connected to value TRUE
, output Q
returns TRUE
after its first execution following a →cold restart. Output Q
returns FALSE
following all subsequent executions.
In-/outputs
|
Identifier |
Description |
|
---|---|---|---|
Inputs: |
|
|
current value |
Outputs: |
|
|
flag showing rising edge detection |
Input EN
and output ENO
are available when →calling the block. See "Execution control: EN, ENO" for information on input EN
and output ENO
.
See:
-
"Blocks for safe logic" whether this block is supported for developing safety-relevant applications.
-
"Highlighting safe logic in the FBD-editor" for the effects when using the block as a block for safe logic.
Example for usage within ST-editor
|
When creating your application within the ST-editor, enter a call of a block by typing the text as requested by the syntax or use Content Assist.