FB_Trigger
Combines triggers of type R_TRIG and F_TRIG with object-oriented interface.
Syntax:
FUNCTION_BLOCK FB_Trigger
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
CLK | BOOL | Get, Set | FALSE | Sampled input signal |
FQ | BOOL | Get | FALSE | Input signal has a falling edge. |
Q | BOOL | Get | FALSE | Input signal has a rising or falling edge. |
RQ | BOOL | Get | FALSE | Input signal has a rising edge. |
Methods
Name | Description |
---|---|
Cyclic() | Cycle method by which the signal is sampled |
Interfaces
Type | Description |
---|---|
I_Trigger | Standard interface on FB_Trigger |
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) |