• User guide
  • API Reference
Show / Hide Table of Contents
  • TcLogLib
    • Constants
      • Constants
    • Logger
      • TcLog
      • TcLogCore
      • TcLogTrig
      • ErrorCodes
      • LogLevels
      • RollingIntervals
      • Error
      • LoggingConfiguration
      • ILog
      • ILogCore
    • Utils
      • AnyToString
      • DateTime

TcLogTrig

Inheritance
TcLogLib.TcLog
TcLogLib.TcLogTrig
Inherited Methods
TcLogLib.TcLog.AppendAny
TcLogLib.TcLog.AppendString
TcLogLib.TcLog.AppendVariable
TcLogLib.TcLog.Debug
TcLogLib.TcLog.Error
TcLogLib.TcLog.Fatal
TcLogLib.TcLog.Information
TcLogLib.TcLog.Init
TcLogLib.TcLog.InitializeLogData
TcLogLib.TcLog.OnCondition
TcLogLib.TcLog.SetLogger
TcLogLib.TcLog.ShortenInstancePath
TcLogLib.TcLog.ToAdsLog
TcLogLib.TcLog.ToCustomFormat
TcLogLib.TcLog.Warning
Implements
TcLogLib.ILog
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.
In this article
Back to top Documentation powered by zkdoc