Results 1 to 10 of 11

Thread: Turning on an air nozzle with program

Hybrid View

  1. #1
    Join Date
    Oct 2017
    Posts
    21

    Default Turning on an air nozzle with program

    I have a PRSAlpha 48x96 just a year old.

    Is there an output on the PCB that would allow for turning on an accessory, i.e. air hose or motor?

    How would I go about adding that to a Tool Path file?

    jerry

  2. #2
    Join Date
    Sep 2006
    Location
    Garland Tx
    Posts
    2,334

    Default

    Jerry…

    The quick answer to your question is “yes” you can do exactly what you’re wanting to do!

    There are several inputs and outputs available, and if there aren’t enough for what you’re wanting to do, you can buy an expansion board! I’m not familiar with new machines but in the past, the interfaces on the board were TTL level, meaning you’d need relays to handle real world voltage and current levels.

    Programming is super easy! The command SO (switch operate) followed by parameters… i.e. 5,1 where 5 is the switch # and 1 is on (0 for off). You could add this command to your post processor if desired, manually edit a program or click on the graphical interface in the SB3 program.
    Call ShopBot, they can give you any pertinent info for your model.

    I’m on the road and unable to give you links to the programming manual, but with a little hunting you will find it!

    SG

  3. #3
    Join Date
    Oct 2017
    Posts
    21

    Default

    Quote Originally Posted by steve_g View Post
    Jerry…

    [FONT=arial]You could add this command to your post processor if desired,
    SG
    Hi Steve_G: I'd be using this on a tool path with a hundred slots so having the commands added automatically would be handy. I have very little programming experience and so far my attempts to alter ShopBot programs has been a total failure but I have altered Cut Path files OK and know that inserting a hundred on and off commands would be tedious. Can you maybe steer me to a tutorial or explain how I would add this to the Post Processor?

    Thank you,
    jerry

  4. #4
    Join Date
    Jan 2004
    Location
    iBILD Solutions - Southern NJ
    Posts
    7,986

    Default

    Everything you need to know is in the Vectric Post Processor Guide You will have to think about WHEN you want it turned on or off.

    Hardware-wise you will need a relay board to trigger whatever electro-pneumatic valve you have. Direct 5v TTL voltage on the board to the device is a no-no.

    I think I might have a good, never used SB relay board on the shelf I can sell you for less than a new one. If interested PM me and I will look.

    This is a good read and does what you are looking to do (turning a switch on/off). The post processor for that is here - Just download it and see how it was done for yourself.

    FYI - All it's doing is turning an Output On (1) or Off (0) :: SO,5,1 means Set Output number 5 to 1/ON This means that you need to have your physical #5 Output on the control board wired to your relay board and your valve on the other side of the relay. You'll also need a common ground between the boards...


    -B
    High Definition 3D Laser Scanning Services - Advanced ShopBot CNC Training and Consultation - Vectric Custom Video Training IBILD.com

  5. #5
    Join Date
    Sep 2006
    Location
    Garland Tx
    Posts
    2,334

    Default

    Brady...
    Thanks for chimeing in! I'm having horrible to no internet in Yellowstone!
    SG

  6. #6
    Join Date
    Oct 2017
    Posts
    21

    Default

    Related question:

    The PP the you linked for the Laser only has the word "laser" in 3 places 2 in notes at the beginning and once in the footer to turn it off. Not sure what I'm supposed to make of that, don't see how it can work.

    Suppose I add the command variables to the Post Processor to turn on/off coolant. If there's nothing coming out of VcarvePro to activate that code, how will it be entered into the final Toolpath file?

    IF the setting doesn't exist in Vcarve Pro. THEN how will the necessary information be communicated to the Post Processor so it will be included in the Toolpath file?

    Therefore I assume code will have to be generated entirely within the PP itself. I would need to add "something" in the PP say when Z axis goes negative, Output x turns on (1) and when Z axis pulls up Output x turns off (0). Perhaps add IF/THEN statements to the FEED_MOVE or Z position somehow. How? What would that look like?

  7. #7
    Join Date
    Oct 2017
    Posts
    21

    Default

    Quote Originally Posted by Brady Watson View Post
    Everything you need to know is in the Vectric Post Processor Guide ...

    This is a good read and does what you are looking to do (turning a switch on/off). The post processor for that is here - Just download it and see how it was done for yourself.

    FYI - All it's doing is turning an Output On (1) or Off (0) :: SO,5,1 means Set Output number 5 to 1/ON This means that you need to have your physical #5 Output on the control board wired to your relay board and your valve on the other side of the relay. You'll also need a common ground between the boards...


    -B
    Thank you Brady, I looked at what jtechphotonics did, added BEGIN PLUNGE_MOVE "SO,3,1" and BEGIN RETRACT_MOVE "SO,3,0", with a degree of success. I have a couple bugs. When initiating straight lines it follows the line to the last 1/4" then ramps down. If it's the start of a square then the only the last 1/4" of the first side is cut, the other 3 sides cut perfect. An "i" looks lie a superscript colon (, "ll" looks like quotes (").

    I also tried adding "SO,3,1" to the BEGIN FEED_MOVE which also works except for one little bug, the spindle turns off part way through the file.

    It seems to me neither of these should be related in anyway to the added instruction. WTH???

    Any ideas?

    Jerry

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •