Can't control Prusa's extruder via control panel; works fine during a print
Reported by Nathaniel | October 5th, 2011 @ 06:04 AM | in ReplicatorG 27
I just got done making my Prusa Mendel (Sanguinololu+Sprinter) work with Replicatorg-26, and everything works pretty well except for one problem: I can't seem to manipulate the extruder motor with the control panel. None of the controls for Motor Speed, Extrude Duration, or Motor Control appear to have any effect. However, the extruder works just fine when I initiate the print! Seems like a bug, and it's 100% reproducible for me.
I'm attaching my slightly-modified reprap.xml file.
Comments and changes to this ticket
-

Nathaniel October 5th, 2011 @ 10:36 PM
I should mention that this is on Mac OS X Lion / 10.7.1 / Build 11B26.
-

Michael Creamer October 6th, 2011 @ 12:33 PM
I have the same problem with RepG26 on Sprinter + Sanguinololu (win7).
Everything works fine except extruder motor controls in the control panel. -

-

Paul Waterfield October 15th, 2011 @ 12:54 PM
Same problem here, repg26 (and 25) on Ubuntu, gen7 electronics and teacup firmware.
-

Nathaniel October 17th, 2011 @ 05:57 AM
ExtruderPanel.java has a comment on line 627 that correctly predicts that a change will break manual extruder control with machines using the RepRap5D driver:
/ Handle stepper extruder commands / if (s.equals("forward")) {
if (this.toolModel.getMotorStepperAxis() != null) { machine.runCommand(new replicatorg.drivers.commands.SetMotorDirection(AxialDirection.CLOCKWISE)); // TODO: Reverted to separate commands for enable + extrude + disable. This probably breaks 5D machine.runCommand(new replicatorg.drivers.commands.EnableMotor()); machine.runCommand(new replicatorg.drivers.commands.Delay(extrudeTime*1000)); machine.runCommand(new replicatorg.drivers.commands.DisableMotor()); }I could be wrong, but it appears that the 5D driver supports this all in one command. Maybe for 5D drivers, this could this be changed to:
machine.runCommand(new replicatorg.drivers.commands.EnableMotor(extrudeTime*1000));
-

Nathaniel October 18th, 2011 @ 02:06 AM
I forked Replicatorg and have a commit that fixes this problem, tested on my local setup.
https://github.com/Pointedstick/ReplicatorG/commit/3e5368b0343842c8...
-

Caleb Cotter October 22nd, 2011 @ 11:59 PM
Hey Guys I fixed the reprap.xml!
http://www.thingiverse.com/thing:12781
All of the instructions are there!
Cheers!
~ccotter247 -

Adam Mayer October 24th, 2011 @ 03:18 PM
- → State changed from new to open
-

Adam Mayer October 24th, 2011 @ 03:48 PM
- → Milestone set to ReplicatorG 27
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
ReplicatorG is an open-source program for controlling CNC devices. It is primarily targeted at 3d additive printing. For details, see http://replicat.org/.