Mitsubishi plc programming Ladder diagram: motor is rotating for 10 seconds, inversion for 8 seconds, cycle

Ladder diagram:

Press X0, M0 is energized and self-locked.
At the same time, KT1 is turned on and Y0 is output. At this time, the motor is rotating 10S.

When the 10S time is up, T1 disconnects YO, and M1 is powered on and locked.

At the same time Y1 output, the motor is reversed.

KT28 seconds to the time, M0 reset, at this time a working cycle is over, automatically enter the next cycle.