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

TcLogTrig

Namespace
TcLogLib
Extends
TcLogLib.TcLog
TcLogTrig
Inherited Methods
AppendAny
AppendString
AppendVariable
Debug
Error
Fatal
Information
Init
OnCondition
SetLogger
ToAdsLog
ToCustomFormat
Warning
Implements
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.

FUNCTION_BLOCK TcLogTrig EXTENDS TcLogLib.TcLog IMPLEMENTS TcLogLib.ILog

Methods

OnFallingEdge

Logs data on falling edge of CLK.

METHOD OnFallingEdge (
 CLK : BOOL) : REFERENCE TO TcLog

Inputs

CLK BOOL

Falling edge triggers logging the data.

Returns

REFERENCE TO TcLog

OnRisingEdge

Logs data on rising edge of CLK.

METHOD OnRisingEdge (
 CLK : BOOL) : REFERENCE TO TcLog

Inputs

CLK BOOL

Rising edge logs data.

Returns

REFERENCE TO TcLog
  • Edit this page
In this article
Back to top Documentation powered by zkdoc