SF_R_TRIG (FB)
Description of the function block
Tip
The version of the function block as described here corresponds to the latest version of the function block in Version list of function blocks.
Tip
SF_R_TRIG is a function block from the SafetyStandard library. It is an extension of R_TRIG, a standard IEC 61131-3 function block. The SF_R_TRIG function block contains safety-related data types (prefix: SAFE).
This function block detects a rising edge.

Name | Data Type | Initial Value | Description, parameter values |
|---|---|---|---|
|
|
| Input signal checked for rising edge. |
Name | Data Type | Initial Value | Description, parameter values |
|---|---|---|---|
|
|
|
|
The output Q is TRUE only if CLK = TRUE and was FALSE at the previous call of the function block. In all other cases, Q returns the value FALSE.