Send GCode via serial line
Hi everybody,
need checksum, or /n or ....
I am working on a computer project and I have to send codes (M105 for example) to my 3D printer.
I work in C Sharp but I have some problems:
Whenever I send a code, I have a response of the type "Resend". I think that what I send should not be correct!
To send the code M105, what to send exactly on the serial port?
serial.WriteLine ("M105"); ??
need checksum, or /n or ....
I am in 115200, n, 8.1
Where can i found a documention on the protocole to use
Please, i really need help.
Thank's for all
Where can i found a documention on the protocole to use
Please, i really need help.
Thank's for all
Comments
shows how it should work.
Checksum is not required. You can simply use the arduino ide serial monitor for testing with that baud rate.
Ascii commands have to be terminated by \n or \r\n. The resend comes only if you used line numbers before and that had problems. So with own software only happens if printer does not reset on connect and was in error state when deconnecting.
Now it's ok but i dont no why !!
}
Thank's again.
Nicolas