Hello Guest it is March 05, 2021, 09:32:15 AM

Author Topic: Video of my setup and Mach3 lathe problem. Weird problem....  (Read 6316 times)

0 Members and 1 Guest are viewing this topic.

Video of my setup and Mach3 lathe problem. Weird problem....
« on: December 17, 2011, 08:21:14 PM »
In this video I show my setup and a strange problem I am having with Mach3.

http://youtu.be/kiBcIA3a1WU

Anyone have any ideas how to fix the problem?
Re: Video of my setup and Mach3 lathe problem. Weird problem....
« Reply #1 on: December 18, 2011, 12:27:56 AM »
Hi,

Can you post your G Code so we can try to help?

Are you using Tool Tables and Tool Calls calls for each tool in the gang?  I have a gang tool setup & I do not use tool tables and tool calls.  I use G52 offsets to set the offset for each tool.

If you want, I can post or refer you to my typical G Code for Gang Tool setup.  Just let me know if you think it would help.

The fact that your simulated cut is on the far side of the stock looks to me like you have the turret set in Mach3 for the rear side.  I use a conventional turret setup from the near (front) side of the stock with my Mach3 setup.

Regards

Chrisjh
Re: Video of my setup and Mach3 lathe problem. Weird problem....
« Reply #2 on: December 18, 2011, 01:24:16 AM »
I actually had not gotten as far as to set up the offsets. Honestly, I dont even know how to do it!

I would love to see your code and see how you do it.

Also, any pointers you can provide would be very appriciated!

Additionally, I cant figure out if I have the tools set in the front or rear turret. I have the tool set to "orientation 1" and that is coming in from X+ toward X- and Z+ toward Z- so I think that this is correct.

I do agree, it does look like the tools are coming in from the front and rear toolposts.
Re: Video of my setup and Mach3 lathe problem. Weird problem....
« Reply #3 on: December 18, 2011, 01:29:09 AM »
Also here is my code.



(BEGIN PREDATOR NC HEADER)
(MCH_FILE=LATHE.MCH)
(END PREDATOR NC HEADER)
 
