R_TRIG_FUN

Rising edge trigger

This is a user-defined function from a system function block. R_TRIG_FUN (rising edge trigger) allows you to recognize a rising edge at an input.

Parameters

Input

CLK (BOOL)

signal input

detects rising edge for clock

Input/output

dutInstance(R_TRIG_FUN_INSTANCE_DUT)

Internal memory containing the internal values and states, which corresponds to the instance memory of the associated FB.

Output

Q (BOOL)

signal output

is set for each rising edge at the signal input CLK (clock)

Remarks

The output Q of a function R_TRIG_FUN remains set for a complete PLC cycle after the occurrence of a rising edge (status change FALSE -> TRUE) at the CLK input and is then reset in the following cycle.

Related topics:

Modified on: 2021-03-30Feedback on this pagePanasonic hotline