Welcome! Log In Create A New Profile

Advanced

VB.net sending G-Code

Posted by s_fr 
VB.net sending G-Code
August 29, 2016 01:13PM
Hey Guys!

I'm trying to send a simple G-Code to my Prusa i3 via SerialPort in vb.net. I've tried it with

SerialPort1.write("G28") << going home

my SerialPort Settings are:

BaudRate: 115200
DataBits: 8
DiscardNull: False
DtrEnable: False
Handshake: None
Parity: None
ParityReplace: 63
PortName: COM4
ReadBufferSize: 4096
ReadTimeout: -1
ReceivedBytesThreshold: 1
RtsEnable: False
StopBits: One
WriteBufferSize: 2048
WriteTimeout: -1

And if I send some G-Code it does absolutely nothing. Is here someone who did something like that before?


King regards
Re: VB.net sending G-Code
August 29, 2016 01:54PM
You might need some sort of carriage return or line feed or end of transmission marker for the printer to know it got a complete command and it's not waiting for more before processing.
Sorry, only registered users may post in this forum.

Click here to login