-
Posts
469 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Posts posted by NOTW Programmer
-
-
I found the User & Pwd...
The file is in the lahte Directory and called 2744-090301-A.Z2G
-
How do you upload, I try to open the link in Windows Explorer but it wants a password.
-
Ok, well how do I send my post or MCX or upload to FTP, or what part of the postpropcessor should I post for you to look at.
-
Here is the posted output with those switched.
code:%
O9030(TEST)G20(CREATED ON 14-07-09 AT 06:21 )(TOOL - 1 OFFSET - 1)(OD ROUGH RIGHT - 80 DEG.)( FACE RGH )N1 G28 U0. W0.G50 X0. Z0. S1000 T0100G96 S500 M03G0 X10.4 Z.15 T0101 M8G41 X10.3 Z.1G72 W.05 R0.G72 P100 Q101 U.01 W.005 F.025N100 G0 G41 Z-.0625 S500G1 X10.G2 X9.875 Z0. R.0625G1 X2.N101 G40 Z.1( OD RGH )G0 X10.3 Z.0375Z.0875G42 X10.2 Z.0375G71 U.05 R0.G71 P102 Q103 U.01 W.005 F.025N102 G0 G42 X10. S500G1 Z-1.1438 F.01N103 G40 X10.2G0 Z.0375M9G28 U0. W0. M05M01(TOOL - 11 OFFSET - 11)(OD FINISH RIGHT - 35 DEG.)( OD FNS )N2 G28 U0. W0.G50 X0. Z0. S1500 T1100G96 S500 M03G42 G0 X10. Z.0375 T1111 M8G70 P100 Q101( FACE FNS )G0 G41 X10.3G70 P102 Q103M9G28 U0. W0. M05M01(TOOL - 3 OFFSET - 3)(INSERT DRILL - 2.0 DIA)( 2" DRILL )N3 G28 U0. W0.G50 X0. Z0. S1000 T0300G97 S955 M03G0 X0. Z.5 T0303 M8G81 Z-1.7437 Q.25.05 R.02 F.008G80G0 Z.5 M9G28 U0. W0. M05M01(TOOL - 5 OFFSET - 5)(ROUGH RIGHT - 80 DEG.)( ID RGH )N4 G28 U0. W0.G50 X0. Z0. T0500G96 S500 M03G0 X1.9 Z.15 T0505 M8G41 X2. Z.1G71 U.05 R0.G71 P104 Q105 U-.01 W.005 F.025N104 G0 G41 X3.75 S500G1 Z0. F.01G2 X3.6875 Z-.0313 R.0313G1 Z-.1437N105 G40 X2.G0 Z.1M9G28 U0. W0. M05M01(TOOL - 7 OFFSET - 7)(ID FINISH MIN. 1.0 DIA. - 55 DEG.)( ID FNS )N5 G28 U0. W0.G50 X0. Z0. S1500 T0700G96 S500 M03G41 G0 X3.75 Z.1 T0707 M8G70 P104 Q105M9G28 U0. W0. M05M30%On the previous post:
code:(TOOL - 11 OFFSET - 11)
(OD FINISH RIGHT - 35 DEG.)( FACE FNS )N2 G28 U0. W0.G50 X0. Z0. S1500 T1100G96 S500 M03G41 G0 X10.3 Z-.0625 T1111 M8 <-----this right hereG70 P100 Q101( OD FNS )G0 G42 X10.G70 P102 Q103M9G28 U0. W0.M05M01If there is a problem where can I fix it.
-
Here is the program I was using to edit the post, it has face, od, drilling, id, rough and finish.
code:%
O9030(TEST)G20(CREATED ON 13-07-09 AT 14:20 )(TOOL - 1 OFFSET - 1)(OD ROUGH RIGHT - 80 DEG.)( FACE RGH )N1 G28 U0. W0.G50 X0. Z0. S1000 T0100G96 S500 M03G0 X10.4 Z.15 T0101 M8G41 X10.3 Z.1G72 W.05 R.015G72 P100 Q101 U.01 W.005 F.025N100 G0 G41 Z-.0625 S500G1 X10.G2 X9.875 Z0. R.0625G1 X2.N101 G40 Z.1( OD RGH )G0 X10.3 Z.0375Z.0875G42 X10.2 Z.0375G71 U.05 R.015G71 P102 Q103 U.01 W.005 F.025N102 G0 G42 X10. S500G1 Z-1.1438N103 G40 X10.2M9G28 U0. W0. M05M01(TOOL - 11 OFFSET - 11)(OD FINISH RIGHT - 35 DEG.)( FACE FNS )N2 G28 U0. W0.G50 X0. Z0. S1500 T1100G96 S500 M03G41 G0 X10.3 Z-.0625 T1111 M8G70 P100 Q101( OD FNS )G0 G42 X10.G70 P102 Q103M9G28 U0. W0. M05M01(TOOL - 3 OFFSET - 3)(INSERT DRILL - 2.0 DIA)( 2" DRILL )N3 G28 U0. W0.G50 X0. Z0. S1000 T0300G97 S955 M03G0 X0. Z.5 T0303 M8G81 Z-1.7437 Q.25.05 R.02 F.008G80G0 Z.5 M9G28 U0. W0. M05M01(TOOL - 5 OFFSET - 5)(ROUGH RIGHT - 80 DEG.)( ID RGH )N4 G28 U0. W0.G50 X0. Z0. T0500G96 S500 M03G0 X1.9 Z.15 T0505 M8G41 X2. Z.1G71 U.05 R.015G71 P104 Q105 U-.01 W.005 F.025N104 G0 G41 X3.75 S500G1 Z0. F.01G2 X3.6875 Z-.0313 R.0313G1 Z-.1437N105 G40 X2.G0 Z.1M9G28 U0. W0. M05M01(TOOL - 7 OFFSET - 7)(ID FINISH MIN. 1.0 DIA. - 55 DEG.)( ID FNS )N5 G28 U0. W0.G50 X0. Z0. S1500 T0700G96 S500 M03G41 G0 X3.75 Z.1 T0707 M8G70 P104 Q105M9G28 U0. W0. M05M01M00(Flip Stock)(TOOL - 1 OFFSET - 2)(OD ROUGH RIGHT - 80 DEG.)( FACE RGH2 )N6 G28 U0. W0.G50 X0. Z0. S1000 T0100G96 S500 M03G0 X10.4 Z.161 T0102 M8G41 X10.3 Z.111G72 W.05 R.015G72 P106 Q107 U.01 W.005 F.025N106 G0 G41 Z-.0625 S500G1 X10.G2 X9.875 Z0. R.0625G1 X2.N107 G40 Z.111( OD RGH2 )G0 X10.3 Z.1Z.15G42 X10.2 Z.1G71 U.05 R.015G71 P108 Q109 U.01 W.005 F.025N108 G0 G42 X7.0225 S500G1 Z0.G3 X7.085 Z-.0313 R.0313G1 Z-.364X9.9375G3 X10. Z-.3952 R.0313N109 G1 G40 X10.2M9G28 U0. W0. M05M01(TOOL - 11 OFFSET - 12)(OD FINISH RIGHT - 35 DEG.)( FACE FNS2 )N7 G28 U0. W0.G50 X0. Z0. S1500 T1100G96 S500 M03G41 G0 X10.3 Z-.0625 T1112 M8G70 P106 Q107( OD FNS2 )G0 G42 X7.0225G70 P108 Q109M9G28 U0. W0. M05M01(TOOL - 5 OFFSET - 6)(ROUGH RIGHT - 80 DEG.)( ID RGH2 )N8 G28 U0. W0.G50 X0. Z0. S1000 T0500G96 S500 M03G0 X3.3875 Z.15 T0506 M8G41 X3.4875 Z.1G71 U.05 R.015G71 P110 Q111 U-.01 W.005 F.01N110 G0 G41 X6.5225 S500G1 Z0.G2 X6.46 Z-.0313 R.0313G1 Z-.864G3 X6.21 Z-.989 R.125G1 X4.5625G2 X4.5 Z-1.0203 R.0313G1 Z-1.364X3.75G2 X3.6875 Z-1.3953 R.0313N111 G1 G40 X3.4875G0 Z.1M9G28 U0. W0. M05M01(TOOL - 7 OFFSET - 8)(ID FINISH MIN. 1.0 DIA. - 55 DEG.)( ID FN2 )N9 G28 U0. W0.G50 X0. Z0. S1500 T0700G96 S500 M03G41 G0 X6.5225 Z.1 T0708 M8G70 P110 Q111G0 Z0.X3.6875M9G28 U0. W0. M05M30%This output is obtained with that line commented out, now I do have sequence disabled in the Control but I have omitseq$ = -1 , To enable for LCC maybe thats why it still works. Also in the control I have the sequence start at 100 & Inc 1, eventhoug the swith is disabled. By any chance do you know how I can get rid of the neg coordinate right before the G70?
-
Actually I dont have that problem, The only problem I have with the G70s is that it will start the Z at N1s Z and that command basically drags the cutting edge across the just finished face.
code:G72 P100 Q101 U.01 W.005 F.025
N100 G0 G41 Z-.0625 S500G1 X10.G2 X9.875 Z0. R.0625G1 X2.N101 G40 Z.1.......N2 G28 U0. W0.G50 X0. Z0. S1500 T1100G96 S500 M03G41 G0 X10.3 Z-.0625 T1111 M8 <--- right here, Im working on it right now.G70 P100 Q101( OD FNS )G0 G42 X10.G70 P102 Q103
-
Well I have finnaly found what nakes my post screw up the P & Q for G70.
code:pread_g70 #Read G70 recall buffer
foundcc = zerosize2 = rbuf (two, zero)#wc2 = one <------- Removed for correct G70 P & Q. 07/13/09while wc2 <= size2 & foundcc = zero,[fcc_subid = rbuf (two, wc2)if fcc_subid = sub_op_id$,[gcodecc = zerong70s = fcc_ng70sng70e = fcc_ng70epbld, n$, *scclgcode, *ng70s, *ng70e, e$foundcc = one]]
-
My post is based off an MPLFAN, all I have moded so far are the sequence at every tool change.
code:seq_tool_n = seq_tool_n + 1 # Sequence numbering - Just for ToolChange
pbld, n$, seq_tool_n, *sg28ref, "U0.", [if y_axis_mch, "V0."], "W0.", e$Does the version 9 of this post do the same thing ?
-
I have a problem in my post. It will outpu the P and Q from the first OP for every finsih (G70) op. Can anyone help. Thx !
This is my current output:
code:(TOOL - 1 OFFSET - 1)
(OD ROUGH RIGHT - 80 DEG.)( FACE RGH )N1 G28 U0. W0.G50 X0. Z0. S1000 T0100G96 S500 M03G0 X10.4 Z.15 T0101 M8G41 X10.3 Z.1G72 W.05 R0.G72 P100 Q101 U.01 W.005 F.025 <----- P100 Q101N100 G0 G41 Z-.0625 S500G1 X10.G2 X9.875 Z0. R.0625G1 X2.N101 G40 Z.1( OD RGH )G0 X10.3 Z.0375Z.0875G42 X10.2 Z.0375G71 U.05 R0.G71 P102 Q103 U.01 W.005 F.025 <---P102 Q103N102 G0 G42 X10. S500G1 Z-1.1438N103 G40 X10.2M9G28 U0. W0. M05T0101M01(TOOL - 11 OFFSET - 11)(OD FINISH RIGHT - 35 DEG.)( FACE FNS )N2 G28 U0. W0.G50 X0. Z0. S1500 T1100G96 S500 M03G41 G0 X10.3 Z-.0625 T1111 M8G70 P100 Q101 <--- THIS ONE IS RIGHT( OD FNS )G0 G42 X10.G70 P100 Q101 <--- THIS P & Q SHOULD BE 102 & 103 RESPECTIVELYM9G28 U0. W0. M05T1111M30
-
I have omitseq = -1 #To enable for LCC
and in my machine definition I have #Output sequence #s off but I set Start@100 and Inc of 1 for LCC
Here is the Code I have in order to get an N + 1 at the G28 every toolchange.
code:# Toolchange / NC output Variable Formats
....#------------------------------------------------fmt N 4 seq_tool_n #Sequence Toolchange <--- Insert this variablefmt N 4 n$ #Sequence number......ltlchg$ #Toolchange, lathe <--- search for ltlchg$#Toolchange g50 positionseq_tool_n = seq_tool_n + 1 # Sequence numbering - Just for ToolChange <--- Insert this to use variablepbld, n$, seq_tool_n, *sg28ref, "U0.", [if y_axis_mch, "V0."], "W0.", e$ <---Insert seq_tool_n before *sg28ref (G28)Voila, Im still working on getting my G70 to pick up the right P and Q; as of now it picks up the op1's P and Q for every finish OP. Can anyone help ?
-
I also need some help, When I post I get the sequence numbers but for every G70 Cycle the output is the sequenece numbers from the first Rough pass; for evey single finish.
code:(Flip Stock)
(TOOL - 1 OFFSET - 2)(OD ROUGH RIGHT - 80 DEG. INSERT - CNMG-432)( FC RGH2 )G28 U0. W0.G50 X10. Z10.G0 T0102G50 S700G96 S400 M03G0 X12.3 Z.185 M8G41 X12.2 Z.135G72 W.05 R.015G72 P3 Q4 U.02 W.01 F.025N3 G0 G41 Z0. S400G1 X-.07 F.01N4 G40 Z.135G0 X12.2M9G28 U0. W0. M05T0100M01(TOOL - 11 OFFSET - 12)(OD FINISH RIGHT - 35 DEG. INSERT - VNMG-431)( FC FNS2 )G28 U0. W0.G50 X10. Z10.G0 T1112G50 S1500G96 S400 M03G41 G0 X12.2 Z0. M8G70 P1 Q2 --- this is from the first opM9G28 U0. W0. M05T1100M01(TOOL - 5 OFFSET - 5)(ID ROUGH MIN. .375 DIA. - 75 DEG. INSERT - NONE)( ID RGH )G28 U0. W0.G50 X10. Z10.G0 T0505G50 S700G96 S400 M03G0 X.303 Z.15 M8G42 X.403 Z.1G72 W.035 R.015G72 P5 Q6 U-.02 W.01 F.02N5 G0 G42 Z-.188 S400G1 X8. F.008N6 G40 Z.1G0 X.403M9G28 U0. W0. M05T0500M01(TOOL - 7 OFFSET - 7)(ID FINISH MIN. .5 DIA. - 55 DEG. INSERT - NONE)( ID FNS )G28 U0. W0.G50 X10. Z10.G0 T0707G50 S1500G96 S400 M03G42 G0 X.403 Z.03 M8G70 P1 Q2 --- this if from the fisrt opM9G28 U0. W0. M05T0700M30%
-
I need this done also, I placed a 27 for my carbide; but for my 1/2 HSS it should be around 5 and the post placed a 27 for my HSS....a bit too fast. I found this post code in another thread maybe this can help.
code:# mr5$ "Arc Feedrate Factor" <-multiplies feed by this value
# mr6$ "Arc Threshold" <-if arc rad falls below this valuepcirout1#Output to NC of circular interpolationpcan1, pbld, n$, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,pxout, pyout, pzout, pcout, parc,[if arcrad$,[if arcrad$ <mr6$ & arcrad$ >-mr6$ & mr5$<>0,feed = feed*mr5$]],if feed <0.01,feed = 0.01feed, strcantext, scoolant, e$
[ 07-02-2009, 11:59 AM: Message edited by: williamj ]
G70 P & Q Numbering
in Industrial Forum
Posted
Thats Great news. Were you able to pinpoint what causes that -Z right before the G70 (FACE FNS)? I've had trouble editing that one. I appreciate any help you can give me. Thanks for the info on the sub_op_id Fix.