Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Motor timeout (mega)
JvdMeer
Newbie
Posts: 4
Permalink
Post Motor timeout (mega)
on: July 8, 2014, 19:40
Quote

In version 1.1.8 (June 30,2012 blog) an inactivity timeout of 10min was introduced, when it times-out the motors are released in the Arduino-firmware. In principle ok it seems however that the motors are not engaged anymore..... I have included a line: if (!powerIsOn) {engageMotors();} directly at the start of the impl_executeCommand routine in impl_mega.ino seems to solve it....

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Motor timeout (mega)
on: July 8, 2014, 20:54
Quote

Yes this is intended behaviour, once the motors have been disengaged then calibration is lost and it can't be relied on not to scribble all over your drawing, or try and drive off the side or something.

sn

JvdMeer
Newbie
Posts: 4
Permalink
Post Re: Motor timeout (mega)
on: July 10, 2014, 10:51
Quote

Ok, I understand. How can you get the motors to engage again ?
Apart from power-down/up the arduino, maybe a 'set pen position' ?

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Motor timeout (mega)
on: July 11, 2014, 21:57
Quote

Yep, the same thing that you'd need to do when you engage the motors in the first place - set home. 'Set position' actually does the exact same thing, but 'set home' has that pre-set position.

Any time you've lost calibration you need to re-set to the home position anyway though.

sn

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.048 seconds.