Comments (5)
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.
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.
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.
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.
Following dresco's suggestion of reset, unlock, rehome, I am able to use CNCjs.
from core.
Related Issues (20)
- protocol_enqueue_gcode does not set last_error HOT 3
- probe enabled by default HOT 1
- MKS Tinybee cannot connect to the router using STA HOT 3
- Cannot Restore After Feedhold When Issued During Change of Spindle State HOT 10
- Not an issue: Want to know if macro variables are available for $342 to $344. HOT 3
- Tool table offsets are not persistent over power cycle HOT 6
- Joggin unavailable for many commands HOT 3
- Lathe Diameter/Radius offset report issue HOT 1
- kinda vfd support HOT 3
- Macro Issue that I can not figure out. HOT 6
- I noticed that the current Setting_AxisStepsPerMM setting has 5 zeros after the decimal point. Is there any reason for doing this? HOT 2
- regression in websocket init_message caused by commit a912ce4 HOT 1
- Is the data in the driver capabilities list dependably up to date? HOT 2
- set machine origin to 0, or bit3, not working for $22 HOT 5
- octopus max STM32H723 HOT 1
- Not correctly reporting coordinates? HOT 4
- Experiencing issues with ESP32 Blackbox Build HOT 10
- How to limit the maximum output pulse frequency to prevent the user from setting an excessively high pulse rate that could cause grblHAL to crash? HOT 1
- Delta Kinematics: Y axis moves are not executing correctly - Motor duplication? HOT 1
- Syntax error / typo in ngc_expr.c HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.