E-Stop Reset by Python

General discussion of the MCP motion controller product line
Post Reply
fausto.tromba
Posts: 37
Joined: Wed Jul 31, 2019 7:24 am
E-Stop Reset by Python

Post by fausto.tromba »

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: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: E-Stop Reset by Python

Post by Basicmicro Support »

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