I have installed a Centroid CNC OAK board on a turret punching machine, where the punch operates on a single axis controlled by the main mfunc50. However, I am encountering an issue: the punch travel distance varies with each tool. Could you please advise on the necessary steps and procedures to resolve this discrepancy?
Thank you for your assistance.
Assistance Required for Varying Punch Travel on Turret Punching Machine Centroid Oak Using On Turret Punching Machine
Moderator: cnckeith
-
- Posts: 1
- Joined: Sun Mar 02, 2025 1:35 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: Yes
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Hickory CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
Assistance Required for Varying Punch Travel on Turret Punching Machine Centroid Oak Using On Turret Punching Machine
- Attachments
-
- report_1221160300_2025-02-11_03-28-41.zip
- (752.2 KiB) Downloaded 2 times
-
- mfunc50.mac
- (135 Bytes) Downloaded 3 times
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 819
- Joined: Thu Apr 14, 2022 2:46 pm
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
Re: Assistance Required for Varying Punch Travel on Turret Punching Machine Centroid Oak Using On Turret Punching Machin
I'm not entirely familiar with the configuration of these types of machines. From your report, I am going to infer that X and Y axes are horizontal travel, B axis (axis 4) is the tool turret rotation, and A axis (axis 5) is a servo either controlling the stroke of the tool into the workpiece or the start height of the punch travel. Is this accurate?
Is the issue that each tool requires a different length of punch travel?
If you can control the punch stroke distance or the starting height per tool, would that resolve the issue?
Assuming the A axis directly controls the punch stroke or punch stroke start height, I can see a way to do this using your M50 macro. You'd store the individual tool height offset distances in the tool library and modify the "G53 A-42.5" line or whichever sets the distance the punch travels into the workpiece to account for the tool height offset.
So, you'd grab the active tool number from variable #4120, the corresponding height offset with the #10001-#10200 series variables, and plug that in. I'd suggest keeping the tool numbers and height offset numbers the same such that T001 has height offset H001 and so on.
Once again assuming that the "G53 A-42.5" line is what drives the tool into the workpiece and "G53 A-23" is the retract height, you'd use code similar to this:
Please let me know if I misunderstood what the issue was or how the machine works. A similar method should fix the issue if the punch stroke length is fixed and the A axis controls the start height.
Is the issue that each tool requires a different length of punch travel?
If you can control the punch stroke distance or the starting height per tool, would that resolve the issue?
Assuming the A axis directly controls the punch stroke or punch stroke start height, I can see a way to do this using your M50 macro. You'd store the individual tool height offset distances in the tool library and modify the "G53 A-42.5" line or whichever sets the distance the punch travels into the workpiece to account for the tool height offset.
So, you'd grab the active tool number from variable #4120, the corresponding height offset with the #10001-#10200 series variables, and plug that in. I'd suggest keeping the tool numbers and height offset numbers the same such that T001 has height offset H001 and so on.
Once again assuming that the "G53 A-42.5" line is what drives the tool into the workpiece and "G53 A-23" is the retract height, you'd use code similar to this:
Code: Select all
G53 A[-42.5 + #[10000 + #4120]]
Please let me know if I misunderstood what the issue was or how the machine works. A similar method should fix the issue if the punch stroke length is fixed and the A axis controls the start height.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)