FB_LatchTrigger
Extends the FB_Trigger class by a memory function of the edges.
Syntax:
FUNCTION_BLOCK FB_LatchTrigger EXTENDS FB_Trigger
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
LF | BOOL | Get | FALSE | A falling edge was present at the input signal. |
LR | BOOL | Get | FALSE | A rising edge was present at the input signal. |
Methods
Name | Description |
---|---|
Reset() | Resets LF and LR. |
Interfaces
Type | Description |
---|---|
I_LatchTrigger | Standard interface on FB_LatchTrigger |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.5.0) |