What brand is it?
On my 2017 Four Winds it is a Lci brand. If iti is call their tech support. Very nice people. Last year I had a simular issue with mine. The sent me a new motor no charge, and it was out of warranty. Then to find out the motor wiring is spliced just below the motor inside the awning arm. Its not water proof. So every time it rains water would get into the splice and cause the motor to shut down.
__________________
|