Make extruder commands come before movement commands- Printable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: General questions about RoboDK (//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK) +——线程:使挤出机命令来在密苏里州vement commands (/Thread-Make-extruder-commands-come-before-movement-commands) |
Make extruder commands come before movement commands-woodsbs-06-21-2022 Hello, We are using robodk to convert gcode into RAPID code for our ABB robot. For extrusion, we have modified the standard ExtruderSpeed output to calculate and output G1 Exxx Fxxx commands to our duet3D board. This works as expected, however, we have run into an issue. If you want to extrude a 30mm line, the gcode might look something like this: G1 X0 E0 G1 X30 E50 The issue is that robodk will then translate this to something like: MoveL(0,0,0) MoveL(30,0,0) ExtruderSpeed(50) Where the extruderspeed command comesafterthe movement speed while what you really want is it for it to comebeforeso itextrudes while moving.Is there a way to change this behaviour such that robodk will output: MoveL(0,0,0) ExtruderSpeed(50) MoveL(30,0,0) ? Thanks for your help! RE: Make extruder commands come before movement commands-robo1973-06-21-2022 Hi !! Can you tell how you send the M codes to the 3D printer Provide an upload program? |