RS_FUN

Reset/set

This is a user-defined function from a system function block. RS_FUN (reset/set) allows you to both reset and set an output.

Parameters

Input

Set (BOOL)

Set

The output Q1 is set for each rising edge at S if RESET is not set.

Reset (BOOL)

Reset

The output Q1 is reset for each rising edge at R1.

Input/output

dutInstance(RS_FUN_INSTANCE_DUT)

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

Output

Q1 (BOOL)
  • set if a rising edge is detected at Set and if Reset is not set

  • reset if a rising edge is detected at Reset.

  • reset if a rising edge is detected at both inputs.

Time chart

Related topics:

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