Welcome to Our Community

Some features disabled for guests. Register Today.

Problem with cnc xpro v4 and a laser module

Discussion in 'Controller Boards' started by plasma, Apr 15, 2019.

  1. plasma

    plasma New
    Builder

    Joined:
    Jul 30, 2015
    Messages:
    4
    Likes Received:
    0
    I would like to start off that i am fairly new to the CNC, so if I sound too noobish please forgive me.
    I built a lead CNC a while back and decided that I wanted to add a laser module to it. So I went and bought from Amazon a 15w blue laser and installed it on my machine.
    I connected the laser TTL into a spindle control on V4 and turned laser mode on in grbl set up as well as 255 max and 0 min in the setup.
    The problem I’m having is that the laser stays powered on all the time. I can control the intensity with M3 but M5 and M3 S0 do not turn the laser off.
    Would anyone know how to resolve this?

    Thank you
     

    Attached Files:

  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    1,380
    Likes Received:
    727
  3. plasma

    plasma New
    Builder

    Joined:
    Jul 30, 2015
    Messages:
    4
    Likes Received:
    0
    Thank you Peter for your reply. I am on Grbl 1.1f. However the laser is always on and it does not turn off at all with either of the above mentioned commands.


     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    1,380
    Likes Received:
    727
    1. Your laser driver may have inverted TTL logic (add inverter or invert logic by recompiling grbl)
    2. Read the linked Wiki, the commands doesnt do the turning on/off, G1 and G0 does, or use the Laser Test function in OpenBuilds CONTROL.
    3. Make sure $32=1
     
  5. plasma

    plasma New
    Builder

    Joined:
    Jul 30, 2015
    Messages:
    4
    Likes Received:
    0
    Sorry for the stupid question. How would I go about adding an inverter?



     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    1,380
    Likes Received:
    727
    Before you do, determine if the driver does need one?

    Ie 5v into TTL = off, 0v = ON (Inverted)
    5v into TTL = on, 0v = 0ff (Normal)

     
  7. plasma

    plasma New
    Builder

    Joined:
    Jul 30, 2015
    Messages:
    4
    Likes Received:
    0
    Let me explain better. With nothing connected to the xpro D11 (spindle control) output is 0v measured with multimeter. By connecting the ttl into the xpro without doing anything other then plugging in. The laser turns on and Xpro shows 5v on the multimeter.
     

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