PLC Programming for Automatic Conveyor Belt

First of all let us understand the logic and hardware section. We will be having two push buttons for START and STOP , Two
limit switches and one VFD . Whenever we push the Start Button then the RUN command will go to VFD and Motor will start
and in turn conveyor moves. Here Note That :- For the first time Conveyor will move in right direction i.e Motor forward and after
that whenever its START again then it will resume the direction to which it was going. As the conveyor reaches the Right extreme
position the signal will come to PLC and instantly the REVERSE command will go to drive , so motor will first decelerate and then
will change direction and conveyor will start coming to left and process continues on. This logic of conveyor movement is employed
in almost all the major industries for transfer of objects/products from one place to another. However the selection of right Motor
rating is a crucial factor in designing conveyor application.