Welcome to Our Community

Some features disabled for guests. Register Today.

4 Axis spray booth with black box x32

Discussion in 'Controller Boards' started by Luke1515, Mar 8, 2023.

  1. Luke1515

    Luke1515 New
    Builder

    Joined:
    Mar 7, 2022
    Messages:
    7
    Likes Received:
    3
    I built a spray booth using X&Y for travel and A to change the angle of the spray nozzle, I want to use Z to constantly rotate the part I am spraying at a constant speed throughout the G code program.
    Currently, I'm using fusion 360 to post process X&Y, post processing as a plasma torch to operate the solenoid valve of the paint sprayer, I manually inserting the A axis commands.
    Mechanically everything works as designed, and I am fine with post processing this way as I only need to run 10 to 15 different programs. I'm trying to keep everything in the black box to make it as easy as possible to train someone to operate it.
    I am new to writing G code, and have been unable to find anything discussing this particular scenario.
    My questions are:
    1. Can the Z be used at a constant speed throughout a program? If not
    2. Can the black box x32 be used to output 0 to 10 V while simultaneously running the dry contact for the plasma? If no to 1, and yes to 2
    3. Does anyone have recommendations on what to use to to run from the 0 to 10 V ( preferably in nema 23 as I already have my reduction gear), depending on the size cylinder I'm spraying, I need the motor to rotate at 100 to 250 RPM.
     

    Attached Files:

    sharmstr likes this.
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,195
    Likes Received:
    4,346
    1) Not directly no - you can program a long Z move at a certain feedrate - but its not constant. Would it matter? As long as the gcode runs, you can send Z moves to match?
    2) Yes, the PWM signal is used to drive the 0-10v signal. Relays are on Enable and Dir by default. They are "seperate" - but they are also related (With M3 S1-max is active, so is the Enable relay for example)
    3) Not that I know of off the top of my head. But one might be able to use the PWM (with proper frequency setting in Grbl Settings) to pulse the STEP pin of an external stepper driver. Or one could use the coolant output to run a DC motor?
     
  3. Luke1515

    Luke1515 New
    Builder

    Joined:
    Mar 7, 2022
    Messages:
    7
    Likes Received:
    3
    Peter, thank you for the quick response!
    That's fantastic, and what I was hoping to hear. Do I need to write a G1 command at the start of the program? Would that cause the other axis to slow down or stop so they arrive at the new coordinates at the same time? I apologize for the advanced questions coming from a beginner.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,195
    Likes Received:
    4,346
    Moves on one command will be synced yes. You may need to do some maths to make sure the Z distance/feedrate does what you need it to do for the XYA move
     

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