Welcome to Our Community

Some features disabled for guests. Register Today.

Convert Dead CMM into CNC Surfometer

Discussion in 'Concepts and Ideas' started by LyonCAD, Jan 23, 2023.

  1. LyonCAD

    LyonCAD New
    Builder

    Joined:
    Jan 17, 2023
    Messages:
    5
    Likes Received:
    0
    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!
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
  3. LyonCAD

    LyonCAD New
    Builder

    Joined:
    Jan 17, 2023
    Messages:
    5
    Likes Received:
    0
    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.
     
  4. LyonCAD

    LyonCAD New
    Builder

    Joined:
    Jan 17, 2023
    Messages:
    5
    Likes Received:
    0
    [​IMG]

    This is the type of device we are using to measure the surface micro.
     
  5. LyonCAD

    LyonCAD New
    Builder

    Joined:
    Jan 17, 2023
    Messages:
    5
    Likes Received:
    0
    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
     
  6. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
    We've not got exactly what you need "ready to go" - its a odd use case after all, so see Home · grblHAL/core Wiki
     
  7. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    could he use a button the the X32 for 'resume'?
     
  8. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
    Non standard use case. So he'll have to recompile after configuring.
     
    David the swarfer likes this.
  9. LyonCAD

    LyonCAD New
    Builder

    Joined:
    Jan 17, 2023
    Messages:
    5
    Likes Received:
    0
    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!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice