Hello Guest it is August 04, 2021, 12:13:48 PM

Author Topic: G-Code skips  (Read 2769 times)

0 Members and 1 Guest are viewing this topic.

G-Code skips
« on: October 19, 2013, 04:17:29 PM »
I wanted to see if anyone else has experienced this: First off let me say, I have been using Mach3 on my mill for a few years, pretty much with out a hickup. Today I went to cut a cavity and at 208th line of code (N492), it jumps to the end of the g-code. The g-code looks normal. Any thoughts? I deleted a large portion of code in between. I also posted on cnczone, because I know I might reach a larger pool of people on this.
(DATE - OCT-19-13)
(TIME - 15:40)
(NWDTOOL N" 3/32 BALL ENDMILL" T2 D.0938 R.0469 F2. L3. CD2. CL1. SD2. C0)
(NWDSTOCK X5. Y4.6 Z2. OTC OX0. OY0. OZ0.)
N100 G00 G17 G20 G40 G49 G80 G90
N102 T2 M06 ( 3/32 BALL ENDMILL)
N104 (MAX - Z.5)
N106 (MIN - Z-.1129)
N112 G00 Z.5
N114 G00 X-1.1194 Y1.2921 S4000 M03
N116 Z.02
N118 G01 Z-.03 F5.
N120 X-1.119 Z-.0313 F10.
N122 X-1.1172 Z-.0469
N124 Z-.0492
N126 Z-.0499
N128 X-1.1165 Z-.0543
N130 X-1.1155 Z-.0587
N132 X-1.1142 Z-.0631
N134 X-1.1125 Z-.0673
N136 X-1.1106 Z-.0713
N138 X-1.1083 Z-.0751
N140 X-1.1059 Z-.0785
N142 X-1.1031 Z-.0818
N144 X-1.0999 Z-.085
N146 X-1.0964 Z-.088
N148 X-1.0928 Z-.0907
N150 X-1.0891 Z-.093
N152 X-1.0851 Z-.0951
N154 X-1.0809 Z-.0968
N156 X-1.0762 Z-.0982
N158 X-1.0713 Z-.0993
N160 X-1.0662 Z-.0999
N162 X-1.0611 Z-.1001
N164 X-.6248
N166 X-.6207 Z-.0999
N168 X-.6163 Z-.0994
N170 X-.6119 Z-.0985
N172 X-.6075 Z-.0972
N174 X-.6032 Z-.0956
N176 X-.5993 Z-.0938
N178 X-.5953 Z-.0915
N180 X-.592 Z-.0892
N182 X-.5886 Z-.0864
N184 X-.5853 Z-.0833
N186 X-.5822 Z-.0799
N188 X-.5795 Z-.0762
N190 X-.5771 Z-.0726
N192 X-.575 Z-.0686
N194 X-.5731 Z-.0642
N196 X-.5716 Z-.0595
N198 X-.5705 Z-.0548
N200 X-.5698 Z-.0503
N202 Z-.0499
N204 Z-.0459
N206 X-.568 Z-.0303
N208 X-.5679 Z-.03
N210 Z-.0285
N212 X-.5699 Y1.3166
N214 Z-.03
N216 X-.5702 Z-.031
N218 X-.5718 Z-.0459
N220 Z-.0504
N222 X-.5723 Z-.0544
N224 X-.5734 Z-.059
N226 X-.575 Z-.0636
N228 X-.5768 Z-.0679
N230 X-.5787 Z-.0715
N232 X-.581 Z-.0751
N234 X-.5837 Z-.0786
N236 X-.5867 Z-.082
N238 X-.5899 Z-.0851
N240 X-.5932 Z-.0877
N242 X-.5965 Z-.0899
N244 X-.6 Z-.092
N246 X-.6039 Z-.0938
N248 X-.608 Z-.0954
N250 X-.6124 Z-.0966
N252 X-.6167 Z-.0975
N254 X-.621 Z-.098
N256 X-.6249 Z-.0982
N258 X-1.0611
N260 X-1.066 Z-.098
N262 X-1.0709 Z-.0974
N264 X-1.0758 Z-.0963
N266 X-1.0803 Z-.0949
N268 X-1.0844 Z-.0932
N270 X-1.088 Z-.0914
N272 X-1.0916 Z-.0892
N274 X-1.0952 Z-.0866
N276 X-1.0986 Z-.0836
N278 X-1.1017 Z-.0805
N280 X-1.1045 Z-.0772
N282 X-1.1067 Z-.0739
N284 X-1.1089 Z-.0705
N286 X-1.1107 Z-.0666
N288 X-1.1124 Z-.0625
N290 X-1.1137 Z-.0582
N292 X-1.1147 Z-.0539
N294 X-1.1152 Z-.0499
N296 Z-.0469
N298 X-1.1168 Z-.032
N300 X-1.1174 Z-.03
N302 Z-.0274
N304 X-1.1215 Y1.341
N306 Z-.03
N308 X-1.121 Z-.0314
N310 X-1.1192 Z-.0469
N312 Z-.0494
N314 Z-.0502
N316 X-1.1185 Z-.0547
N318 X-1.1175 Z-.0592
N320 X-1.1161 Z-.0638
N322 X-1.1144 Z-.0682
N324 X-1.1124 Z-.0722
N326 X-1.11 Z-.0763
N328 X-1.1075 Z-.0797
N330 X-1.1046 Z-.0832
N332 X-1.1013 Z-.0865
N334 X-1.0977 Z-.0897
N336 X-1.0939 Z-.0924
N338 X-1.0901 Z-.0948
N340 X-1.0859 Z-.0969
N342 X-1.0816 Z-.0987
N344 X-1.0767 Z-.1002
N346 X-1.0716 Z-.1013
N348 X-1.0664 Z-.1019
N350 X-1.0611 Z-.1021
N352 X-.6247
N354 X-.6205 Z-.102
N356 X-.616 Z-.1014
N358 X-.6114 Z-.1005
N360 X-.6068 Z-.0992
N362 X-.6024 Z-.0975
N364 X-.5984 Z-.0956
N366 X-.5942 Z-.0932
N368 X-.5907 Z-.0908
N370 X-.5872 Z-.088
N372 X-.5838 Z-.0847
N374 X-.5807 Z-.0812
N376 X-.5778 Z-.0774
N378 X-.5754 Z-.0737
N380 X-.5732 Z-.0695
N382 X-.5712 Z-.0649
N384 X-.5696 Z-.0601
N386 X-.5685 Z-.0552
N388 X-.5678 Z-.0503
N390 Z-.0459
N392 X-.566 Z-.0305
N394 X-.5659 Z-.03
N396 Z-.0279
N398 X-.5549 Y1.3655
N400 Z-.03
N402 X-.5552 Z-.031
N404 X-.5571 Z-.046
N406 Z-.0512
N408 Z-.0515
N410 X-.5579 Z-.0572
N412 X-.5593 Z-.063
N414 X-.5612 Z-.0688
N416 X-.5635 Z-.0743
N418 X-.5661 Z-.0791
N420 X-.569 Z-.0836
N422 X-.5724 Z-.088
N424 X-.5761 Z-.0922
N426 X-.5802 Z-.096
N428 X-.5844 Z-.0995
N430 X-.5886 Z-.1024
N432 X-.5934 Z-.1051
N434 X-.5983 Z-.1074
N436 X-.6035 Z-.1094
N438 X-.6088 Z-.1109
N440 X-.6143 Z-.112
N442 X-.6197 Z-.1127
N444 X-.6248 Z-.1129
N446 X-1.0612
N448 X-1.0674 Z-.1127
N450 X-1.0735 Z-.1119
N452 X-1.0795 Z-.1106
N454 X-1.0852 Z-.1088
N456 X-1.0905 Z-.1066
N458 X-1.0954 Z-.1042
N460 X-1.1 Z-.1013
N462 X-1.1044 Z-.098
N464 X-1.1087 Z-.0944
N466 X-1.1126 Z-.0904
N468 X-1.1161 Z-.0862
N470 X-1.119 Z-.082
N472 X-1.1219 Z-.0773
N474 X-1.1242 Z-.0725
N476 X-1.1263 Z-.0673
N478 X-1.1279 Z-.062
N480 X-1.1291 Z-.0565
N482 X-1.1299 Z-.0512
N484 Z-.0504
N486 Z-.0469
N488 X-1.1318 Z-.0319
N490 X-1.1324 Z-.03
N492 X-1.1293 Y1.3899
N494 X-1.1284 Z-.0327
N496 X-1.1268 Z-.0469
N498 Z-.0478
N500 X-1.1266 Z-.0509
N502 X-1.1259 Z-.056
N504 X-1.1248 Z-.0611
N506 X-1.1232 Z-.0663
N508 X-1.1213 Z-.0712
N510 X-1.119 Z-.0757
N512 X-1.1163 Z-.0803
N514 X-1.1135 Z-.0843
N516 X-1.1102 Z-.0882
N518 X-1.1064 Z-.092
N520 X-1.1024 Z-.0955
N522 X-1.0981 Z-.0986
N524 X-1.0938 Z-.1013
N526 X-1.0891 Z-.1037
N528 X-1.0841 Z-.1057
N530 X-1.0787 Z-.1074
N532 X-1.0729 Z-.1087
N534 X-1.0671 Z-.1094
N536 X-1.0611 Z-.1096
N538 X-.6243
N540 X-.6199 Z-.1094
N542 X-.6148 Z-.1088
N544 X-.6096 Z-.1078
N546 X-.6045 Z-.1063
N548 X-.5995 Z-.1044
N550 X-.5949 Z-.1023
N552 X-.5903 Z-.0996
N554 X-.5863 Z-.0968
N556 X-.5823 Z-.0936
N558 X-.5785 Z-.0899
N560 X-.5749 Z-.086
N562 X-.5717 Z-.0818
N564 X-.5689 Z-.0775
N566 X-.5665 Z-.0728
N568 X-.5642 Z-.0676
N570 X-.5624 Z-.0621
N572 X-.5611 Z-.0566
N574 X-.5603 Z-.0512
N576 X-.5602 Z-.0482
N578 Z-.0459
N580 X-.5586 Z-.0318
N582 X-.558 Z-.03
N584 Z-.0274
N586 X-.5673 Y1.4144
N588 Z-.03
N590 X-.5691 Z-.0459
N592 Z-.0504
N594 X-.5698 Z-.0549
N596 X-.5709 Z-.0597
N598 X-.5725 Z-.0644
N600 X-.5744 Z-.0689
N602 X-.5765 Z-.073
N604 X-.5789 Z-.0766
N606 X-.5817 Z-.0803
N608 X-.5848 Z-.0838
N610 X-.5881 Z-.0869
N612 X-.5916 Z-.0897
N614 X-.595 Z-.0921
N616 X-.599 Z-.0944
N618 X-.6029 Z-.0963
N620 X-.6072 Z-.0979
N622 X-.6117 Z-.0992
N624 X-.6162 Z-.1001
N626 X-.6206 Z-.1006
N628 X-.6247 Z-.1008
N630 X-1.0611
N632 X-1.0663 Z-.1006
N634 X-1.0714 Z-.0999
N636 X-1.0764 Z-.0989
N638 X-1.0811 Z-.0974
N640 X-1.0854 Z-.0957
N642 X-1.0894 Z-.0936
N644 X-1.0932 Z-.0913
N646 X-1.0968 Z-.0886
N648 X-1.1004 Z-.0855
N650 X-1.1036 Z-.0823
N652 X-1.1065 Z-.0789
N654 X-1.1089 Z-.0755
N656 X-1.1112 Z-.0716
N658 X-1.1132 Z-.0676
N660 X-1.1148 Z-.0633
N662 X-1.1162 Z-.0589
N664 X-1.1172 Z-.0544
N666 X-1.1176 Z-.0519
N668 X-1.1178 Z-.0497
N670 Z-.0469
N672 X-1.1197 Z-.0309
N674 X-1.12 Z-.03
N676 Z-.0281
N678 X-1.1173 Y1.4389
N680 Z-.03
N682 X-1.1167 Z-.0319
N684 X-1.1152 Z-.0456
N686 Z-.046
N688 X-1.1151 Z-.0469
N690 Z-.0479
N692 X-1.115 Z-.0496
N694 X-1.1144 Z-.0538
N696 X-1.1135 Z-.0581
N698 X-1.1122 Z-.0624
N700 X-1.1105 Z-.0666
N702 X-1.1086 Z-.0704
N704 X-1.1066 Z-.0738
N706 X-1.1043 Z-.077
N708 X-1.1016 Z-.0803
N710 X-1.0985 Z-.0835
N712 X-1.0951 Z-.0864
N714 X-1.0915 Z-.089
N716 X-1.0879 Z-.0912
N718 X-1.0843 Z-.093
N720 X-1.0803 Z-.0947
N722 X-1.0757 Z-.0961
N724 X-1.0709 Z-.0971
N726 X-1.066 Z-.0978
N728 X-1.0611 Z-.0979
N730 X-.625
N732 X-.621 Z-.0978
N734 X-.6168 Z-.0973
N736 X-.6124 Z-.0964
N738 X-.6081 Z-.0952
N740 X-.604 Z-.0936
N742 X-.6001 Z-.0918
N744 X-.5967 Z-.0898
N746 X-.5934 Z-.0876
N748 X-.5901 Z-.0849
N750 X-.5869 Z-.0818
N752 X-.5839 Z-.0785
N754 X-.5812 Z-.0749
N756 X-.5789 Z-.0714
N758 X-.5771 Z-.0678
N760 X-.5752 Z-.0635
N762 X-.5737 Z-.059
N764 X-.5726 Z-.0544
N766 X-.572 Z-.05
N768 X-.5719 Z-.0484
N770 Z-.0459
N772 X-.5703 Z-.0309
N774 X-.57 Z-.03
N776 Z-.0279
N778 X-.5666 Y1.4633
N780 Z-.03
N782 X-.5685 Z-.0459
N784 Z-.0505
N786 X-.5691 Z-.0551
N788 X-.5703 Z-.0599
N790 X-.5718 Z-.0647
N792 X-.5738 Z-.0692
N794 X-.576 Z-.0733
N796 X-.5784 Z-.077
N798 X-.5812 Z-.0807
N800 X-.5843 Z-.0842
N802 X-.5877 Z-.0875
N804 X-.5912 Z-.0903
N806 X-.5946 Z-.0926
N808 X-.5987 Z-.095
N810 X-.6027 Z-.0969
N812 X-.607 Z-.0985
N814 X-.6116 Z-.0998
N816 X-.6161 Z-.1008
N818 X-.6206 Z-.1013
N820 X-.6247 Z-.1015
N822 X-1.0611
N824 X-1.0664 Z-.1013
N826 X-1.0715 Z-.1006
N828 X-1.0766 Z-.0995
N830 X-1.0813 Z-.0981
N832 X-1.0856 Z-.0963
N834 X-1.0898 Z-.0942
N836 X-1.0935 Z-.0919
N838 X-1.0973 Z-.0891
N840 X-1.1008 Z-.086
N842 X-1.1041 Z-.0827
N844 X-1.107 Z-.0793
N846 X-1.1094 Z-.0759
N848 X-1.1118 Z-.0719
N850 X-1.1138 Z-.0679
N852 X-1.1155 Z-.0636
N854 X-1.1169 Z-.0591
N856 X-1.1179 Z-.0545
N858 X-1.1185 Z-.0501
N860 Z-.0497
N862 Z-.0469
N864 X-1.1204 Z-.0309
N866 X-1.1207 Z-.03
N868 Z-.0279
N870 X-1.1307 Y1.4878
N872 Z-.03
N874 X-1.1305 Z-.0305
N876 X-1.1299 Z-.033
N878 X-1.1283 Z-.0469
N880 Z-.0503
N882 Z-.051

N1808 X-1.119 Z-.0313
N1810 X-1.1194 Z-.03
N1812 G00 Z.02
N1814 Z.5
N1816 M05
N1818 G90
N1820 M30
Re: G-Code skips
« Reply #1 on: October 19, 2013, 04:52:20 PM »
I went ahead and tried different cut methods. Same thing at line 208, code jumps to the end of code on that tool, then on next tool, after same number of lines executed it jumps to the end of the code for that tool.

Offline Hood

  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: G-Code skips
« Reply #2 on: October 19, 2013, 05:45:02 PM »
Can you attach your xml and also the full version of the code as an attachment.
Re: G-Code skips
« Reply #3 on: October 19, 2013, 05:49:09 PM »
Your posted code runs perfectly on two of my systems.  Look into what may have been accidentally changed in your settings.
John Champlain
Re: G-Code skips
« Reply #4 on: October 19, 2013, 05:51:56 PM »
Thanks guys. Something must of corrupted in the code. My machine computer stays on and we had a power blip recently.

Since I was still using version R2.42, installed the latest version, problem fixed. ;D

« Last Edit: October 19, 2013, 05:55:50 PM by rkonnen »