The next tasks are used in different steps of the grafcet.
The action associated to the Initial step is as follows:
The action associated to the Init_Pump step is as follows:
The action associated to the End_Alarm step is as follows:
The action associated to the Pump_Flow_Reduction step is as follows: