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.
Input
Set
The output Q1 is set for each rising edge at S if RESET is not set.
Reset
The output Q1 is reset for each rising edge at R1.
Input/output
Internal memory containing the internal values and states, which corresponds to the instance memory of the associated FB.
Output
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.