I need some gcode schooling...
I have the mechanism completed and installed, but cannot understand how the purge deployment location test is supposed to work?
;**Begin purge deployment location test**
G28 X ;home X
M907 X850 ;set motor current
G1 X200 F12000 ;move to position slow
G4 S0.1 ;momentary pause <-- At this point, the extruder has moved partially across the x-axis which makes sense to me.
G1 X250 F12000 ;depress action arm fast <-- this command sends the extruder to the right and fully depresses the action (nozzle has gone past center of tack).
G1 X256 F1000 ;Change this line (move nozzle over tack slow) <-- nothing happens from here on out. Isn't this command attempting to push the extruder further past the tack?
G4 S2 ;momentary pause
M907 X550 ;set motor current back
G1 X100 F12000 ;move to center of X axis <-- same thing, isn't it still pushing the extruder more positive?
;**End purge deployment location test**
Sorry to be dense.
Have you tested the purge location? What was the X position you came up with?
G1 X250 F12000 ;depress action arm fast <- this line should be 6mm less than the next
G1 X256 F1000 ;Change this line (move nozzle over tack slow) <- X256 needs to be updated to the position exactly over the center of the tack.
G1 X100 F12000 ;move to center of X axis <- with absolute positioning this command will move X to 100 which is the middle of the bed on a Prusa i3.
What kind of printer do you have? Do you use absolute positioning or relative positioning?
I have a Prusa Mk3s. The absolute/relative question helped, I added a G90 command and it now functions as expected.
I’m writing the code into a file on the printer and then using the “print from sd card” to execute it. Should I be using a different method?