Just a quick question about Gcode. I’m trying to introduce a procedure at the start of each new layer for a certain part in simplify3d and I need to bookmark the toolhead position, move to start position, wait for perhaps 5 seconds then return to the bookmarked position ready to continue with the print.
I’m seeing the M114 and M128 commands are both used to get the current position but how can I use that to create a bookmark?
I don’t want to just insert a wait command between lines without moving away else the hot end will remain on the model and likely cause damage.
I could manually insert commands at each layer in a text editor whereby I can mimic the last move command without extrusion to arrive at the correct position but that would be a right pain in the extruder!
Any ideas guys?