Discrete Control Condition function block configuration and execution

Reset the function block

The block resets when an operator manually sets the parameter RESET_D. When RESET_D transitions from False to True, the interlock first out output I_FIRST_OUT clears and the interlock conditions that are latched and no longer active are unlatched.

When RESET_D is True, it is set back to False at the end of execution.