F_TRIG: Recognize negative edge and trigger impulse

The F_TRIG (FB403) block recognizes the negative slope.

Functionality

For a negative slope of input [In], output [Out] is set to [Out] = 1 for the program cycle.

Inputs

Pin

E

Description

In

pa

Input

Outputs

Pin

E

Description

Out

a

Output

Input values

Pin

Description

Data Type

Default value

E.g. Engineering unit or Text group

Min.

Max.

In

Input

Boolean

0 (No)

No, Yes

 

 

Output values

Pin

Description

Data Type

Default value

E.g. Engineering unit or Text group

Min.

Max.

Out

Output

Boolean

0 (Off)

Off, On

 

 

Application

The F_TRIG function block is used for various kinds of control tasks such as to recognize the initial use of a button.

Process response

Initialization response: In the first cycle, Out = 0 (Off); in the second cycle the block is processed using the pending input value.

Troubleshooting

Standard (see General rules and information).