Welcome! Log In Create A New Profile

Advanced

How to change motor direction --> duet3d

Posted by Arnix 
How to change motor direction --> duet3d
November 17, 2018 09:30AM
Hi.
In our new robot design, we have switched position of the motor from left to right side so all the
movement is inverted. Black / green / blue / red is normal connection and i try it to change with green/black/red/blue
but nothing happens. Has someone some suggestion?

This is the motor that am using:
[www.omc-stepperonline.com]

Best regards !
Re: How to change motor direction --> duet3d
November 17, 2018 10:33AM
Chances are that you already have one M569 command per drive in your config.g file. Change S0 to S1 or vice versa in those commands to reverse motor direction.

Alternatively, reverse green/black OR reverse red/blue wires, but not both at once.

Edited 1 time(s). Last edit at 11/17/2018 10:34AM by dc42.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: How to change motor direction --> duet3d
November 19, 2018 07:48AM
I think it's time that i start to believe in Murphy's law :-). Specially when i need to make something in a hurry...
I searched for similar command on google, changed wires ( one pair and then both pairs ) and finally all is in config file.
And pointed out...... Anyhow :-)

Today, we have added additional construction support and reduced the weight for cca 450 grams.
Pickup time from one outer limit to second (container) is 1.7 sec ( at the moment ).

Fine tuning:
Can you please check if the M669 command is correct ( R and A value ) ?
M669 K10 U380 L900 A-20:17 R15 H995 B650 ; B == bed radius= 650 // Height--> H960.7 , R = 20-5 = 15cm
[ibb.co]


Max speed command + 10:1 gearbox :
Am not quite sure how to setup this calculations.
E.g. for testing purposes i have set this command to 100000 and robot is responding to this changes
(after few pickups robot is missing correct start positions, but not much).
I dont know how it's possible that robot responds to this because, i dont think that motor can spin so fast
( 1600 mm/sec ). OK weight of the arms is reduced a lot and whole arms + extruder weight around 800 grams
but this looks very fast, especially with 10:1 gear ratio......Maybe am missing the degrees / min calculation ?

M566 X2000 Y2000 Z2000 E ; Set maximum instantaneous speed changes (mm/min) // DEF = 1200
M203 X100000 Y100000 Z100000 E0 ; Set maximum speeds (mm/min) // DEF == 18000
M201 X8000 Y8000 Z8000 E0 ; Set accelerations (mm/s^2) // DEF == 1200
M906 X2100 Y2100 Z2100 E800 I50 ; Set motor currents (mA) and motor idle factor in per cent --> Changed to I100
M84 S15 ; Set idle timeout..

Best regards !
Arnix

Edited 1 time(s). Last edit at 11/19/2018 08:12AM by Arnix.
Sorry, only registered users may post in this forum.

Click here to login