%
O00001 (PROGRAM NUMBER)
(PROGRAM START - TURNING CYCLES)
(PROGRAM NAME - D.NC)
(POST - MACH 3)
(DATE - SAT. 12/17/2011)
(TIME - 05:55PM)
( )
( )
N01 G18 G20 G40 G80 G90 G98
( )
(JOB 1  DRILLING CYCLE )
(TOOL #0 carbconnectorcenterdrill )
N02 T0001 M06
N03 G50 S2000
N04 G97 S750
N05 G00 G54 X0. Z.1 M08
( )
N06 G01 Z.085 F5.
N07 G00 Z.1
N08 Z.09
N09 G01 Z.035 F5.
N10 G00 Z.05
N11 Z.04
N12 G01 Z-.015 F5.
N13 G00 Z0.
N14 Z-.01
N15 G01 Z-.065 F5.
N16 G00 Z-.05
N17 Z-.06
N18 G01 Z-.1 F5.
N19 G00 Z.1
N20 G80
N21 T0000
N22 M09
N23 M01
( )
(JOB 2  DRILLING CYCLE )
(TOOL #0 carbconnectorthroughdrill )
( )
N24 T0002 M06
N25 G50 S2000
N26 G97 G96 S750
N27 G00 G54 X0. Z.1 M08
( )
N28 G01 Z.085 F5.
N29 G00 Z.1
N30 Z.09
N31 G01 Z.035 F5.
N32 G00 Z.05
N33 Z.04
N34 G01 Z-.015 F5.
N35 G00 Z0.
N36 Z-.01
N37 G01 Z-.065 F5.
N38 G00 Z-.05
N39 Z-.06
N40 G01 Z-.115 F5.
N41 G00 Z-.1
N42 Z-.11
N43 G01 Z-.165 F5.
N44 G00 Z-.15
N45 Z-.16
N46 G01 Z-.215 F5.
N47 G00 Z-.2
N48 Z-.21
N49 G01 Z-.265 F5.
N50 G00 Z-.25
N51 Z-.26
N52 G01 Z-.315 F5.
N53 G00 Z-.3
N54 Z-.31
N55 G01 Z-.365 F5.
N56 G00 Z-.35
N57 Z-.36
N58 G01 Z-.415 F5.
N59 G00 Z-.4
N60 Z-.41
N61 G01 Z-.465 F5.
N62 G00 Z-.45
N63 Z-.46
N64 G01 Z-.515 F5.
N65 G00 Z-.5
N66 Z-.51
N67 G01 Z-.565 F5.
N68 G00 Z-.55
N69 Z-.56
N70 G01 Z-.615 F5.
N71 G00 Z-.6
N72 Z-.61
N73 G01 Z-.665 F5.
N74 G00 Z-.65
N75 Z-.66
N76 G01 Z-.715 F5.
N77 G00 Z-.7
N78 Z-.71
N79 G01 Z-.765 F5.
N80 G00 Z-.75
N81 Z-.76
N82 G01 Z-.815 F5.
N83 G00 Z-.8
N84 Z-.81
N85 G01 Z-.865 F5.
N86 G00 Z-.85
N87 Z-.86
N88 G01 Z-.915 F5.
N89 G00 Z-.9
N90 Z-.91
N91 G01 Z-.965 F5.
N92 G00 Z-.95
N93 Z-.96
N94 G01 Z-1.015 F5.
N95 G00 Z-1.
N96 Z-1.01
N97 G01 Z-1.065 F5.
N98 G00 Z-1.05
N99 Z-1.06
N100 G01 Z-1.115 F5.
N101 G00 Z-1.1
N102 Z-1.11
N103 G01 Z-1.165 F5.
N104 G00 Z-1.15
N105 Z-1.16
N106 G01 Z-1.215 F5.
N107 G00 Z-1.2
N108 Z-1.21
N109 G01 Z-1.265 F5.
N110 G00 Z-1.25
N111 Z-1.26
N112 G01 Z-1.315 F5.
N113 G00 Z-1.3
N114 Z-1.31
N115 G01 Z-1.365 F5.
N116 G00 Z-1.35
N117 Z-1.36
N118 G01 Z-1.375 F5.
N119 G00 Z.1
N120 G80
N121 T0000
N122 M09
N123 M01
( )
(JOB 3  ROUGH CYCLE )
(TOOL #0 carbconnectorgroovingtool )
( )
N124 T0003 M06
N125 G50 S2000
N126 G97 S1500
N127 G00 G54 X-.355 Z-.02 M08
( )
N128 X-.2525
N129 G01 Z-1.2601 F5.
N130 X-.255 F5.
N131 G00 Z-.02
N132 X-.25
N133 G01 Z-1.2601 F5.
N134 X-.2525 F5.
N135 G00 Z-.02
N136 X-.2475
N137 G01 Z-1.2601 F5.
N138 X-.25 F5.
N139 G00 Z-.02
N140 X-.245
N141 G01 Z-1.2601 F5.
N142 X-.2475 F5.
N143 G00 Z-.02
N144 X-.2425
N145 G01 Z-1.2601 F5.
N146 X-.245 F5.
N147 G00 Z-.02
N148 X-.24
N149 G01 Z-1.2601 F5.
N150 X-.2425 F5.
N151 G00 Z-.02
N152 X-.2375
N153 G01 Z-1.2601 F5.
N154 X-.24 F5.
N155 G00 Z-.02
N156 X-.235
N157 G01 Z-1.26 F5.
N158 X-.2375 F5.
N159 G00 Z-.02
N160 X-.2325
N161 G01 Z-1.26 F5.
N162 X-.235 F5.
N163 G00 Z-.02
N164 X-.23
N165 G01 Z-1.26 F5.
N166 X-.2325 F5.
N167 G00 Z-.02
N168 X-.2275
N169 G01 Z-1.26 F5.
N170 X-.23 F5.
N171 G00 Z-.02
N172 X-.225
N173 G01 Z-1.26 F5.
N174 X-.2275 F5.
N175 G00 Z-.02
N176 X-.2225
N177 G01 Z-1.26 F5.
N178 X-.225 F5.
N179 G00 Z-.02
N180 X-.22
N181 G01 Z-1.26 F5.
N182 X-.2225 F5.
N183 G00 Z-.02
N184 X-.2175
N185 G01 Z-1.26 F5.
N186 X-.22 F5.
N187 G00 Z-.02
N188 X-.215
N189 G01 Z-1.26 F5.
N190 X-.2175 F5.
N191 G00 Z-.02
N192 X-.2125
N193 G01 Z-.4377 F5.
N194 G03 X-.215 Z-.442 R.005 F5.
N195 G00 Z-.02
N196 X-.21
N197 G01 Z-.4369 F5.
N198 G03 X-.2125 Z-.4377 R.0035 F5.
N199 G00 Z-.02
N200 X-.2075
N201 G01 Z-.4369 F5.
N202 X-.21 F5.
N203 G00 Z-.02
N204 X-.205
N205 G01 Z-.4369 F5.
N206 X-.2075 F5.
N207 G00 Z-.02
N208 X-.2025
N209 G01 Z-.4369 F5.
N210 X-.205 F5.
N211 G00 Z-.02
N212 X-.2
N213 G01 Z-.4369 F5.
N214 X-.2025 F5.
N215 G00 Z-.02
N216 X-.1975
N217 G01 Z-.4369 F5.
N218 X-.2 F5.
N219 G00 Z-.02
N220 X-.195
N221 G01 Z-.4368 F5.
N222 X-.1975 F5.
N223 G00 Z-.02
N224 X-.1925
N225 G01 Z-.4368 F5.
N226 X-.195 F5.
N227 G00 Z-.02
N228 X-.19
N229 G01 Z-.4368 F5.
N230 X-.1925 F5.
N231 G00 Z-.02
N232 X-.1875
N233 G01 Z-.4368 F5.
N234 X-.19 F5.
N235 G00 Z-.02
N236 X-.185
N237 G01 Z-.4368 F5.
N238 X-.1875 F5.
N239 G00 Z-.02
N240 X-.1825
N241 G01 Z-.4368 F5.
N242 X-.185 F5.
N243 G00 Z-.02
N244 X-.18
N245 G01 Z-.4368 F5.
N246 X-.1825 F5.
N247 G00 Z-.02
N248 X-.1775
N249 G01 Z-.0603 F5.
N250 G03 X-.1794 Z-.0817 R.1902 F5.
N251 G01 X-.1795 Z-.4368 F5.
N252 G00 Z-.342
N253 G01 X-.175 Z-.0474 F5.
N254 G03 X-.1775 Z-.0603 R.1302 F5.
N255 G00 Z-.02
N256 X-.1725
N257 G01 Z-.0377 F5.
N258 G03 X-.175 Z-.0474 R.1073 F5.
N259 G00 Z-.02
N260 X-.17
N261 G01 Z-.0298 F5.
N262 X-.1725 Z-.0377 F5.
N263 G00 Z-.02
N264 X-.1675
N265 G01 Z-.0229 F5.
N266 X-.17 Z-.0298 F5.
N267 G00 Z-.02
N268 X-.165
N269 G01 Z-.0204 F5.
N270 G03 X-.1675 Z-.0229 R.0049 F5.
N271 G00 Z-.02
N272 X-.1641
N273 G01 X-.165 Z-.0204 F5.
N274 G00 X-.2795
N275 Z-.16
N276 G01 X-.1795 F5.
N277 G03 X-.177 Z-.1643 R.005 F5.
N278 G01 Z-.2062 F5.
N279 G03 X-.1795 Z-.2105 R.005 F5.
N280 G00 Z-.1643
N281 X-.177
N282 G03 X-.1745 Z-.1649 R.0055 F5.
N283 G01 Z-.2054 F5.
N284 G03 X-.177 Z-.2062 R.0035 F5.
N285 G00 Z-.1649
N286 X-.1745
N287 G01 X-.172 F5.
N288 Z-.2054 F5.
N289 X-.1745 F5.
N290 G00 Z-.1649
N291 X-.172
N292 G01 X-.1695 F5.
N293 Z-.2054 F5.
N294 X-.172 F5.
N295 G00 Z-.1649
N296 X-.1695
N297 G01 X-.167 F5.
N298 Z-.2054 F5.
N299 X-.1695 F5.
N300 G00 Z-.1649
N301 X-.167
N302 G01 X-.1645 F5.
N303 Z-.2054 F5.
N304 X-.167 F5.
N305 G00 Z-.1649
N306 X-.1645
N307 G01 X-.162 F5.
N308 Z-.2054 F5.
N309 X-.1645 F5.
N310 G00 Z-.1649
N311 X-.162
N312 G01 X-.1595 F5.
N313 Z-.2054 F5.
N314 X-.162 F5.
N315 G00 Z-.1649
N316 X-.1595
N317 G01 X-.157 F5.
N318 Z-.2054 F5.
N319 X-.1595 F5.
N320 G00 Z-.1649
N321 X-.157
N322 G01 X-.1545 F5.
N323 Z-.2054 F5.
N324 X-.157 F5.
N325 G00 Z-.1649
N326 X-.1545
N327 G01 X-.152 F5.
N328 Z-.2054 F5.
N329 X-.1545 F5.
N330 G00 Z-.1649
N331 X-.152
N332 G01 X-.1495 F5.
N333 Z-.2054 F5.
N334 X-.152 F5.
N335 G00 Z-.1649
N336 X-.1495
N337 G01 X-.147 F5.
N338 Z-.2053 F5.
N339 X-.1495 F5.
N340 G00 Z-.1649
N341 X-.147
N342 G01 X-.1445 F5.
N343 Z-.2053 F5.
N344 X-.147 F5.
N345 G00 Z-.165
N346 X-.1445
N347 G01 X-.142 F5.
N348 Z-.2053 F5.
N349 X-.1445 F5.
N350 G00 Z-.165
N351 X-.142
N352 G01 X-.1395 F5.
N353 Z-.2053 F5.
N354 X-.142 F5.
N355 G00 Z-.165
N356 X-.1395
N357 G01 X-.137 F5.
N358 Z-.2053 F5.
N359 X-.1395 F5.
N360 G00 Z-.165
N361 X-.137
N362 G01 X-.1345 F5.
N363 Z-.2053 F5.
N364 X-.137 F5.
N365 G00 Z-.165
N366 X-.1345
N367 G01 X-.132 F5.
N368 Z-.2053 F5.
N369 X-.1345 F5.
N370 G00 Z-.165
N371 X-.132
N372 G01 X-.1295 F5.
N373 Z-.2053 F5.
N374 X-.132 F5.
N375 G00 Z-.165
N376 X-.1295
N377 G01 X-.127 F5.
N378 Z-.2053 F5.
N379 X-.1295 F5.
N380 G00 Z-.165
N381 X-.127
N382 G01 X-.1245 F5.
N383 Z-.2053 F5.
N384 X-.127 F5.
N385 G00 Z-.165
N386 X-.1245
N387 G01 X-.122 F5.
N388 Z-.2053 F5.
N389 X-.1245 F5.
N390 G00 Z-.165
N391 X-.122
N392 G01 X-.1195 F5.
N393 Z-.2053 F5.
N394 X-.122 F5.
N395 G00 Z-.165
N396 X-.1195
N397 G01 X-.119 Z-.2053 F5.
N398 G00 X-.2795
N399 Z-.2915
N400 G01 X-.1795 F5.
N401 G03 X-.177 Z-.2958 R.005 F5.
N402 G01 Z-.3377 F5.
N403 G03 X-.1795 Z-.342 R.005 F5.
N404 G00 Z-.2958
N405 X-.177
N406 G03 X-.1745 Z-.2964 R.0055 F5.
N407 G01 Z-.3369 F5.
N408 G03 X-.177 Z-.3377 R.0035 F5.
N409 G00 Z-.2964
N410 X-.1745
N411 G01 X-.172 F5.
N412 Z-.3369 F5.
N413 X-.1745 F5.
N414 G00 Z-.2964
N415 X-.172
N416 G01 X-.1695 F5.
N417 Z-.3369 F5.
N418 X-.172 F5.
N419 G00 Z-.2964
N420 X-.1695
N421 G01 X-.167 F5.
N422 Z-.3369 F5.
N423 X-.1695 F5.
N424 G00 Z-.2964
N425 X-.167
N426 G01 X-.1645 F5.
N427 Z-.3369 F5.
N428 X-.167 F5.
N429 G00 Z-.2964
N430 X-.1645
N431 G01 X-.162 F5.
N432 Z-.3369 F5.
N433 X-.1645 F5.
N434 G00 Z-.2964
N435 X-.162
N436 G01 X-.1595 F5.
N437 Z-.3369 F5.
N438 X-.162 F5.
N439 G00 Z-.2964
N440 X-.1595
N441 G01 X-.157 F5.
N442 Z-.3369 F5.
N443 X-.1595 F5.
N444 G00 Z-.2964
N445 X-.157
N446 G01 X-.1545 F5.
N447 Z-.3369 F5.
N448 X-.157 F5.
N449 G00 Z-.2964
N450 X-.1545
N451 G01 X-.152 F5.
N452 Z-.3369 F5.
N453 X-.1545 F5.
N454 G00 Z-.2964
N455 X-.152
N456 G01 X-.1495 F5.
N457 Z-.3369 F5.
N458 X-.152 F5.
N459 G00 Z-.2964
N460 X-.1495
N461 G01 X-.147 F5.
N462 Z-.3368 F5.
N463 X-.1495 F5.
N464 G00 Z-.2964
N465 X-.147
N466 G01 X-.1445 F5.
N467 Z-.3368 F5.
N468 X-.147 F5.
N469 G00 Z-.2965
N470 X-.1445
N471 G01 X-.142 F5.
N472 Z-.3368 F5.
N473 X-.1445 F5.
N474 G00 Z-.2965
N475 X-.142
N476 G01 X-.1395 F5.
N477 Z-.3368 F5.
N478 X-.142 F5.
N479 G00 Z-.2965
N480 X-.1395
N481 G01 X-.137 F5.
N482 Z-.3368 F5.
N483 X-.1395 F5.
N484 G00 Z-.2965
N485 X-.137
N486 G01 X-.1345 F5.
N487 Z-.3368 F5.
N488 X-.137 F5.
N489 G00 Z-.2965
N490 X-.1345
N491 G01 X-.132 F5.
N492 Z-.3368 F5.
N493 X-.1345 F5.
N494 G00 Z-.2965
N495 X-.132
N496 G01 X-.1295 F5.
N497 Z-.3368 F5.
N498 X-.132 F5.
N499 G00 Z-.2965
N500 X-.1295
N501 G01 X-.127 F5.
N502 Z-.3368 F5.
N503 X-.1295 F5.
N504 G00 Z-.2965
N505 X-.127
N506 G01 X-.1245 F5.
N507 Z-.3368 F5.
N508 X-.127 F5.
N509 G00 Z-.2965
N510 X-.1245
N511 G01 X-.122 F5.
N512 Z-.3368 F5.
N513 X-.1245 F5.
N514 G00 Z-.2965
N515 X-.122
N516 G01 X-.1195 F5.
N517 Z-.3368 F5.
N518 X-.122 F5.
N519 G00 Z-.2965
N520 X-.1195
N521 G01 X-.119 Z-.3368 F5.
N522 G00 X-.315
N523 Z-.81
N524 G01 X-.215 F5.
N525 G03 X-.2125 Z-.8143 R.005 F5.
N526 G01 Z-1.26 F5.
N527 X-.215 F5.
N528 G00 Z-.8143
N529 X-.2125
N530 G03 X-.21 Z-.8149 R.0055 F5.
N531 G01 Z-1.26 F5.
N532 X-.2125 F5.
N533 G00 Z-.8149
N534 X-.21
N535 G01 X-.2075 F5.
N536 Z-1.26 F5.
N537 X-.21 F5.
N538 G00 Z-.8149
N539 X-.2075
N540 G01 X-.205 F5.
N541 Z-1.26 F5.
N542 X-.2075 F5.
N543 G00 Z-.8149
N544 X-.205
N545 G01 X-.2025 F5.
N546 Z-1.26 F5.
N547 X-.205 F5.
N548 G00 Z-.8149
N549 X-.2025
N550 G01 X-.2 F5.
N551 Z-1.2599 F5.
N552 X-.2025 F5.
N553 G00 Z-.8149
N554 X-.2
N555 G01 X-.1975 F5.
N556 Z-1.2599 F5.
N557 X-.2 F5.
N558 G00 Z-.8149
N559 X-.1975
N560 G01 X-.195 F5.
N561 Z-1.2599 F5.
N562 X-.1975 F5.
N563 G00 Z-.8149
N564 X-.195
N565 G01 X-.1925 F5.
N566 Z-1.2599 F5.
N567 X-.195 F5.
N568 G00 Z-.815
N569 X-.1925
N570 G01 X-.19 F5.
N571 Z-1.2599 F5.
N572 X-.1925 F5.
N573 G00 Z-.815
N574 X-.19
N575 G01 X-.1875 F5.
N576 Z-1.2599 F5.
N577 X-.19 F5.
N578 G00 Z-.815
N579 X-.1875
N580 G01 X-.185 F5.
N581 Z-1.2599 F5.
N582 X-.1875 F5.
N583 G00 Z-.815
N584 X-.185
N585 G01 X-.1825 F5.
N586 Z-1.2599 F5.
N587 X-.185 F5.
N588 G00 Z-.815
N589 X-.1825
N590 G01 X-.18 F5.
N591 Z-1.2599 F5.
N592 X-.1825 F5.
N593 G00 Z-.815
N594 X-.18
N595 G01 X-.1795 Z-.91 F5.
N596 G03 X-.1775 Z-.9139 R.0052 F5.
N597 G01 Z-.9566 F5.
N598 G03 X-.1795 Z-.9605 R.005 F5.
N599 G01 Z-1.2599 F5.
N600 G00 Z-1.1294
N601 G03 X-.175 Z-.9149 R.2197 F5.
N602 G01 Z-.9554 F5.
N603 G03 X-.1775 Z-.9566 R.0048 F5.
N604 G00 Z-.9149
N605 X-.175
N606 G01 X-.1725 F5.
N607 Z-.9554 F5.
N608 X-.175 F5.
N609 G00 Z-.9149
N610 X-.1725
N611 G01 X-.17 F5.
N612 Z-.9554 F5.
N613 X-.1725 F5.
N614 G00 Z-.9149
N615 X-.17
N616 G01 X-.1675 F5.
N617 Z-.9554 F5.
N618 X-.17 F5.
N619 G00 Z-.9149
N620 X-.1675
N621 G01 X-.165 F5.
N622 Z-.9554 F5.
N623 X-.1675 F5.
N624 G00 Z-.9149
N625 X-.165
N626 G01 X-.1625 F5.
N627 Z-.9554 F5.
N628 X-.165 F5.
N629 G00 Z-.9149
N630 X-.1625
N631 G01 X-.16 F5.
N632 Z-.9554 F5.
N633 X-.1625 F5.
N634 G00 Z-.9149
N635 X-.16
N636 G01 X-.1575 F5.
N637 Z-.9554 F5.
N638 X-.16 F5.
N639 G00 Z-.9149
N640 X-.1575
N641 G01 X-.155 F5.
N642 Z-.9554 F5.
N643 X-.1575 F5.
N644 G00 Z-.9149
N645 X-.155
N646 G01 X-.1525 F5.
N647 Z-.9554 F5.
N648 X-.155 F5.
N649 G00 Z-.9149
N650 X-.1525
N651 G01 X-.15 F5.
N652 Z-.9554 F5.
N653 X-.1525 F5.
N654 G00 Z-.9149
N655 X-.15
N656 G01 X-.1475 F5.
N657 Z-.9554 F5.
N658 X-.15 F5.
N659 G00 Z-.9149
N660 X-.1475
N661 G01 X-.145 F5.
N662 Z-.9553 F5.
N663 X-.1475 F5.
N664 G00 Z-.915
N665 X-.145
N666 G01 X-.1425 F5.
N667 Z-.9553 F5.
N668 X-.145 F5.
N669 G00 Z-.915
N670 X-.1425
N671 G01 X-.14 F5.
N672 Z-.9553 F5.
N673 X-.1425 F5.
N674 G00 Z-.915
N675 X-.14
N676 G01 X-.1375 F5.
N677 Z-.9553 F5.
N678 X-.14 F5.
N679 G00 Z-.915
N680 X-.1375
N681 G01 X-.135 F5.
N682 Z-.9553 F5.
N683 X-.1375 F5.
N684 G00 Z-.915
N685 X-.135
N686 G01 X-.1325 F5.
N687 Z-.9553 F5.
N688 X-.135 F5.
N689 G00 Z-.915
N690 X-.1325
N691 G01 X-.13 F5.
N692 Z-.9553 F5.
N693 X-.1325 F5.
N694 G00 Z-.915
N695 X-.13
N696 G01 X-.1275 F5.
N697 Z-.9553 F5.
N698 X-.13 F5.
N699 G00 Z-.915
N700 X-.1275
N701 G01 X-.125 F5.
N702 Z-.9553 F5.
N703 X-.1275 F5.
N704 G00 Z-.915
N705 X-.125
N706 G01 X-.1225 F5.
N707 Z-.9553 F5.
N708 X-.125 F5.
N709 G00 Z-.915
N710 X-.1225
N711 G01 X-.12 F5.
N712 Z-.9553 F5.
N713 X-.1225 F5.
N714 G00 Z-.915
N715 X-.12
N716 G01 X-.119 F5.
N717 Z-.9553 F5.
N718 X-.12 F5.
N719 G00 X-.2795
N720 Z-1.1294
N721 G01 X-.1795 F5.
N722 G01 X-.1794 Z-1.1671 F5.
N723 X-.1789 Z-1.1791 F5.
N724 X-.1775 Z-1.1914 F5.
N725 X-.177 Z-1.1945 F5.
N726 Z-1.2599 F5.
N727 X-.1795 F5.
N728 G00 Z-1.1945
N729 X-.177
N730 G03 X-.1745 Z-1.2068 R.1368 F5.
N731 G01 Z-1.2599 F5.
N732 X-.177 F5.
N733 G00 Z-1.2068
N734 X-.1745
N735 G01 X-.172 Z-1.216 F5.
N736 Z-1.2599 F5.
N737 X-.1745 F5.
N738 G00 Z-1.216
N739 X-.172
N740 G01 X-.1695 Z-1.2236 F5.
N741 Z-1.2599 F5.
N742 X-.172 F5.
N743 G00 Z-1.2236
N744 X-.1695
N745 G01 X-.1676 Z-1.2289 F5.
N746 X-.167 Z-1.23 F5.
N747 Z-1.2598 F5.
N748 X-.1695 F5.
N749 G00 Z-1.23
N750 X-.167
N751 G03 X-.1645 Z-1.2317 R.0044 F5.
N752 G01 Z-1.2598 F5.
N753 X-.167 F5.
N754 G00 Z-1.2317
N755 X-.1645
N756 G03 X-.162 Z-1.2319 R.0065 F5.
N757 G01 Z-1.2598 F5.
N758 X-.1645 F5.
N759 G00 Z-1.2319
N760 X-.162
N761 G01 X-.1595 F5.
N762 Z-1.2598 F5.
N763 X-.162 F5.
N764 G00 Z-1.2319
N765 X-.1595
N766 G01 X-.157 F5.
N767 Z-1.2598 F5.
N768 X-.1595 F5.
N769 G00 Z-1.2319
N770 X-.157
N771 G01 X-.1545 F5.
N772 Z-1.2598 F5.
N773 X-.157 F5.
N774 G00 Z-1.232
N775 X-.1545
N776 G01 X-.152 F5.
N777 Z-1.2598 F5.
N778 X-.1545 F5.
N779 G00 Z-1.232
N780 X-.152
N781 G01 X-.15 F5.
N782 Z-1.2598 F5.
N783 X-.152 F5.
N784 G00 X-.2795
N785 Z-1.0415
N786 G01 X-.1795 F5.
N787 G03 X-.177 Z-1.0458 R.005 F5.
N788 G01 Z-1.0877 F5.
N789 G03 X-.1795 Z-1.092 R.005 F5.
N790 G00 Z-1.0458
N791 X-.177
N792 G03 X-.1745 Z-1.0464 R.0055 F5.
N793 G01 Z-1.0869 F5.
N794 G03 X-.177 Z-1.0877 R.0035 F5.
N795 G00 Z-1.0464
N796 X-.1745
N797 G01 X-.172 F5.
N798 Z-1.0869 F5.
N799 X-.1745 F5.
N800 G00 Z-1.0464
N801 X-.172
N802 G01 X-.1695 F5.
N803 Z-1.0869 F5.
N804 X-.172 F5.
N805 G00 Z-1.0464
N806 X-.1695
N807 G01 X-.167 F5.
N808 Z-1.0869 F5.
N809 X-.1695 F5.
N810 G00 Z-1.0464
N811 X-.167
N812 G01 X-.1645 F5.
N813 Z-1.0869 F5.
N814 X-.167 F5.
N815 G00 Z-1.0464
N816 X-.1645
N817 G01 X-.162 F5.
N818 Z-1.0869 F5.
N819 X-.1645 F5.
N820 G00 Z-1.0464
N821 X-.162
N822 G01 X-.1595 F5.
N823 Z-1.0869 F5.
N824 X-.162 F5.
N825 G00 Z-1.0464
N826 X-.1595
N827 G01 X-.157 F5.
N828 Z-1.0869 F5.
N829 X-.1595 F5.
N830 G00 Z-1.0464
N831 X-.157
N832 G01 X-.1545 F5.
N833 Z-1.0869 F5.
N834 X-.157 F5.
N835 G00 Z-1.0464
N836 X-.1545
N837 G01 X-.152 F5.
N838 Z-1.0869 F5.
N839 X-.1545 F5.
N840 G00 Z-1.0464
N841 X-.152
N842 G01 X-.1495 F5.
N843 Z-1.0869 F5.
N844 X-.152 F5.
N845 G00 Z-1.0464
N846 X-.1495
N847 G01 X-.147 F5.
N848 Z-1.0868 F5.
N849 X-.1495 F5.
N850 G00 Z-1.0465
N851 X-.147
N852 G01 X-.1445 F5.
N853 Z-1.0868 F5.
N854 X-.147 F5.
N855 G00 Z-1.0465
N856 X-.1445
N857 G01 X-.142 F5.
N858 Z-1.0868 F5.
N859 X-.1445 F5.
N860 G00 Z-1.0465
N861 X-.142
N862 G01 X-.1395 F5.
N863 Z-1.0868 F5.
N864 X-.142 F5.
N865 G00 Z-1.0465
N866 X-.1395
N867 G01 X-.137 F5.
N868 Z-1.0868 F5.
N869 X-.1395 F5.
N870 G00 Z-1.0465
N871 X-.137
N872 G01 X-.1345 F5.
N873 Z-1.0868 F5.
N874 X-.137 F5.
N875 G00 Z-1.0465
N876 X-.1345
N877 G01 X-.132 F5.
N878 Z-1.0868 F5.
N879 X-.1345 F5.
N880 G00 Z-1.0465
N881 X-.132
N882 G01 X-.1295 F5.
N883 Z-1.0868 F5.
N884 X-.132 F5.
N885 G00 Z-1.0465
N886 X-.1295
N887 G01 X-.127 F5.
N888 Z-1.0868 F5.
N889 X-.1295 F5.
N890 G00 Z-1.0465
N891 X-.127
N892 G01 X-.1245 F5.
N893 Z-1.0868 F5.
N894 X-.127 F5.
N895 G00 Z-1.0465
N896 X-.1245
N897 G01 X-.122 F5.
N898 Z-1.0868 F5.
N899 X-.1245 F5.
N900 G00 Z-1.0465
N901 X-.122
N902 G01 X-.1195 F5.
N903 Z-1.0868 F5.
N904 X-.122 F5.
N905 G00 Z-1.0465
N906 X-.1195
N907 G01 X-.119 Z-1.0868 F5.
N908 G00 X-1.
N909 Z.1
N910 G40
N911 T0000
N912 G00 X-.1641 Z-.02
N913 G03 X-.1681 Z-.0242 R.0062 F3.
N914 X-.1794 Z-.0817 R.1792 F3.
N915 G01 X-.1795 Z-.16 F3.
N916 G03 X-.175 Z-.1649 R.0049 F3.
N917 G01 X-.119 Z-.165 F3.
N918 Z-.2053 F3.
N919 X-.1751 Z-.2054 F3.
N920 G03 X-.1795 Z-.2105 R.0056 F3.
N921 G01 Z-.2915 F3.
N922 G03 X-.175 Z-.2964 R.0049 F3.
N923 G01 X-.119 Z-.2965 F3.
N924 Z-.3368 F3.
N925 X-.1751 Z-.3369 F3.
N926 G03 X-.1795 Z-.342 R.0056 F3.
N927 G01 Z-.4368 F3.
N928 X-.2106 Z-.4369 F3.
N929 G03 X-.215 Z-.442 R.0056 F3.
N930 G01 Z-.81 F3.
N931 G03 X-.2105 Z-.8149 R.0049 F3.
N932 G01 X-.1795 Z-.815 F3.
N933 Z-.91 F3.
N934 G03 X-.175 Z-.9149 R.0049 F3.
N935 G01 X-.119 Z-.915 F3.
N936 Z-.9553 F3.
N937 X-.1751 Z-.9554 F3.
N938 G03 X-.1795 Z-.9605 R.0056 F3.
N939 G01 Z-1.0415 F3.
N940 G03 X-.175 Z-1.0464 R.0049 F3.
N941 G01 X-.119 Z-1.0465 F3.
N942 Z-1.0868 F3.
N943 X-.1751 Z-1.0869 F3.
N944 G03 X-.1795 Z-1.092 R.0056 F3.
N945 G01 X-.1794 Z-1.1634 F3.
N946 G03 X-.1791 Z-1.176 R.1612 F3.
N947 X-.1678 Z-1.2286 R.1784 F3.
N948 X-.1635 Z-1.2319 R.005 F3.
N949 G01 X-.15 Z-1.232 F3.
N950 Z-1.2598 F3.
N951 X-.255 Z-1.2601 F3.
N952 G00 X-1.
N953 Z.1
N954 G40
N955 T0000
N956 M09
N957 M01
( )
(JOB 4  CUTOFF CYCLE )
(TOOL #0 carbconnectorcuttofftool )
( )
N958 T0005 M06
N959 G50 S2000
N960 G97 S500
N961 G00 G54 X.355 Z-1.283 M08
( )
(CUTOFF)
N962 M04
N963 G01 X.24 F5.
N964 G00 X.255
N965 X.245
N966 G01 X.19 F5.
N967 G00 X.205
N968 X.195
N969 G01 X.14 F5.
N970 G00 X.155
N971 X.145
N972 G01 X.09 F5.
N973 G00 X.105
N974 X.095
N975 G01 X.04 F5.
N976 G00 X.055
N977 X.045
N978 G01 X0. F5.
N979 G00 X1.
N980 Z.1
N981 G40
N982 T0000
N983 M09
N984 M05
( )
(END OF PROGRAM)
N985 M02
%
Re: Video of my setup and Mach3 lathe problem. Weird problem....
« Reply #4 on: December 18, 2011, 03:15:19 AM »
Hi,

I haven't had the opportunity to study your code in detail but here is a link to the method I use for Gang Tooling.  There is an example towards the end of the document that shows how G52 can be used.

http://www.cjh.com.au/Gang%20Tool%20Block%20Offsets%20for%20CNC%20Lathes%20under%20Mach3%20Control.pdf

Hope this is of use to you.

Regards

Chrisjh

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Video of my setup and Mach3 lathe problem. Weird problem....
« Reply #5 on: December 18, 2011, 07:14:43 AM »
Your issues are mostly your code, it could also be tool table as although the code is using the same tool, tool 0 (prob best to not use 0 really) you are using different offsets so you may have some set in your table.

BobCAD is putting out positive and negative X values, mainly negative and thats why you see the toolpath above but the parting tool is positive X values and thats why its below.
I put a scaling factor of X-2 in front of all the negative X moves and cancelled it for the part off and it looks better.
Really though you want to get Bob Cad sorted so it posts correctly.
One other thing, do all your tools cut from the same side?

Heres a pic of your code with all G50's removed except for one before the part off and a G51X-2 inserted at the start of the roughing cycles.


Hood
Re: Video of my setup and Mach3 lathe problem. Weird problem....
« Reply #6 on: December 18, 2011, 02:08:20 PM »
Ok, so G51 sets a scale factor and G50 cancels it. Ok.

So Bobcad was putting out code that was doubling the X values or something like that? Does that mean that it was generating code for Diameter mode but I was running it in Mach with Radius mode selected?

I did try switching Mach between these modes, but I got the famed crop circles...

Would getting BobCad to write me a stripped down post processor likley fix some of these issues?

Also, yes. all the tools do cut from the same side.

Here is the layout-

Closet to operator first on the Gang
1. center drill
2. through drill
3. profiling tool
4. blank space
5. Bar puller

I hope that helps explain my code.
Re: Video of my setup and Mach3 lathe problem. Weird problem....
« Reply #7 on: December 18, 2011, 02:13:04 PM »
CJH-

Just noticed you created that PDF on my birthday last year...

Cant wait to finish reading/digesting it.

Thanks!

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Video of my setup and Mach3 lathe problem. Weird problem....
« Reply #8 on: December 18, 2011, 02:17:57 PM »
No BOBCAD is putting out negative X values for your rough turn turn and grooving ops and positive X values for your parting. The G51 does indeed scale the axis but I was doing G51X-2  which ineffect reverses the axis so say a G0X-20 is in the Code, with a G51X-2 it would become G0X20.
The reason I needed X-2 is because you are in Dia mode, if it was in Rad mode it would just be G51X-1.

It may just be the way you are telling BobCAD your tools are set up, you may be saying they are approaching from the rear. Cant help with BobCAD setup though as I have never really used it, did have a look but there was no info at the time and BobCAD themselves were no help, all they wanted was to sell me the programme.

Hood
Re: Video of my setup and Mach3 lathe problem. Weird problem....
« Reply #9 on: December 18, 2011, 03:13:08 PM »
alright, I have been trying every post processor and setting I can find in bobcad, and it is not stopping the output of negative X values for the grooving tool. Actually, I am testing with the drills and the parting tool removed from Bobcad so I can just see what changes the grooving toolpath to positive x values.

I have now also tried all four tool orientation settings in Bobcad and they dont fix the problem. This makes no sense. They should change the front or rear toolpost positions at least, the way I look at it they should, but, its as if changing to the other three orientations does nothing (at least to the visual toolpath representation in mach)