Welcome to Our Community

Some features disabled for guests. Register Today.

CONTROL & Laser

Discussion in 'Control Software' started by Doug Martin, Jun 2, 2021.

  1. Doug Martin

    Builder

    Joined:
    Sep 21, 2017
    Messages:
    13
    Likes Received:
    1
    So, I'm going to start experimenting with adding a 3.5W laser onto my Ox. I understand that the $32 setting needs to be set to "1" to place Control into laser mode. First as I'm playing with this I think it would be nice to have a toggle setting on the main Control page to set it into Laser or Mill mode. Short of that I would like to maybe create a macro to do the same thing. In experimenting with this it seems that I can change settings via a g-code macro (e.g., $32=1). I'm assuming in order to make this work correctly that GRBL needs to be refreshed after the setting call. Will "$$" accomplish this or is there another way to make this happen via either a g-code or Javascript macro
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,509
    Likes Received:
    4,422
    Try the macro as is, as far as I recall Grbl doesnt need a reset.
     
  3. Doug Martin

    Builder

    Joined:
    Sep 21, 2017
    Messages:
    13
    Likes Received:
    1
    Thanks. I'll play around with it tomorrow
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,509
    Likes Received:
    4,422
  5. Doug Martin

    Builder

    Joined:
    Sep 21, 2017
    Messages:
    13
    Likes Received:
    1
    So, I'm playing around a bit more with this code and javascript macro stuff. I'd like to be able to work on this coding activity in my office and not in the shop. But I seem to need an active connection to a grbl device via the usb serial interface in order to access much of the Control system (which I don't have in my office). Not sure I'm asking the right question or asking the question correctly but is it possible to emulate a grbl device in order to activate all functions within Control. Hope that makes sense.
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,509
    Likes Received:
    4,422
    A $2 arduino nano clone, flashed with Grbl, sitting on the desk will do the job.
     
  7. Doug Martin

    Builder

    Joined:
    Sep 21, 2017
    Messages:
    13
    Likes Received:
    1
    Thanks. I'll give that a try
     
  8. Doug Martin

    Builder

    Joined:
    Sep 21, 2017
    Messages:
    13
    Likes Received:
    1
    So, its been a couple days since I posted a likely dumb/ignorant question...I opened my BlackBox to remove the Relay jumper to disable it as I am using the IoT relay with STDP switch to control both my router and the laser ( assuming I understood that correctly). The problem that has cropped up now is that as I put everything back together and turn the BlackBox on the fan does not come on. Is it on a therm switch of some kind. The fan motor itself felt like it was getting pretty warm so I'm think something is not right here. I popped the top back off and made sure the fan motor was plugged in correctly and still could not get it to work. Any insights?
    EDIT: OK, disregard. The top plate apparently got just little warped and was impinging on the fan hub. I was able to take the fan off and reinstall it with a 1mm spacer between the top plate and the fan body and all seems good.
     
    #8 Doug Martin, Jun 4, 2021
    Last edited: Jun 4, 2021
    Peter Van Der Walt likes this.

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