E-Stop Reset by Python

General discussion of the MCP motion controller product line
Post Reply
fausto.tromba
Posts: 21
Joined: Wed Jul 31, 2019 7:24 am

E-Stop Reset by Python

Post by fausto.tromba » Tue Feb 25, 2020 2:39 am

How to stop the motor by python? is it possible to receive a code example?
I was reading E-Stop Reset Method, but there is not so much description and the Python library doesn't include the methods.

Thamks

Fausto

User avatar
Basicmicro Support
Posts: 1335
Joined: Thu Feb 26, 2015 9:45 pm

Re: E-Stop Reset by Python

Post by Basicmicro Support » Tue Feb 25, 2020 9:55 am

To Stop the motors as fast as an E-Stop signal would using python, use the DutyM1M2 function. Set duty to 0 for both motors.

Note: E-Stop Reset is to clear an already triggered E-Stop. E-Stop can only be triggered from an external pin.

Post Reply