1. Program the following tank filling process according to the following scenario:-

• Press StartPB to operate the process, if StopPB is pressed any time, the whole process should be shut down the process should go according to the following steps:-
1) Solenoid A is energized for 2 min to fill the tank.
2) Once full, turn solenoid A off, and turn on the motor of the mixer for 13 min then stop it.
3) Solenoid B then should be energized for 6 min to empty the tank.
4) add comments and descriptions, do not use addresses only descriptions.
• Draw the Input/Output module diagram using 120 rms AC power L1 & L1 control voltage.

1. Declare variables and initialize timers

2. Wait for StartPB to be pressed
3. Energize Solenoid A for 2 minutes
4. Turn off Solenoid A
5. Start mixer motor for 13 minutes
6. Stop mixer motor
7. Energize Solenoid B for 6 minutes
8. Check for StopPB press during any step and shut down process if pressed

Input/Output Module Diagram:
- Input:
- StartPB (Push Button)
- StopPB (Push Button)
- 120V AC Power (L1)
- Control Voltage (L2)
- Output:
- Solenoid A (2 minutes)
- Mixer Motor (13 minutes)
- Solenoid B (6 minutes)