Question 6: A PLC is used to control the sequence in an automatic drilling operation. A human operator loads and clamps a raw workpart into a fixture on the drill press table and presses a start button to initiate the automatic cycle. The drill spindle turns on, feeds down into the part to a certain depth (the depth is determined by a limit switch), and then retracts. The fixture then indexes to a second drilling position, and the drill feed-and-retract is repeated. After the second drilling operation, the spindle turns off, and the fixture moves back to the first position. The worker then unloads the finished part and loads another raw part.
(a) Determine the input/output variables for the PLC.
(b) Determine the states for the operation of the system.
(c) Write out the sequential function chart program to control this automated drill.
(d) Write out the state machine and the relevant code to control this automated drill.