Giter VIP home page Giter VIP logo

Comments (5)

5ocworkshop avatar 5ocworkshop commented on July 21, 2024

Just a reminder that I'm using grblHAL on a Teensy4.1 based board (via USB in this case). Also, I plant to try grbl compatibility mode today and report back as well.

from core.

terjeio avatar terjeio commented on July 21, 2024

What are the commands sent to the controller when using these macros?

Note that grblHAL has support for M6, if this is sent to the controller then it will normally enter tool state - if so this could be confusing the sender?
Try after setting $341=4 - this switches off M6 handling:

$341: Tool change mode:
    0 - Normal
    1 - Manual touch off
    2 - Manual touch off @ G59.3
    3 - Automatic touch off @ G59.3
    4 - Ignore M6

from core.

5ocworkshop avatar 5ocworkshop commented on July 21, 2024

I'll post the CNCjs macro from the machine later today.

However, the problem is present even when idle or jogging, before running the tool change macro. I was aware of a problem where, until the first move occured, the DRO wouldn't update (in the past, with grblMEGA) but after that it would be fine. In this instance, I issue the first ? to update the DRO (which unlocks the job buttons in CNCjs) and then I jog around, and the DRO does not update until I issue another ?.

I have seen some older references to it on the CNCjs discussion but it was resolved multiple versions before the one I'm running, and I wasn't having this with the other board. Someone people described it happening with Marlin firmware due to an extra echo character or something in the start string. Details here: https://forum.v1engineering.com/t/problems-using-cnc-js/25404/6

In the case of Marlin, this was the change on the CNCjs side to resolve it, apparently:

"Look for MarlinLineParserResultStart. For me it was line 10065. Edit the regex match to the following:

const r = line.match(/^(?:echo:)?start$/);

You should get a whole lot more output when you connect, and things should work."

Could it be something similar here?

I tried compatibility mode 1 and it didn't resolve. If I try compatibility mode 2 I get an error (I think it is error 18 on the console, will confirm).

from core.

dresco avatar dresco commented on July 21, 2024

Curious if anyone else here is using CNCjs with grblHAL.

I am, also Teensy 4.1 board over USB, but haven't seen this issue. I perform a reset/unlock on first connection, else the DRO panel is greyed out, but no real issues once past that. Am currently away for a day or so, but can check build/config specifics later if there is anything that may help..

from core.

5ocworkshop avatar 5ocworkshop commented on July 21, 2024

Following dresco's suggestion of reset, unlock, rehome, I am able to use CNCjs.

from core.

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.