Yes it's input manually too. It can be done automatically with Mastercam by assigning different tools for different operations and it will put "Tx M6" command for you. But I haven't played around with that option yet.
Thanks for the information I searched about mastercam and found that it does not support punch machines. So did you use Gcode of a drilling machine to run the punch? or it really supports Gcode for punch? And how did you extend your parallel port to withstand all these IO's? Keep up the good work.
You are right. I am using drilling cycle from Mastercam. Editing it manually to put in punching codes and sheet repositioning. Using 2 parallel ports to handle all the i/o's. Thanks for the compliments
That's too much. I thought there is only one macro for the M code that switches the ram of the punch. Am I wrong? And by the way what is the extension of the G code file you make in Mastercam? I should see the G & M codes of such file to see what macros I should make. Thanks for responding.
I've programmed a macro m20.m1s for activating the punch. But there are 19 i/o's involved in the process. A bunch of inputs from different proximity switches which indicate position of hydraulic ram, turret locking shotpins and holding clamps position. Also there are several outputs which control different pneumatic directional valves In short, it's a complex process especially designed for this machine. The sample G-code is like this.
And what about the tool rotation? Did you input the tool rotation code manually?
waleedmech 1 year ago
Yes it's input manually too. It can be done automatically with Mastercam by assigning different tools for different operations and it will put "Tx M6" command for you. But I haven't played around with that option yet.
zafarsalam 1 year ago
Thanks for the information I searched about mastercam and found that it does not support punch machines. So did you use Gcode of a drilling machine to run the punch? or it really supports Gcode for punch? And how did you extend your parallel port to withstand all these IO's? Keep up the good work.
waleedmech 1 year ago
You are right. I am using drilling cycle from Mastercam. Editing it manually to put in punching codes and sheet repositioning. Using 2 parallel ports to handle all the i/o's. Thanks for the compliments
zafarsalam 1 year ago
What cam software do you use to produce the G code . Could you please upload the macro file or the VB script you've used.
waleedmech 1 year ago
Mastercam is used to produce the Gcodes. Almost 50 macros and VB scripts are used to develop this control.
zafarsalam 1 year ago
That's too much. I thought there is only one macro for the M code that switches the ram of the punch. Am I wrong? And by the way what is the extension of the G code file you make in Mastercam? I should see the G & M codes of such file to see what macros I should make. Thanks for responding.
waleedmech 1 year ago
I've programmed a macro m20.m1s for activating the punch. But there are 19 i/o's involved in the process. A bunch of inputs from different proximity switches which indicate position of hydraulic ram, turret locking shotpins and holding clamps position. Also there are several outputs which control different pneumatic directional valves In short, it's a complex process especially designed for this machine. The sample G-code is like this.
T1 M6 (Tool Select)
G0 X5 Y20
M20
T13 M6
G0 X5 Y100
M20
zafarsalam 1 year ago
i am sorry, but i need a written 3D CNC program to operate it on my machine. it would be a lot of help.....................thnx
crunchyroll87 2 years ago
What sort of CNC machine do you have?
zafarsalam 2 years ago
Mach3 is only limited to your imagination :). Check out my other retrofit on CNC pipe bending, that too on Mach3.
zafarsalam 2 years ago
i did not think its is possible to take mach3 that far in modification, its awsome bro, show me more of your work.
ibrahimfatayerji 2 years ago