FB_LatchTrigger

FB_LatchTrigger 1:

Extends the FB_Trigger class by a memory function of the edges.

Syntax:

FUNCTION_BLOCK FB_LatchTrigger EXTENDS FB_Trigger

FB_LatchTrigger 2: 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.

FB_LatchTrigger 3: Methods

Name

Description

Reset()

Resets LF and LR.

FB_LatchTrigger 4: 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)