Welcome to Our Community

Some features disabled for guests. Register Today.

Cutting Machine Stop-Positioning System

Discussion in 'Other Builds' started by emin123, Jun 19, 2024.

?

Cutting Machine Stop-Positioning System

  1. Cutting Machine Stop-Positioning System

    0 vote(s)
    0.0%
  2. Cutting Machine Stop-Positioning System

    0 vote(s)
    0.0%
  1. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    Hi guys I am new in this forum. Greeting everyone. We have a cutting machine and I want to build a positioning stopper. I am planning to use V-slot actuator belt driven system. I have never worked with cnc controller so I am thinking buy a delta plc and servo for it. With a hmi screen i hope it will be better. I will run it sometimes with a file that included part length already. So it can go to positions automatically. I want it to print labels too. The working length will be 3500-3700 mm. So as I can understand I need to buy 2 two extrusion and connect them.

    Application examples:
    https://youtube.com/shorts/HuuvSMIpB5U?si=3QDFn6fYKvxWDskP




    Questions
    What can i use in Openbuilds store instead of delta plc and servo?
    Would Openbuilds belts be sufficient for this application? Should I pick 20mm width belts?
     

    Attached Files:

    • ss.png
      ss.png
      File size:
      78 KB
      Views:
      1
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    emin123, Giarc and Rick 2.0 like this.
  3. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    I used to work as a test engineer in an automation company. We were using Beckhoff plc. I was testing machines,checking codes and giving feedback to the R&D. We were using plc, driver, pc, power supplies.It was a long time ago I am rusty and I am not familiar with arduino or raspberry pi but i will do my best with your help. I have a plc programmer friend I will invite him to this forum too. Now I am making a part list I hope you can help me.
    (1)BlackBox Motion Control System X32
    (3)Xtension Limit Switch Kit
    (1)24V Meanwell Power Supply Bundle
    (1)Xtension Wire Set - 4 Conductor
    (1)Xtension Wire Set - 3 Conductor
    (1)Raspberry Pi (Or a pc)
    (1)10" Touch Screen compatible with Raspberry Pi

    Can I use a NEMA23 with encoder from a different supplier? I don't want to deal with calibration every time? As I understand I don't need to buy motor driver blackbox works for the same purpose. I checked the project you sent me that NickEng's Saw Stop. I have more budget so i'm more flexible. Even I can buy a servo. My other question is do you think I need an arduino?
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    BlackBox does not support Encoders. However there is no "calibration every time" - calibration = correcting for mechanical tolerances - you can set steps per mm theoretically if the parts are good. Either way, once off. Not something you do "every time"

    Do make sure 3rd party motors meet ours' electrical specs. Ours are optimal for BlackBox (voltage and inductance too, not just current rating)


    Yes has 4x Onboard stepper drivers


    Not if you go X32 > CONTROL > Your customized Macro
     
  5. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    Thanks for response Peter. I am glad to be a member of this forum. Could you recommend a servo that suitable for this application? I can go with a stepper just I have never used it.
     
  6. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    Hi everyone. I couldn't find a pulley with 1/4 bore diameter. All of them are 8mm and openbuilds steppers are 1/4". Couplin cant help either. I am looking for a 8mm shaft diameter Stepper that can suit blackbox x32. Can I get some advice?
     
  7. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    We have a couple? 3GT (GT2-3M) Timing Pulley - 20 Tooth and GT2-2M Timing Pulley - 30 Tooth

    If its not our belt, what do you need?


    Match our motor's electrical specs:
    3-6v Coil voltage (Higher will be slower on acceleration)
    1-2mH Inductance (Higher will be slower on top speed)
    Max 3.2A RMS Current / 4A Peak (Higher rated will be lower on torque)
     
  8. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    I saw some commercial machines are using 5mm pitch 30mm width belt for the same application. I decided 5mm pitch 25mm width belt.
     
  9. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    Thanks Peder I will check for a Stepper based your respond
     
  10. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    HTD-5? or 5M-25?
     
  11. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    T5
    https://www.ebay .com/itm/155084733500?itmmeta=01J1B0X4SETNDPFPHHNKT8VCKY&hash=item241bc53c3c:g:lXAAAOSwI3xi17Sh&itmprp=enc%3AAQAJAAAA4DemarDX3RGEvNtI0vwsmAaWnuN61LoBwlNhAmVxQ2uiy%2BH9FZzQ9ZPBCx4HpIDjjhRHSwecU8unOaLlwL323rFPDyiSXmDe8IXJbjdHjluhJwvHj0zynQSLAXjxtBw7N%2BLVjO2Fx11%2FQplHvCvqqIjBx21e5cjXyuz0cxOaZei8Uez32RyQPssoIskXyCS7LOpZjZIB9%2FjBuRGeJ2cjPxQCn9eTz75%2Fhvk9fItReq3fXfTaua3M%2FyxhJGG5qTtSde8YnPA5F9cQR8On0afZ4Km1MIAL5Revge9Czuo5pf4Z%7Ctkp%3ABFBM7Mz04Ipk

    I guess it is
    5M-25T


    this is the pulley I will use "T5 Pulleys / LS 36 T5 / 32-2 hub 38X6"
     
    #11 emin123, Jul 2, 2024
    Last edited by a moderator: Jul 3, 2024
  12. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
  13. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    Peter I put everything in a word file. We will proceed to purchase parts next week. I checked this javascript code and I modified. It can work with a part list file. What I wanna know is can I adapt a label printer to this system. It already able to read csv variables. I want to add a part name and length information on a label. It can be a print button so I can press it every time cut finish. Do you think it is possible? Or what kind of help do i need?

     
  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    Should be yes. Build the label with a little css and html (created dynamically from the js macro) , use window.Print to print it

    javascript print div - Google Search
     
  15. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
  16. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    Peter thanks for your responds. I have a question. Between cutting blade to home position is 24 inch.
    First I home it then I click "set zero" button. ZERO= "sendGcode('G10 P0 L20 X0');". I minus the difference from the entered target position " let sawStopFinalPosition = sawStopValue + decimalSawStopFractionValue-24; "
    sendGcode("$J=G90 G20 X" + sawStopFinalPosition + " F30000");

    It works like this. But Instead of that I was thinking first home and calibrate the x to 24 inch.

    "window.homeAndSetZero = function() {
    sendGcode('$H');
    sendGcode('G10 P0 L20 X690');
    }"

    I can see it calibrate x to 690mm but with this way whenever I send a position it goes positive direction nonstop. Like more than 2000mm. What am I doing wrong? Is there a unit problem ? I am not familiar with P and L values
     
  17. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    If the offset between Home and the Blade is consistent:

    - HOME the axis
    - Jog it to the Blade (Work Zero) and click SetZero
    Thats it. Blade position set

    In future, just Home (offsets like Work Zero are stored in eeprom, rehoming sets them up again, no need to rezero)

    Zero is at the blade, and positive, negative moves in G54 are relative to that zeroed work coordinate

    Steps per mm accurate? (+-1-2% of theoretical value)
    Acceleration and Max rate correct - not too high (no stalling during calibration process?)
     
  18. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    Well my stopper physically cant reach the blade. Thats why I measured after the home position and tried to change x axis value as 24 inch.
    "sendGcode('$H');
    sendGcode('G10 P0 L20 X690');"

    Home and the next line is doing what I am trying to do. It changes x position after the home. But when I enter a cutting value,
    "sendGcode("$J=G90 G20 X" + sawStopFinalPosition + " F30000");" it goes a nonsense value. For example I put 30" and sawStopFinalPosition=30" so it should go 762mm in the job screen but it goes more than 2000mm.

    My current solution subtracting the distance(24inch) from the entered value. "let sawStopFinalPosition = sawStopValue + decimalSawStopFractionValue-24" It works with this way.
     
  19. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    and
    24 * 25.4 = 609.6mm?
    upload_2024-10-11_19-28-50.png

    Not 690?

    If your max travel is 609.6mm wheres the 762 then? Is it regarding the fact the stopper can't reach the blade (609.6mm + some offset for the saws base I assume?) - then the G10 command should have that offset added too


    How it should be:
    Machine Zero = axis maxima (far away from blade as possible)
    Work Zero = edge of blade (whether set with setzero or G10 with an offset, moving to WPOS-0 for that axis should (theoretically if it can't reach) touch the blade
    If you jog to say X=300mm you should be 300mm away from the blade, if you jog and the DRO shows X=500mm you should be 500mm away from the blade.

    If not, your setting zero is still incorrect


    G-Codes
    Always L20 (Coordinate system). P can be left out (uses current coordinate system, can set P1-6 but "the one we are in" is arguably always the right one for this application


    At the time you send this command, is the stopper 690mm away from the blade (it should be)


    You didn't maybe set Grbl Setting $13 to inches, messing with the reporting. CONTROL expects $13=0
    Or $10, our default changed there? Should be $10=1
     
  20. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    Yes. it is the stopper 690mm away from the blade. 690mm or 609mm lets not focus on the numbers.

    It can be something about unites I agree. And it is messing with values. $10 is 511, $13 is disabled.


    sendGcode('G10 P0 L20 X690'); can I write x value in inch instead of mm?
     
  21. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    Ahh X32, yes 511 and disabled is correct


    I am not sure, experiment on the serial terminal and see what the DRO tells you. Might have to send G20/G21 with it (before)
     
  22. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    Okay Peter I figured it out. It was my bad. There was a conflict with fraction and value so it was taking a weird number. Now It works as I wish. First it goes home and then X axis value becomes 24"( G10 P0 L20 X690.6). Thanks for assistance. Do you think in the future will you guys make a blackbox with encoder input?
     
    Peter Van Der Walt likes this.
  23. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    Almost unlikely - never had a need for it, just extra expense. What we have is reliable to the point extra expense makes no sense.
     
  24. emin123

    emin123 New
    Builder

    Joined:
    Jun 18, 2024
    Messages:
    13
    Likes Received:
    1
    Hi again. So far the system is working pretty good and i will test with a job file so it will run with a part list. I used the macro you recommend above and i modified it. My question is the screen of the macro. How can i make it full screen? I want to take buttons more up and place the parts to the bottom so the parts can fit better. Or can I open all macro in a new window?
     

    Attached Files:

  25. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    You have full control over the html/DOM etc - you can inject a fullscreen div with custom CSS, or embed it into the application as a tab or something else, anything you want really - you just build what you need
     

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