FIGURE 53 LADDER PROGRAM FOR THE SHIFT AND CLOCK PROGRAM
THE SIMULATION OPTION IS SELECTED:
Figure 54 SIMULATING THE LADDER PROGRAM
ERROR AND DEBUGGING: Once the simulation has started it checks for the errors in the ladder diagram, address etc. if there is an error, the output cannot be processed until the error is rectified.
REMOVING THE DEFECTIVE PRODUCTS:
Figure 55 REMOVING THE DETECTED BOTTEL 1 Figure 56 REMOVING THE DEFECTED BOTTLE 2
INPUT ADDRESS OUTPUT ADDRESS 0.01 – defected bottle Shift 0.02 – shift and counter Shift 0.03 Shift 10.00 100.01 10.01 100.02 10.02 100.03 10.03 100.04
From figure 46, The switch 0.01 is the defected sensor which identifies the defected products, …show more content…
The product does moved to the next bit of the conveyor belt (100.02)
\Figure 57 CHANGING THE SET VALUE TO REMOVE THE DEFECTED PRODUCTS
From figure 48, The same process repeats to remove the defected products. Until the defect sensor is turned off, the products will be detected as defective and simultaneously the input (0.02) should be turned on and off to visualize every shift in the conveyor belt.
INPUT Count for turning on the shift 0.02(on/off)
SHIFT COUNT COIL ADDRESS OUTPUT
0.01 on 1st 1 100.01 On 0.01 on 2nd 1 100.02 On 0.01 on 3rd 1 100.03 On 0.01 on 4th 1 100.04 On
SHIFTING THE OBJECTS AFTER EMOVING THE DEFECTED PRODUCTS
Figure 58 A) TURNING OFF THE DEFECT SENSOR B) REMOVING NON-DEFECTIVE PRODUCTS
From figure 47, Once the defect sensor is turned off (0), the defected products are removed and the conveyor belt shifts the non-defective product and removes the defected products. Compared to A and B, when the sensor is tuned off, one defective product is removed.
From figure 50, The non-defective products are shifted and the defective products are removed. The input 0.3 is the reset switch which resets the entire