Sasree Automation interview question

How u Rotate the motor in forward and reverse Direction by using PLC logic?