TcLogTrig
Inherited Methods
Implements
Namespace: TcLogLib
Declaration
FUNCTION_BLOCK TcLogTrig EXTENDS TcLogLib.TcLog IMPLEMENTS TcLogLib.ILog
This function block can be used to log on rising or falling edges.
For each signal that should be watched, a separate instance of TcLogTrig
must be created.
Methods
OnFallingEdge
Logs data on falling edge of CLK.
Declaration
{attribute 'hide_all_locals'}
METHOD OnFallingEdge (
CLK : BOOL) : REFERENCE TO TcLog
Inputs
| Name | Type | Description |
|---|---|---|
| CLK | BOOL | Falling edge triggers logging the data. |
OnRisingEdge
Logs data on rising edge of CLK.
Declaration
{attribute 'hide_all_locals'}
METHOD OnRisingEdge (
CLK : BOOL) : REFERENCE TO TcLog
Inputs
| Name | Type | Description |
|---|---|---|
| CLK | BOOL | Rising edge logs data. |