Hello all! I'm new to the BlackBox Community. I recently purchased a BlackBox in the hopes I can convert a CMM that died here in my shop into a Job specific Surfometer (probe that runs across the surface of a machined part for a "Finished surface" readout). So far I have my BlackBox hooked up, running properly on a test bed. However, I am now running into an issue that I'm hoping someone might have the answer for. I ran a simple Gcode Text file and placed in an OpStop or pause command (M0). I would like to wire an external input device or button for a resume program command tied to a mcode or gcode. Is this possible? I do not see any information regarding external inputs in the DOCS, nor have I come across exactly what I'm looking for in the Forums. TL;DR Looking for a way to Resume Program using an external input tied to an Mcode to continue running my program after an M0 pause command. Thank you in advance!
Why not use G38.2 probing? Install a digitizing probe, and perhaps make use of a custom Macro Getting started with Javascript Macros in CONTROL / Library of Macros created by the community to move to a coordinate, initiate a probe, get back the precise result, store, next coordinate, etc
I'm not looking so much to store and data. I want to restart the program using an external I/O device tied to an Mcode, or Gcode. The type of read out the Surfometer gives is very different than a normal digital indicator. The device runs a small brass needle using a small motor across a 0.01" space and gives an analog reading of the surface's micro. We use it to check feed lines after machining to hit specific tolerances. I would like to write my Gcode program to OpStop at a specific location. Then a team member will turn on surfometer, then after it is finished with its first reading, press a button which continues with the part program to the next location. I'm trying to make this gauge as user friendly and as simple as I possibly can.
From what I'm gathering, there is not an easy way to wire a button to my BlackBox and assign that button to an open Mcode then? Or could I do that with with either the door or coolant wiring and write a macro to change the Mcode for the door or coolant to resume program after the button was pressed? I would really like to avoid any Bluetooth or wireless devices. My place or work is not very.... user or electronics friendly xD
We've not got exactly what you need "ready to go" - its a odd use case after all, so see Home · grblHAL/core Wiki
I would like to thank you guys for all your help! I actually figured out a much, much simpler way of going about what I'm trying to achieve and I feel like such a dummy for not thinking about it in the first place. I was to focused on keeping this project like a CNC panel. I have a computer connected! and OpenBuilds Control has programmable Controls! I'll just purchase a programmable USB mini keyboard (3 or 9 key) and set one of those buttons to start the program. I feel like such a dunce. Haha! Thank you all, I greatly appreciate the help and useful links!