I need some gcode s...
 
Notifications
Clear all

I need some gcode schooling...

6 Posts
4 Users
0 Likes
866 Views
(@brotten)
New Member
Joined: 3 years ago
Posts: 3
Topic starter  

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.

This topic was modified 3 years ago 2 times by brotten

   
Quote
Topic Tags
BigBrain3D
(@bigbrain3d)
Supreme moderator Admin
Joined: 4 years ago
Posts: 355
 

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?

 


   
ReplyQuote
(@brotten)
New Member
Joined: 3 years ago
Posts: 3
Topic starter  

@bigbrain3d

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?


   
ReplyQuote
BigBrain3D
(@bigbrain3d)
Supreme moderator Admin
Joined: 4 years ago
Posts: 355
 

@brotten

Printing from the USB or SD card should work either way.


   
ReplyQuote
(@alexievici)
Member
Joined: 3 years ago
Posts: 1
 
Posted by: @brotten

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). 

Hello, I'm having exactly the same issue, printer is Prusa MK3s stock.


   
ReplyQuote
(@andrew-kaplan)
Member
Joined: 3 years ago
Posts: 4
 

On my Prusa MK3S, I needed to first a) load the filament to the nozzle and b) add a gcode command to set the temperature at the very beginning:

 

M109 S215 ; set extruder temp to 215 for PLA

 


   
ReplyQuote
Share: