12m metall bar puncher press

More
01 Oct 2025 15:18 - 01 Oct 2025 15:19 #335667 by ts
12m metall bar puncher press was created by ts
Hi all
i want to understand is it possible to do machine on linuxcnc as main controller, which will do next things:
Operator put bar of 1.5mm*40mm coper into machine. On received signal ready from button, and going to gcode commands like g01x100 moving bar. After on the command M10 do punch of O-shape hole, next moving to next point g01x250, next triangle punch hole -  M11. Next g01x400, and command M20 cut a piece. 
my question is -
1. somebody already try this king of production?
2. How to do cyclic feeding in long gcode, i mean that i have not the same lengths and different punch map on each bar, i have program for example on 10 bars for repeating.
3. How cnc receive command to return x axis back to zero and let user to put new bat in?
4. What is the maximum length of axis? For example if i will use reel , not bar.
5. I will glad to read some ideas and additional questions about topic)

BR
Alexander
Last edit: 01 Oct 2025 15:19 by ts.

Please Log in or Create an account to join the conversation.

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
02 Oct 2025 11:31 #335704 by andypugh
Replied by andypugh on topic 12m metall bar puncher press
Yes, I am confident that LinuxCNC can do this.

You might prefer to control the machine with a Python script linked to a GUI, but using G-code is also possible.

Adaptive G-code could handle the different punch maps, but Python (which would send G-codes using MDI, probably) might work better.

An example of a GUI that calls adaptive G-code is my lathe macros, here is a link to one of the G-code routines:
github.com/andypugh/LatheMacros/blob/Py3_GTK3/turning.ngc
The subroutine is called with #1, #2 ... #6 specifying various parameters of the actions to be taken.

3) I don't really know the answer. It would probably be automatic at the end of the cycle?

4) The maximum length is much longer than the known universe. (10^308 units) but is practically limited to 15 significant digits, so using mm and 1 micron basic precision it would be approximately 10,000km.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
07 Oct 2025 03:53 #335973 by ts
Replied by ts on topic 12m metall bar puncher press
Hello
thanks for your reply, andypugh!
Another one question. If i have reel (not bar). My material reel will became short and i will have to change material by new reel. I needed to change new reel and put in a couple meters. But if i will manually push material in, my x axis became to count. And axis measurement mismatch. How correctly to do material change and  put off old material, and replace by new material in, until push roll will engage to roll-in my new material? And how to simultaneously jump back to previous gcode block (previous produced part)?

Please Log in or Create an account to join the conversation.

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
07 Oct 2025 12:46 - 07 Oct 2025 12:47 #336002 by andypugh
Replied by andypugh on topic 12m metall bar puncher press
I don't fully understand the question, but I think that a material change would be handled by the touch-off process that is normally used to re-align the working coordinates to the workpiece.
This is typically achieved using one of the G10 code variants (G10 L1 / G10 L10 / G10 L2 / G10 L20)
Last edit: 07 Oct 2025 12:47 by andypugh.

Please Log in or Create an account to join the conversation.

Time to create page: 0.099 seconds
Powered by Kunena Forum