GithubHelp home page GithubHelp logo

Manual entry is ok, stream is not about grbl HOT 7 CLOSED

grbl avatar grbl commented on June 18, 2024
Manual entry is ok, stream is not

from grbl.

Comments (7)

simen avatar simen commented on June 18, 2024

Have you pulled the very latest version of stream.rb? I recently changed the protocol slightly.

Can you paste the output from stream?

from grbl.

avanderpluijm avatar avanderpluijm commented on June 18, 2024

yes, using the latest version. (also tried the previous version which was working, with no acceleration).

I am sending this test code:
G21 G90
(profile 1)
G0 Z15
G17
M3
G0 X0.7695431472081218 Y-2.014467005076142
G1 Z-1.5 F100
G1 X160.7690355329949 Y-2.015228426395939 F500
G3 X163.2690355329949 Y0.4847715736040609 I0 J2.5
G1 X163.2690355329949 Y83.27664974619289
G3 X160.7690355329949 Y85.77664974619289 I-2.5 J0
G1 X0.7690355329949239 Y85.77664974619289
G3 X-1.7309644670050761 Y83.27664974619289 I0 J-2.5
G1 X-1.7309644670050761 Y0.4847715736040609
G3 X0.7690355329949239 Y-2.015228426395939 I2.5 J0

The result differs from time to time. When I do an Arduino reset before most of the times it shows:
G21G90
Grbl >>
Grbl >> Grbl 0.6b
Grbl >> '$' to dump current settings
_
So it looks like the code is interfering the startup. Stopping and starting again (no reset):
Processing file profile.gcode
G21G90
_
or
Processing file profile.gcode
G21G90
Grbl >> ok
G0Z15F100
Grbl >>
_

Trying with stream.rb file -p gives some more response (until halfway) but is not the desired method i guess.

from grbl.

simen avatar simen commented on June 18, 2024

Thanks. I'll have a look at this tonight

from grbl.

avanderpluijm avatar avanderpluijm commented on June 18, 2024

well, looks like the stream.rb is not the problem. Probably it has something to do with the Arduino. I upgraded a 168 to 328. 168 version was ok, this one gives troubles.
I will let you know what happens.

from grbl.

avanderpluijm avatar avanderpluijm commented on June 18, 2024

sorry, accidently closed this issue. I guess my issue is more related to my own computer than grbl/stream or the arduino. It worked once yesterday, but it is unclear why...
Now first some testing with other computers.

from grbl.

avanderpluijm avatar avanderpluijm commented on June 18, 2024

ok, I seem to have tracked down the issue finally. Somehow the G3 command gave problems. I believe it should work because it is a A328, but that needs some more testing.
I made an AIR application, with a socket connection, and serproxy for the usb-air connection. It seems that the 'ok' response is sometimes received as 'o\n' and 'k\n'. So the loop i wrote stopped since it didn't receive 'ok' anymore. This can be addressed by implementing a handshake in GRBL, as mentioned in another issue.

So, my issue is closed ( for now:) )

from grbl.

simen avatar simen commented on June 18, 2024

Thanks. I'll have a look at it.

from grbl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.