Help with sending gcode direct to a anet A8 please
I would like to send gcode direct to my anet A8, I presently use Repetier to slice STL's made in freecad and send them direct to my A8. This works well and I have had no problems with it.
I am trying to write gcode in notepad and load it into Repetier for printing, this almost works, I can get the files to print but there are a few small issues I would like to iron out.
1. When I turn the printer on and connect Repetier there is a small pause (a few seconds) where the manual control page shows
X: 0.00 Y:0.00 Z:0.00 along the top but then it changes to X: -30.00 Y: -8.00 Z: 0.00
I can't find any setting that causes this and it means that unless I reset it I always start with the head moving to that position + my gcode addresses. Can I stop it altering the start point in Repetier or is there a command that I can put at the start of my gcode that will reset it to 0.00? I think I would prefer to add a command to gcode as I could always do that then but I am assuming it is something in Repetier that can be altered that is causing it? It is not a script in Repetier, I can see those and none of them have any data in them.
2. Is there a better way to write gcode? The manual control page has a line for entering gcode but it only looks to allow 1 line at a time.
I am trying to write gcode in notepad and load it into Repetier for printing, this almost works, I can get the files to print but there are a few small issues I would like to iron out.
1. When I turn the printer on and connect Repetier there is a small pause (a few seconds) where the manual control page shows
X: 0.00 Y:0.00 Z:0.00 along the top but then it changes to X: -30.00 Y: -8.00 Z: 0.00
I can't find any setting that causes this and it means that unless I reset it I always start with the head moving to that position + my gcode addresses. Can I stop it altering the start point in Repetier or is there a command that I can put at the start of my gcode that will reset it to 0.00? I think I would prefer to add a command to gcode as I could always do that then but I am assuming it is something in Repetier that can be altered that is causing it? It is not a script in Repetier, I can see those and none of them have any data in them.
2. Is there a better way to write gcode? The manual control page has a line for entering gcode but it only looks to allow 1 line at a time.
Comments
Server has a g-code script that gets send on connect.
Otherwise in server check Printer Settings->Printer if this matches the park position. But I'm not aware that any g-code in host gets send on connection start, only server does this.
You do not write g-code normally your serlf, that is what slicers du. Anyhow if you want do not use commandline for this. Go to Print Preview->Edit G-Code for this. If there was a g-code loaded you will see it there, but you can remove it. This acts like a program/g-code so printing will send all commands in the editor and will not delete it. Only slicing will delete old g-code there.
If I load a gcode file made in notepad and saved as file.gcode into repetier I can send it to the printer to print so I think it is host to server and server connects to printer.
I have codes in the curaEngine slicer configuration that set the printer up before it starts the print and sends the extruder up high and the bed forward when it finishes but my problem is before I even load a file into repetier, the moment I connect my computer to the printer in Repetier it does as above, starts on X0 Y0 Z0 and after about 5 seconds the manual control page in repetier shows X: -30.00 Y: -8.00 z: -0.00 I can't see where it is getting this from.
When I load an STL file and slice it with the curaEngine in Repetier it starts where I put the STL on the screen.
If I just load my gcode file into Repetier when the print starts it goes to x0 y0 z0 which is so far across the bed.
I want to know where this measurement is coming from and can I stop it?
It looks as if it is something in Repetier.
The edit gcode in repetier looks as if it is what I am wanting for writing gcodes, I will experiment with that as well.
Repetier-Host <-> Repetier-Server <-> Printer
you should check Repetier-Server printer configuration->G-Codes->Event Dependent
There are several g-codes e.g. for connected, start, stop, pause,continue that would be send independent from settings in host.
Normally start g-code contains homing and going to a default position.
Make sure host/server bed position and move area are identical with firmware settings and print size, otherwise sliced object (host) will be not where you expect. Especially if I hear that park position is -30/-8 you have set negative bed edge somewhere originally when the g-code was generated.