Monitor current gcode location

Code hacking talk

Monitor current gcode location

Postby rjpope42 » 2015-Mar-Wed-17-Mar

Hi all, sorry if this is a common thing, I did search and could not find.

I'm trying to see if there is an easy way to monitor what the printers current location in the gcode file is.

I'm trying to work on a project that would touch different sharpies to the filament based on where it is going to be extruded at, so you can print colored patterns, this seemed like a logical place to start.

Any help or advice is appreciated.
If you're curious I'm an EE with decent coding and some micro controller experience
Thanks!
  • 0

rjpope42
Waiting to connect to printer...
 
Posts: 7
Joined: 2014-Dec-Sat-10-Dec
Reputation: 0

Monitor current gcode location

Sponsor

Sponsor
 

Re: Monitor current gcode location

Postby RetireeJay » 2015-Mar-Wed-19-Mar

At the bottom of the Repetier screen, it tells you what layer it's on.

My experience in swapping different colored filaments is that it takes up to 100mm of incoming 3mm filament to completely flush out all of the previous color. So I suspect that putting a sharpie against the filament is not going to give you very sharp boundaries between colors.
  • 0

Printrbot Plus operational January 2013
Brass threaded rods (5/16" X 18) & nuts for Z axis
GT2 belts & pulleys
Cable chain to reduce probability of fatigue failure in wires
E3D V5 Hot End, 0.4mm nozzle, also 0.8 and 0.25 in use occasionally
PB fan mount + 40mm fan -- using printed mount adapter, not the E3D supplied fan
Injection molded extruder gears
Optical Z "endstop" (custom designed and built)
Have used many pounds of T-Glase filament. Now also doing some work with Ninjaflex SemiFlex
Print on glass with Scotch Craft Stick or other glue stick
User avatar
RetireeJay
My next printer is...
 
Posts: 4797
Joined: 2013-Jan-Wed-13-Jan
Location: Greenville, SC
Reputation: 477

Re: Monitor current gcode location

Postby rjpope42 » 2015-Mar-Wed-19-Mar

Thanks, but how would one get that information from the printer if they were doing a print from SD card or using a different slicer?

Maybe something like M27? but I was looking for something more versatile, like an instruction log on the printrboard.


and thanks, I'll look into testing color changes
  • 0

rjpope42
Waiting to connect to printer...
 
Posts: 7
Joined: 2014-Dec-Sat-10-Dec
Reputation: 0


Return to Hack talk

Who is online

Users browsing this forum: No registered users and 2 guests