Hello,
This is my first attemt at a post edit for my machine. The post & control definition were shared on a Yahoo forum for the Tormach.
So here is the customized T/C Tap operation I changed.
MC5 TC TAP CTRL.jpg
And here is the resulting code before my post edit.
%
O0000 (POST TESTING)
(MPMASTER_TORMACH-TEST)
(PCNC1100 GROUP-1)
(MASTERCAM - X5)
(MCX FILE - \\HOME-SHARE\BTU DOCUMENTS\MY MCAMX5\X5 DESIGNS\MILL\POST MOD TC.MCX-5)
(MATERIAL - ALUMINUM INCH - 2024)
(PROGRAM - POST TESTING.NC)
(DATE - MAR-21-2013)
(TIME - 10:17 AM)
(T57 - DEFINE TOOL NAMES - H57 - D57 - D0.2500")
N100 G00 G17 G20 G40 G80 G90 G64
/ N110 M998 ( TOOLCHANGE )
N120 T57 M06 (DEFINE TOOL NAMES)
N130 (MAX - Z1.)
N140 (MIN - Z-1.)
N150 G00 G90 G54 X0. Y0. S600 M03
N160 G43 H57 Z1.
N170 G00 G90 Z.5
N180 G94
N190 S600 M3
N200 G01 Z-1. F30.
N210 M4
N220 G04 P.3
N230 G01 Z.5 F30.
N240 G00 X1.
N250 S600 M3
N260 G01 Z-1. F30.
N270 M4
N280 G04 P.3
N290 G01 Z.5 F30.
N300 G00 X2.
N310 S600 M3
N320 G01 Z-1. F30.
N330 M4
N340 G04 P.3
N350 G01 Z.5 F30.
N360 G00 X3.
N370 S600 M3
N380 G01 Z-1. F30.
N390 M4
N400 G04 P.3
N410 G01 Z.5 F30.
N420 G00 G90 Z.5
N430 G00 G90 Z1.
N440 M05
/ N450 M998 ( TOOLCHANGE )
/ N460 G28 Y0.
N470 G90
N480 M30
What I what to do is have an optional stop at each tap position change to lube the tap.
This is the section of the post file that seems to me to do the job.
ptap$ # #Canned Tap Cycle with Tension/Compression tapping head
pdrlcommonb
#RH/LH based on spindle direction
down = 1 - (peck1$/100)
up = 1 + (peck2$/100)
feed1 = feed*down
feed2 = feed*up
pcan1, pbld, n$, *speed, "M3", e$
pcan1, pbld, n$, "G01", pdrlxy, pfzout, pcout, pindexdrl, *feed1, strcantext, e$ #prdrlout,
pcan1, pbld, n$, "M4", e$
pcan1, pbld, n$, "G04", *dwell$, e$
pcan1, pbld, n$, "G01", pdrlxy, pcout, pindexdrl, *prdrlout2, *feed2, strcantext, e$
pcan1, pbld, n$, "M01 (LUBE TAP)", e$
pcom_movea
This section is further down and seems to control subsequent tap positions.
ptap_2$ #Canned Tap Cycle
pdrlcommonb
#RH/LH based on spindle direction
down = 1 - (peck1$/100)
up = 1 + (peck2$/100)
feed1 = feed*down
feed2 = feed*up
pcan1, pbld, n$, "G00", pdrlxy, e$
pcan1, pbld, n$, *speed, "M3", e$
pcan1, pbld, n$, "G01", pfzout, pcout, pindexdrl, *feed1, strcantext, e$ #prdrlout,
pcan1, pbld, n$, "M4", e$
pcan1, pbld, n$, "G04", *dwell$, e$
pcan1, pbld, n$, "G01", pcout, pindexdrl, *prdrlout2, *feed2, strcantext, e$
pcan1, pbld, n$, "M01 (LUBE TAP)", e$
pcom_movea
The text in red are my changes.
My limited testing seems to show that the edit is work as I expect.
Example
N150 G00 G90 G54 X0. Y0. S600 M03
N160 G43 H57 Z1.
N170 G00 G90 Z.5
N180 G94
N190 S600 M3
N200 G01 Z-1. F30.
N210 M4
N220 G04 P.3
N230 G01 Z.5 F30.
N240 M01 (LUBE TAP)
N250 G00 X1.
N260 S600 M3
N270 G01 Z-1. F30.
N280 M4
N290 G04 P.3
N300 G01 Z.5 F30.
N310 M01 (LUBE TAP)
N320 G00 X2.
N330 S600 M3
N340 G01 Z-1. F30.
N350 M4
N360 G04 P.3
N370 G01 Z.5 F30.
N380 M01 (LUBE TAP)
N390 G00 X3.
N400 S600 M3
N410 G01 Z-1. F30.
N420 M4
N430 G04 P.3
N440 G01 Z.5 F30.
My question is: Can an edit of this nature cause problems with unrelated operations? Maybe pocketing gets a new bug? Should I check as many operations as possible to look for problems? Any advice is welcome.
Also please notice the ' / ' at the M998 (TOOL CHANGE) & G28 Y0. lines of the first code example above. I would like those to go away but can not figure out how to do it?
Thank you,
Barry
This is my first attemt at a post edit for my machine. The post & control definition were shared on a Yahoo forum for the Tormach.
So here is the customized T/C Tap operation I changed.
MC5 TC TAP CTRL.jpg
And here is the resulting code before my post edit.
%
O0000 (POST TESTING)
(MPMASTER_TORMACH-TEST)
(PCNC1100 GROUP-1)
(MASTERCAM - X5)
(MCX FILE - \\HOME-SHARE\BTU DOCUMENTS\MY MCAMX5\X5 DESIGNS\MILL\POST MOD TC.MCX-5)
(MATERIAL - ALUMINUM INCH - 2024)
(PROGRAM - POST TESTING.NC)
(DATE - MAR-21-2013)
(TIME - 10:17 AM)
(T57 - DEFINE TOOL NAMES - H57 - D57 - D0.2500")
N100 G00 G17 G20 G40 G80 G90 G64
/ N110 M998 ( TOOLCHANGE )
N120 T57 M06 (DEFINE TOOL NAMES)
N130 (MAX - Z1.)
N140 (MIN - Z-1.)
N150 G00 G90 G54 X0. Y0. S600 M03
N160 G43 H57 Z1.
N170 G00 G90 Z.5
N180 G94
N190 S600 M3
N200 G01 Z-1. F30.
N210 M4
N220 G04 P.3
N230 G01 Z.5 F30.
N240 G00 X1.
N250 S600 M3
N260 G01 Z-1. F30.
N270 M4
N280 G04 P.3
N290 G01 Z.5 F30.
N300 G00 X2.
N310 S600 M3
N320 G01 Z-1. F30.
N330 M4
N340 G04 P.3
N350 G01 Z.5 F30.
N360 G00 X3.
N370 S600 M3
N380 G01 Z-1. F30.
N390 M4
N400 G04 P.3
N410 G01 Z.5 F30.
N420 G00 G90 Z.5
N430 G00 G90 Z1.
N440 M05
/ N450 M998 ( TOOLCHANGE )
/ N460 G28 Y0.
N470 G90
N480 M30
What I what to do is have an optional stop at each tap position change to lube the tap.
This is the section of the post file that seems to me to do the job.
ptap$ # #Canned Tap Cycle with Tension/Compression tapping head
pdrlcommonb
#RH/LH based on spindle direction
down = 1 - (peck1$/100)
up = 1 + (peck2$/100)
feed1 = feed*down
feed2 = feed*up
pcan1, pbld, n$, *speed, "M3", e$
pcan1, pbld, n$, "G01", pdrlxy, pfzout, pcout, pindexdrl, *feed1, strcantext, e$ #prdrlout,
pcan1, pbld, n$, "M4", e$
pcan1, pbld, n$, "G04", *dwell$, e$
pcan1, pbld, n$, "G01", pdrlxy, pcout, pindexdrl, *prdrlout2, *feed2, strcantext, e$
pcan1, pbld, n$, "M01 (LUBE TAP)", e$
pcom_movea
This section is further down and seems to control subsequent tap positions.
ptap_2$ #Canned Tap Cycle
pdrlcommonb
#RH/LH based on spindle direction
down = 1 - (peck1$/100)
up = 1 + (peck2$/100)
feed1 = feed*down
feed2 = feed*up
pcan1, pbld, n$, "G00", pdrlxy, e$
pcan1, pbld, n$, *speed, "M3", e$
pcan1, pbld, n$, "G01", pfzout, pcout, pindexdrl, *feed1, strcantext, e$ #prdrlout,
pcan1, pbld, n$, "M4", e$
pcan1, pbld, n$, "G04", *dwell$, e$
pcan1, pbld, n$, "G01", pcout, pindexdrl, *prdrlout2, *feed2, strcantext, e$
pcan1, pbld, n$, "M01 (LUBE TAP)", e$
pcom_movea
The text in red are my changes.
My limited testing seems to show that the edit is work as I expect.
Example
N150 G00 G90 G54 X0. Y0. S600 M03
N160 G43 H57 Z1.
N170 G00 G90 Z.5
N180 G94
N190 S600 M3
N200 G01 Z-1. F30.
N210 M4
N220 G04 P.3
N230 G01 Z.5 F30.
N240 M01 (LUBE TAP)
N250 G00 X1.
N260 S600 M3
N270 G01 Z-1. F30.
N280 M4
N290 G04 P.3
N300 G01 Z.5 F30.
N310 M01 (LUBE TAP)
N320 G00 X2.
N330 S600 M3
N340 G01 Z-1. F30.
N350 M4
N360 G04 P.3
N370 G01 Z.5 F30.
N380 M01 (LUBE TAP)
N390 G00 X3.
N400 S600 M3
N410 G01 Z-1. F30.
N420 M4
N430 G04 P.3
N440 G01 Z.5 F30.
My question is: Can an edit of this nature cause problems with unrelated operations? Maybe pocketing gets a new bug? Should I check as many operations as possible to look for problems? Any advice is welcome.
Also please notice the ' / ' at the M998 (TOOL CHANGE) & G28 Y0. lines of the first code example above. I would like those to go away but can not figure out how to do it?
Thank you,
Barry