Text: Draw the ladder logic program
A simple farm milk packing system has one proximity sensor (using one of the buttons) to count the number of milk bottles, one start pushbutton, one stop pushbutton, and one reset pushbutton (using one of the switches) to reset counters. When the start button is pressed, the assembly line starts. After 5 milk bottles are detected by the proximity sensor, the packaging machine will be initiated to pack them into a box (i.e., each package/box must contain 5 bottles). Every time when 4 boxes are packed, the system has to stop automatically in order to let workers move those boxes off the assembly line. Please use PLC counters to complete the following tasks:
(1) Counting 5 bottles for each box;
(2) Counting 4 boxes;
(3) Counting the total number of boxes filled in a day.