CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > MetalWorking Machines > CNC Swiss Screw Machines


CNC Swiss Screw Machines Discuss CNC Swiss Screw Machines here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-09-2011, 01:01 PM
 
Join Date: Mar 2005
Location: united states
Posts: 14
geach73 is on a distinguished road
G32 swiss threading....

Im new to the fourm and have been a cnc machinist for a long time. Love to do it. Right now ive been asked at my job to program a macro for a thread that can segmate or blend at incrementing lengths on a swiss turn Citizen A20 With funac programming format. I know you have to use a G32 for this to acheave spindle syncronation with the feed. I need some rules as to how the G32 works could I say start at the normal starting points as I use for any other thread cycle x=(major dia+single depth*2) z=-(lead*4)or.250 which ever is greater ? Can I make each pass at 29 deg down the thread and 29 deg out of the thread ? Im kinda confused as to how the endpoint of the thread is cut for blending the next section of thread. Please help thanks Gary
Reply With Quote

  #2   Ban this user!
Old 10-09-2011, 02:06 PM
 
Join Date: May 2004
Location: United States
Age: 48
Posts: 2,190
txcncman is on a distinguished road

I am not sure if I understand what you are asking, but it seems like you just need to thread a section at a time. First thread will be from Z0. to Z-.25. Second from Z-.35 to Z-.5. And so on. I do not see that the calculations should be that difficult. Diagram it out on CAD and the substitute variables in the appropriate places.
__________________
http://www.kirkcon.com/
Reply With Quote

  #3   Ban this user!
Old 10-21-2011, 07:08 AM
 
Join Date: Jun 2010
Location: United States
Posts: 36
g-code_junkie is on a distinguished road
G32 turn thread cycle

If you have Win-Cnc ,under the the threading program section is a application that will write you the turn ,thread, turn code you are looking for by filling in the required information.
Good luck
Reply With Quote

  #4   Ban this user!
Old 10-29-2011, 10:21 AM
 
Join Date: Mar 2005
Location: united states
Posts: 14
geach73 is on a distinguished road

We have win cnc but the whole reason for a macro is making the memory and programming easier for a less experianced operator. My question is actually rules for how g32 works not caculating each path. your right the math isnt that diffacult but when you are trying to write a macro that threads and gradually decreses on each cut and never wroth one quite like it before questions is the olny way to make that happen.
Reply With Quote

  #5   Ban this user!
Old 10-29-2011, 02:34 PM
 
Join Date: Mar 2005
Location: united states
Posts: 14
geach73 is on a distinguished road
Cool G32 Segmenting custom macro

Here is actually the copy of my program. I belive it all makes sence and should work. Please if anyone can see any problems with it let me know. Thanks. Gary
citizen a20 funac equiped controller.......


%
O1234;
#229=4 (# OF SEGMENTS);
#209=.450 (SEGMENT LENGTH);
;
#228=1;
WHILE[#228 LT #229] D01;
#200=.050 (LEAD);
#201=.250 (MAJOR DIA);
#202=.034 (SINGLE DEPTH);
#205=.010 (1 ST PASS DEPTH);
#207=.0015(FIN PASS DEPTH);
#227=2 (# OF SPRING PASSES);
#216=10 (DECRESE % AMOUNT);
;
N1 (TURN 1ST SEGMENT LENGTH);
T500;
M03 S1=1000;
G00 X#201+.050 Z-.05 T05;
G50 S3000;
G96 S250;
G99;
G71 U.050 R.025;
G71 P110 Q120 U.020 W.005 F.008;
N110 G00 X#201-[#202*3];
G01 Z0.0 F.006;
X#201 Z[#202*3]/2;
Z#209;
N120 X#201+.050 ;
G70 P110 Q120;
G80;
G00X#201+.050 Z-.050 T0;
M09;
M05;
M01;
;
N2(THREAD SEGMENT);
T0400;
M03 S1=500;
G00 X#201+[#202*2] Z0.0 T04;
;
(MATH FOR LOOPING AND DECREASING VALUES);
#203=[#202+#202]*[29]TAN;
#204=[#202+#205]*[29]TAN;
#206=#205*[29]TAN;
#210=#202*[29]TAN;
#222=#202;
;
(APROACH POINT);
X#201+[#202*2];
W-#203+[#200*4];
;
(ROUGHING PASSES);
WHILE[#222 GT #207] D02;
#203=#203-#206;
G99;
G32 U-[#202+#205]*2 W#204 F#200;
Z[#209-[#210*2]]+#206;
U#202*2 W#210;
G00 Z-[#200*4]+#203;
;
(SUBTRACT PASS FROM SINGLE DEPTH FOR LOOPING);
#222=#222-#205
;
(CACULATE DEPTH OF CUT AND NEXT X,Z MOVES);
#215=[#216/100]*#205;
#205=#205-#215;
#206=#205*[29]TAN;
#204=[#202+#205]*[29]TAN;
END2;
;
(FINISH PASSES);
(CONSTANTS FOR FINISH CYCLES)
#231=#201;
#232=#202;
#235=#205;
#237=#207;
#230=1;
N100 G32 U-[#232+#207]*2 W#210+[#207*[29]TAN] F#200;
Z#209-#210;
U[#232+#207]*2 W#210+[#207*[29]TAN];
G00 Z-[#210+[#207*[29]TAN]+[#200*4];
#230=#230+1;
IF[#230 GT #227] GOTO200;
GOTO100;

N200 #228=#228+1;

IF[#228 GT #229]GOTO300;
G50 W-#209;
END1;

G50 W#209*#229;
N300 (END LAST SEGMENT);
GOO X#201+[#202*4] M09;
M05;
M30;
%

Last edited by geach73; 10-29-2011 at 03:01 PM. Reason: error in program text
Reply With Quote

Sponsored Links
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please advise: Swiss turned plastic parts. Appropriate applicaiton for swiss turn? MadMax CNC Swiss Screw Machines 15 04-14-2011 11:33 AM
Just IN- Threading Tools for Swiss Automatics WhizCut Product Announcements & Manufacturer News 1 10-23-2010 06:50 AM
Hello from SWISS olsti Europe Club House 0 05-12-2010 01:15 PM
new to swiss positiverake CNC Swiss Screw Machines 6 11-12-2009 01:19 PM
Looking For A Job- cnc/swiss cnc 3400sfi Employment Opportunity 1 07-18-2009 04:37 PM




All times are GMT -5. The time now is 02:52 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361