Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features request: Widget or button to "Hold" gcode #828

Open
6 of 12 tasks
Silver8411 opened this issue Apr 10, 2023 · 3 comments
Open
6 of 12 tasks

Features request: Widget or button to "Hold" gcode #828

Silver8411 opened this issue Apr 10, 2023 · 3 comments

Comments

@Silver8411
Copy link

Silver8411 commented Apr 10, 2023

Description

Features request what if there is widget or bigger button when gcode is running with red and "hold". So when things go soft "south" you can stop the gcode in hold mode via red button or spacebar ( spindle stops and lifts to safe height) and when its on hold that nice red button turns to 2 buttons. One as "resume" and other "stop". resume slowly lowers till top height in gcode and then continues with gode. Stop will aborts and goes home.

I do have e-stop for the very worse but this shut downs everything and needs to start all over again. But have had many times where i could save part or bit if it would just hold, i can do fixing the issue and then it resumes.

Right now. those play, pause and stop button are so small there. when actually you need to react. its rely hard to click them.

Versions

  • CNCjs: 1.9.x
  • Node.js: 6.x
  • NPM: 5.x

How Do You Install CNCjs?

  • NPM
  • Download the CNCjs Desktop Application

CNC Controller

  • Grbl
  • Smoothieware
  • TinyG/g2core

Hardware

  • Raspberry Pi
  • Desktop or Laptop
  • Mobile Device

Operating System

  • Not Applicable
  • Windows
  • Mac
  • Linux
@MitchBradley
Copy link
Contributor

The cncjs-shopfloor-tablet UI has almost exactly what you are asking for

@Silver8411
Copy link
Author

Is it possible to use or add that function to pc cncjs version? i have dedicated laptop for controlling cnc and it runs pc version of cncjs. Dont have there any other devises to use it on machine

@MitchBradley
Copy link
Contributor

Yes you can run cncjs-shopfloor-tablet from the PC app. Do this:

  1. Go to https://github.com/cncjs/cncjs-shopfloor-tablet/releases/tag/v2.0.0 and download the release asset file cncjs-shopfloor-tablet-2.0.0.zip
  2. Extract that .zip file to some folder on your PC. On my PC, Windows Explorer extracts by default to a subfolder of Downloads, but you can choose any folder.
  3. Use a text editor like notepad to edit the file \Users\YOURUSERNAME.cncrc . Add a "mountPoints" section, or if one already exists, add an additional entry to it. The file probably starts with something like this:
{
    "state": {
        "checkForUpdates": true,

You need to add a new section so it looks like this:

{
    "mountPoints": [
        {
            "route": "/tablet",
            "target": "C:/Users/YOURNAME/Downloads/cncjs-shopfloor-tablet-2.0.0/cncjs-shopfloor-tablet-2.0.0"
        }
    ],
    "state": {
        "checkForUpdates": true,

Replace YOURNAME with your own user name - or replace the entire target: path with the location where you extracted the .zip file. Save the modified file.

Then restart the cncjs app and look in the View menu:
image
If you click on the /tablet item down at the bottom, it should take you to the tablet UI in another browser.

It it doesn't work, you probably did not follow the instructions precisely. The syntax of the .cncrc file is very picky so you must get all the braces, brackets, comma, and quotes just as shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants