An example

Home Forums TinyG TinyG Support An example

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #5241
    tomking505
    Member

    I am trying to cut out a HDPE gear. As it cuts, I can see I did not take my hold down into account when I set the maximum depth. In CoolTerm, I hit the cancel button, which I assume stops sending gcode to tinyg. Once the buffer is empty, the CNC machine stops. I issue a G0Z0 to bring the cutter 17mm straight up.

    Instead, tinyg issues a Y1Z0! That means my machine tries to move 180 mm toward Y0, which it can’t do because the cutter is 17 mm down a hole, and the cutting edge is only 8 mm high. So Y stalls until the cutter is high enough to start cutting again, then rips through my workpiece, destroying yet more material. Ever price a two pound block of HDPE? What if it were aluminum?

    In the most pleasant terms possible, why would Coolterm/TinyG do this? There are no Y1 instructions in my gcode anywhere.

    g0z0
    tinyg [mm] ok> 
    tinyg [mm] ok> 
    posy:169.327,posz:-14.990,vel:99.432,momo:0,stat:5
    posx:125.565,posy:168.164,posz:-14.887,vel:521.190
    posx:125.566,posy:164.503,posz:-14.561,vel:1291.856
    posx:125.567,posy:157.647,posz:-13.950,vel:2024.029
    posx:125.569,posy:148.508,posz:-13.136,vel:2425.543
    posx:125.571,posy:138.410,posz:-12.237,vel:2509.894
    posx:125.573,posy:128.209,posz:-11.329
    posx:125.575,posy:118.008,posz:-10.420
    posx:125.577,posy:107.806,posz:-9.512
    posx:125.579,posy:97.397,posz:-8.585
    posx:125.580,posy:87.196,posz:-7.676
    posx:125.582,posy:76.994,posz:-6.768
    posx:125.584,posy:66.793,posz:-5.859
    posx:125.586,posy:56.591,posz:-4.951
    posx:125.588,posy:46.390,posz:-4.042
    posx:125.590,posy:36.189,posz:-3.134
    posx:125.592,posy:26.003,posz:-2.227,vel:2496.398
    posx:125.593,posy:16.318,posz:-1.364,vel:2236.595
    posx:125.595,posy:8.369,posz:-0.656,vel:1630.639
    posx:125.596,posy:3.356,posz:-0.210,vel:803.166
    posx:125.597,posy:1.379,posz:-0.034,vel:239.696
    posx:125.597,posy:1.001,posz:-0.000,vel:6.885
    posx:125.599,posy:1.000,posz:0.000,vel:0.000,stat:3
    • This topic was modified 10 years, 8 months ago by tomking505.
    • This topic was modified 10 years, 8 months ago by tomking505.
    #5247
    alden
    Member

    Can you please post the Gcode file that led to this issue and any other moves you entered manually.

    Please also confirm that your settings are the same as you posted earlier or if you have modified them please post your new settings.

    Can you please provide the information requested in https://www.synthetos.com/topics/gcode-feedrate-error/#post-5224 to assist in diagnosis.

    Can you also take these steps for the other issues you have posted, as we have requested. If you do not provide the information we need to reproduce and diagnose your problem we cannot help you.

    • This reply was modified 10 years, 8 months ago by alden.
    #5259
    tomking505
    Member

    It happened again just now, to a piece I have worked on for seven hours.

    I sent the gcode below to TinyG via CoolTerm. Halfway through, I hit the cancel button, because I wanted to restart. After the buffer cleared, the machine came to a halt.

    I pressed the return key. The machine bolted in the Y direction, putting a scar in the workpiece and breaking the bit.

    If the buffer wasn’t clear, why did the machine stop? If it was clear, why the Y0 command?

    Below is the gcode, and below that are the settings.

    ----------------------------------------------------
    
    ( Made using CamBam - http://www.cambam.co.uk )
    ( negative pocket only_finish 1/26/2014 1:33:43 PM )
    ( T9 : 3.18 )
    G21 G90 G64 G40
    G0 Z57.0
    ( T9 : 3.18 )
    T9 M6
    ( 3DSurface1 )
    G17
    M3 S1000
    G0 X132.3846 Y56.8303
    G0 Z56.0
    G1 F333.0 Z54.5
    G1 F2000.0 X98.0432 Y8.2593
    G1 X63.7096 Y56.8145
    G1 X63.6584 Y75.1486
    G1 X90.402 Y93.9956
    G1 X105.6839
    G1 X132.3751 Y75.1358
    G1 X132.3846 Y56.8303
    G1 F333.0 X132.2634 Y56.916
    G1 Z54.2429
    G1 F2000.0 X132.0717 Y56.6449
    G1 X132.0716 Y56.6448
    G1 X98.0434 Y8.5162
    G1 X63.7096 Y57.0715
    G1 X63.6592 Y75.1482
    G1 X90.0384 Y93.7386
    G1 X106.0474 Y93.7385
    G1 X132.3751 Y75.1356
    G1 X132.3844 Y57.0872
    G1 X132.2634 Y56.916
    G1 F333.0 X132.0278 Y57.0827
    G1 Z53.7429
    G1 F2000.0 X131.6773 Y56.5871
    G1 X131.6772 Y56.5869
    G1 X98.0434 Y9.0162
    G1 X63.7096 Y57.5715
    G1 X63.6606 Y75.1476
    G1 X89.3313 Y93.2386
    G1 X106.7545 Y93.2385
    G1 X132.3751 Y75.1352
    G1 X132.3842 Y57.5867
    G1 X132.0278 Y57.0827
    G1 F333.0 X131.7921 Y57.2493
    G1 Z53.2429
    G1 F2000.0 X131.2828 Y56.5292
    G1 X131.2827 Y56.5291
    G1 X98.0434 Y9.5162
    G1 X63.7097 Y58.0714
    G1 X63.662 Y75.1469
    G1 X88.6242 Y92.7386
    G1 X107.4617 Y92.7385
    G1 X132.3751 Y75.1349
    G1 X132.3839 Y58.0861
    G1 X131.7921 Y57.2493
    G1 F333.0 X131.5565 Y57.416
    G1 Z52.7429
    G1 F2000.0 X130.8884 Y56.4714
    G1 X130.8883 Y56.4712
    G1 X98.0434 Y10.0162
    G1 X63.7097 Y58.5714
    G1 X63.6635 Y75.1462
    G1 X87.9171 Y92.2386
    G1 X108.1688
    G1 X132.3751 Y75.1345
    G1 X132.3837 Y58.5856
    G1 X131.5565 Y57.416
    G1 F333.0 X131.3208 Y57.5826
    G1 Z52.2429
    G1 F2000.0 X130.494 Y56.4135
    G1 X130.4939 Y56.4134
    G1 X98.0434 Y10.5162
    G1 X63.7097 Y59.0713
    G1 X63.6649 Y75.1456
    G1 X87.21 Y91.7386
    G1 X108.8759
    G1 X132.3751 Y75.1342
    G1 X132.3834 Y59.0851
    G1 X131.3208 Y57.5826
    G1 F333.0 X131.0852 Y57.7493
    G1 Z51.7429
    G1 F2000.0 X130.0996 Y56.3557
    G1 X130.0995 Y56.3555
    G1 X98.0434 Y11.0162
    G1 X63.7098 Y59.5713
    G1 X63.6663 Y75.1449
    G1 X86.5029 Y91.2386
    G1 X109.583
    G1 X132.3751 Y75.1338
    G1 X132.3831 Y59.5846
    G1 X131.0852 Y57.7493
    G1 F333.0 X130.8495 Y57.9159
    G1 Z51.2429
    G1 F2000.0 X129.7052 Y56.2978
    G1 X129.7051 Y56.2977
    G1 X98.0434 Y11.5162
    G1 X63.7098 Y60.0712
    G1 X63.6678 Y75.1442
    G1 X85.7958 Y90.7386
    G1 X110.2901
    G1 X132.3751 Y75.1334
    G1 X132.3829 Y60.0841
    G1 X130.8495 Y57.9159
    G1 F333.0 X130.6139 Y58.0826
    G1 Z50.7429
    G1 F2000.0 X129.3108 Y56.24
    G1 X129.3107 Y56.2398
    G1 X98.0434 Y12.0162
    G1 X63.7098 Y60.5712
    G1 X63.6692 Y75.1436
    G1 X85.0886 Y90.2386
    G1 X110.9972
    G1 X132.3751 Y75.1331
    G1 X132.3826 Y60.5836
    G1 X130.6139 Y58.0826
    G1 F333.0 X130.3782 Y58.2492
    G1 Z50.2429
    G1 F2000.0 X128.9164 Y56.1821
    G1 X128.9162 Y56.182
    G1 X98.0434 Y12.5162
    G1 X63.7099 Y61.0711
    G1 X63.6706 Y75.1429
    G1 X84.3815 Y89.7386
    G1 X111.7043
    G1 X132.3751 Y75.1327
    G1 X132.3823 Y61.0831
    G1 X130.3782 Y58.2492
    G1 F333.0 X130.1426 Y58.4159
    G1 Z49.7429
    G1 F2000.0 X128.5219 Y56.1243
    G1 X128.5218 Y56.1241
    G1 X98.0434 Y13.0162
    G1 X63.7099 Y61.5711
    G1 X63.6721 Y75.1422
    G1 X83.6744 Y89.2386
    G1 X112.4114
    G1 X132.3751 Y75.1324
    G1 X132.3821 Y61.5825
    G1 X130.1426 Y58.4159
    G1 F333.0 X129.9069 Y58.5825
    G1 Z49.2429
    G1 F2000.0 X128.1275 Y56.0664
    G1 X128.1274 Y56.0663
    G1 X98.0434 Y13.5162
    G1 X63.71 Y62.071
    G1 X63.6735 Y75.1415
    G1 X82.9673 Y88.7386
    G1 X113.1185
    G1 X132.3751 Y75.132
    G1 X132.3818 Y62.082
    G1 X129.9069 Y58.5825
    G1 F333.0 X129.6713 Y58.7492
    G1 Z48.7429
    G1 F2000.0 X127.7331 Y56.0086
    G1 X127.733 Y56.0084
    G1 X98.0434 Y14.0162
    G1 X63.71 Y62.571
    G1 X63.6749 Y75.1409
    G1 X82.2602 Y88.2386
    G1 X113.8256
    G1 X132.375 Y75.1317
    G1 X132.3815 Y62.5815
    G1 X129.6713 Y58.7492
    G1 F333.0 X129.4357 Y58.9158
    G1 Z48.2429
    G1 F2000.0 X127.3387 Y55.9507
    G1 X127.3386 Y55.9506
    G1 X98.0434 Y14.5162
    G1 X63.71 Y63.0709
    G1 X63.6764 Y75.1402
    G1 X81.5531 Y87.7386
    G1 X114.5327
    G1 X132.375 Y75.1313
    G1 X132.3813 Y63.081
    G1 X129.4357 Y58.9158
    G1 F333.0 X129.2 Y59.0825
    G1 Z47.7429
    G1 F2000.0 X126.9443 Y55.8929
    G1 X126.9442 Y55.8927
    G1 X98.0434 Y15.0162
    G1 X63.7101 Y63.5709
    G1 X63.6778 Y75.1395
    G1 X80.846 Y87.2386
    G1 X115.2398
    G1 X132.375 Y75.1309
    G1 X132.381 Y63.5805
    G1 X129.2 Y59.0825
    G1 F333.0 X128.9644 Y59.2491
    G1 Z47.2429
    G1 F2000.0 X126.5499 Y55.835
    G1 X126.5497 Y55.8349
    G1 X98.0434 Y15.5162
    G1 X63.7101 Y64.0708
    G1 X63.6792 Y75.1389
    G1 X80.1389 Y86.7386
    G1 X115.9469
    G1 X132.375 Y75.1306
    G1 X132.3808 Y64.08
    G1 X128.9644 Y59.2491
    G1 F333.0 X128.7287 Y59.4158
    G1 Z46.7429
    G1 F2000.0 X126.1554 Y55.7772
    G1 X126.1553 Y55.777
    G1 X98.0434 Y16.0162
    G1 X63.7101 Y64.5708
    G1 X63.6807 Y75.1382
    G1 X79.4318 Y86.2386
    G1 X116.654
    G1 X132.375 Y75.1302
    G1 X132.3805 Y64.5795
    G1 X128.7287 Y59.4158
    G1 F333.0 X128.4931 Y59.5824
    G1 Z46.2429
    G1 F2000.0 X125.761 Y55.7193
    G1 X125.7609 Y55.7192
    G1 X98.0434 Y16.5162
    G1 X63.7102 Y65.0707
    G1 X63.6821 Y75.1375
    G1 X78.7247 Y85.7386
    G1 X117.3612
    G1 X132.375 Y75.1299
    G1 X132.3802 Y65.0789
    G1 X128.4931 Y59.5824
    G1 F333.0 X128.2574 Y59.7491
    G1 Z45.7429
    G1 F2000.0 X125.3666 Y55.6615
    G1 X125.3665 Y55.6613
    G1 X98.0434 Y17.0162
    G1 X63.7102 Y65.5706
    G1 X63.6835 Y75.1369
    G1 X78.0176 Y85.2386
    G1 X118.0683
    G1 X132.375 Y75.1295
    G1 X132.38 Y65.5784
    G1 X128.2574 Y59.7491
    G1 F333.0 X128.0218 Y59.9158
    G1 Z45.2429
    G1 F2000.0 X124.9722 Y55.6036
    G1 X124.9721 Y55.6034
    G1 X98.0434 Y17.5162
    G1 X63.7103 Y66.0706
    G1 X63.685 Y75.1362
    G1 X77.3105 Y84.7386
    G1 X118.7754
    G1 X132.375 Y75.1291
    G1 X132.3797 Y66.0779
    G1 X128.0218 Y59.9158
    G1 F333.0 X127.7861 Y60.0824
    G1 Z44.7429
    G1 F2000.0 X124.5778 Y55.5458
    G1 X124.5777 Y55.5456
    G1 X98.0434 Y18.0162
    G1 X63.7103 Y66.5705
    G1 X63.6864 Y75.1355
    G1 X76.6034 Y84.2386
    G1 X119.4825
    G1 X132.375 Y75.1288
    G1 X132.3794 Y66.5774
    G1 X127.7861 Y60.0824
    G1 F333.0 X127.5505 Y60.2491
    G1 Z44.2429
    G1 F2000.0 X124.1834 Y55.4879
    G1 X124.1833 Y55.4877
    G1 X98.0434 Y18.5162
    G1 X63.7103 Y67.0705
    G1 X63.6878 Y75.1349
    G1 X75.8963 Y83.7386
    G1 X120.1896
    G1 X132.375 Y75.1284
    G1 X132.3792 Y67.0769
    G1 X127.5505 Y60.2491
    G1 F333.0 X127.3148 Y60.4157
    G1 Z43.7429
    G1 F2000.0 X123.7889 Y55.4301
    G1 X123.7888 Y55.4299
    G1 X98.0434 Y19.0162
    G1 X63.7104 Y67.5704
    G1 X63.6893 Y75.1342
    G1 X75.1892 Y83.2386
    G1 X120.8967
    G1 X132.375 Y75.1281
    G1 X132.3789 Y67.5764
    G1 X127.3148 Y60.4157
    G1 F333.0 X127.0792 Y60.5824
    G1 Z43.2429
    G1 F2000.0 X123.3945 Y55.3722
    G1 X123.3944 Y55.372
    G1 X98.0434 Y19.5162
    G1 X63.7104 Y68.0704
    G1 X63.6907 Y75.1335
    G1 X74.4821 Y82.7386
    G1 X121.6038
    G1 X132.375 Y75.1277
    G1 X132.3786 Y68.0758
    G1 X127.0792 Y60.5824
    G1 F333.0 X126.8435 Y60.749
    G1 Z42.7429
    G1 F2000.0 X123.0001 Y55.3144
    G1 X123.0 Y55.3142
    G1 X98.0434 Y20.0162
    G1 X63.7104 Y68.5703
    G1 X63.6921 Y75.1329
    G1 X73.7749 Y82.2386
    G1 X122.3109
    G1 X132.375 Y75.1273
    G1 X132.3784 Y68.5753
    G1 X126.8435 Y60.749
    G1 F333.0 X126.6079 Y60.9157
    G1 Z42.2429
    G1 F2000.0 X122.6057 Y55.2565
    G1 X122.6056 Y55.2563
    G1 X98.0434 Y20.5162
    G1 X63.7105 Y69.0703
    G1 X63.6936 Y75.1322
    G1 X73.0678 Y81.7386
    G1 X123.018
    G1 X132.375 Y75.127
    G1 X132.3781 Y69.0748
    G1 X126.6079 Y60.9157
    G1 F333.0 X126.3723 Y61.0823
    G1 Z41.7429
    G1 F2000.0 X122.2113 Y55.1987
    G1 X122.2112 Y55.1985
    G1 X98.0434 Y21.0162
    G1 X63.7105 Y69.5702
    G1 X63.695 Y75.1315
    G1 X72.3607 Y81.2386
    G1 X123.7251
    G1 X132.375 Y75.1266
    G1 X132.3779 Y69.5743
    G1 X126.3723 Y61.0823
    G1 F333.0 X126.1366 Y61.249
    G1 Z41.2429
    G1 F2000.0 X121.8169 Y55.1408
    G1 X121.8168 Y55.1406
    G1 X98.0434 Y21.5162
    G1 X63.7106 Y70.0702
    G1 X63.6964 Y75.1309
    G1 X71.6536 Y80.7386
    G1 X124.4322
    G1 X132.375 Y75.1263
    G1 X132.3776 Y70.0738
    G1 X126.1366 Y61.249
    G1 F333.0 X125.901 Y61.4156
    G1 Z40.7429
    G1 F2000.0 X121.4225 Y55.0829
    G1 X121.4223 Y55.0828
    G1 X98.0434 Y22.0162
    G1 X63.7106 Y70.5701
    G1 X63.6979 Y75.1302
    G1 X70.9465 Y80.2386
    G1 X125.1393
    G1 X132.375 Y75.1259
    G1 X132.3773 Y70.5733
    G1 X125.901 Y61.4156
    G1 F333.0 X125.6653 Y61.5823
    G1 Z40.2429
    G1 F2000.0 X121.028 Y55.0251
    G1 X121.0279 Y55.0249
    G1 X98.0434 Y22.5162
    G1 X63.7106 Y71.0701
    G1 X63.6993 Y75.1295
    G1 X70.2394 Y79.7386
    G1 X125.8464
    G1 X132.375 Y75.1255
    G1 X132.3771 Y71.0728
    G1 X125.6653 Y61.5823
    G1 F333.0 X125.4297 Y61.7489
    G1 Z39.7429
    G1 F2000.0 X120.6336 Y54.9672
    G1 X120.6335 Y54.9671
    G1 X98.0434 Y23.0162
    G1 X63.7107 Y71.57
    G1 X63.7007 Y75.1289
    G1 X69.5323 Y79.2386
    G1 X126.5535
    G1 X132.375 Y75.1252
    G1 X132.3768 Y71.5722
    G1 X125.4297 Y61.7489
    G1 F333.0 X125.194 Y61.9156
    G1 Z39.2429
    G1 F2000.0 X120.2392 Y54.9094
    G1 X120.2391 Y54.9092
    G1 X98.0434 Y23.5162
    G1 X63.7107 Y72.07
    G1 X63.7022 Y75.1282
    G1 X68.8252 Y78.7386
    G1 X127.2607
    G1 X132.375 Y75.1248
    G1 X132.3765 Y72.0717
    G1 X125.194 Y61.9156
    G1 F333.0 X124.9584 Y62.0822
    G1 Z38.7429
    G1 F2000.0 X119.8448 Y54.8515
    G1 X119.8447 Y54.8514
    G1 X98.0434 Y24.0162
    G1 X63.7107 Y72.5699
    G1 X63.7036 Y75.1275
    G1 X68.1181 Y78.2386
    G1 X127.9678
    G1 X132.375 Y75.1245
    G1 X132.3763 Y72.5712
    G1 X124.9584 Y62.0822
    G1 F333.0 X124.7227 Y62.2489
    G1 Z38.2429
    G1 F2000.0 X119.4504 Y54.7937
    G1 X119.4503 Y54.7935
    G1 X98.0434 Y24.5162
    G1 X63.7108 Y73.0699
    G1 X63.705 Y75.1269
    G1 X67.411 Y77.7386
    G1 X128.6749
    G1 X132.3749 Y75.1241
    G1 X132.376 Y73.0707
    G1 X124.7227 Y62.2489
    G1 F333.0 X124.4871 Y62.4155
    G1 Z37.7429
    G1 F2000.0 X119.056 Y54.7358
    G1 X119.0559 Y54.7357
    G1 X98.0434 Y25.0162
    G1 X63.7108 Y73.5698
    G1 X63.7065 Y75.1262
    G1 X66.7039 Y77.2386
    G1 X129.382
    G1 X132.3749 Y75.1237
    G1 X132.3757 Y73.5702
    G1 X124.4871 Y62.4155
    G1 F333.0 X124.2514 Y62.5822
    G1 Z37.2429
    G1 F2000.0 X118.6615 Y54.678
    G1 X118.6614 Y54.6778
    G1 X98.0434 Y25.5162
    G1 X63.7109 Y74.0698
    G1 X63.7079 Y75.1255
    G1 X65.9968 Y76.7386
    G1 X130.0891
    G1 X132.3749 Y75.1234
    G1 X132.3755 Y74.0697
    G1 X124.2514 Y62.5822
    G1 F333.0 X124.0158 Y62.7488
    G1 Z36.7429
    G1 F2000.0 X118.2671 Y54.6201
    G1 X118.267 Y54.62
    G1 X98.0434 Y26.0162
    G1 X63.7109 Y74.5697
    G1 X63.7093 Y75.1249
    G1 X65.2897 Y76.2386
    G1 X130.7962
    G1 X132.3749 Y75.123
    G1 X132.3752 Y74.5692
    G1 X124.0158 Y62.7488
    G1 F333.0 X123.7801 Y62.9155
    G1 Z36.2429
    G1 F2000.0 X117.8727 Y54.5623
    G1 X117.8726 Y54.5621
    G1 X98.0434 Y26.5162
    G1 X63.7109 Y75.0696
    G1 X63.7108 Y75.1242
    G1 X64.5826 Y75.7386
    G1 X131.5033
    G1 X132.3749 Y75.1227
    G1 X132.375 Y75.0686
    G1 X123.7801 Y62.9155
    G1 F333.0 X123.5442 Y63.0823
    G1 Z35.7429
    G1 F2000.0 X98.0433 Y27.0164
    G1 X63.9451 Y75.2386
    G1 X132.1416
    G1 X123.5442 Y63.0823
    G1 F333.0 X123.3086 Y63.249
    G1 Z35.2429
    G1 F2000.0 X98.0433 Y27.5163
    G1 X64.6522 Y74.7386
    G1 X131.4344
    G1 X123.3086 Y63.249
    G1 F333.0 X123.0729 Y63.4156
    G1 Z34.7429
    G1 F2000.0 X98.0433 Y28.0164
    G1 X65.3593 Y74.2386
    G1 X130.7272
    G1 X123.0729 Y63.4156
    G1 F333.0 X122.8373 Y63.5823
    G1 Z34.2429
    G1 F2000.0 X98.0433 Y28.5164
    G1 X66.0664 Y73.7386
    G1 X130.0201
    G1 X122.8373 Y63.5823
    G1 F333.0 X122.6016 Y63.7489
    G1 Z33.7429
    G1 F2000.0 X98.0433 Y29.0164
    G1 X66.7735 Y73.2386
    G1 X129.313
    G1 X122.6016 Y63.7489
    G1 F333.0 X122.366 Y63.9156
    G1 Z33.2429
    G1 F2000.0 X98.0433 Y29.5164
    G1 X67.4806 Y72.7386
    G1 X128.6059
    G1 X122.366 Y63.9156
    G1 F333.0 X122.1303 Y64.0822
    G1 Z32.7429
    G1 F2000.0 X98.0433 Y30.0164
    G1 X68.1877 Y72.2386
    G1 X127.8988
    G1 X122.1303 Y64.0822
    G1 F333.0 X121.8947 Y64.2489
    G1 Z32.2429
    G1 F2000.0 X98.0433 Y30.5164
    G1 X68.8948 Y71.7386
    G1 X127.1917
    G1 X121.8947 Y64.2489
    G1 F333.0 X121.6591 Y64.4155
    G1 Z31.7429
    G1 F2000.0 X98.0433 Y31.0164
    G1 X69.6019 Y71.2386
    G1 X126.4846
    G1 X121.6591 Y64.4155
    G1 F333.0 X121.4234 Y64.5821
    G1 Z31.2429
    G1 F2000.0 X98.0433 Y31.5164
    G1 X70.309 Y70.7386
    G1 X125.7775
    G1 X121.4234 Y64.5821
    G1 F333.0 X121.1878 Y64.7488
    G1 Z30.7429
    G1 F2000.0 X98.0433 Y32.0164
    G1 X71.0161 Y70.2386
    G1 X125.0704
    G1 X121.1878 Y64.7488
    G1 F333.0 X120.9521 Y64.9154
    G1 Z30.2429
    G1 F2000.0 X98.0433 Y32.5164
    G1 X71.7232 Y69.7386
    G1 X124.3633
    G1 X120.9521 Y64.9154
    G1 F333.0 X120.7165 Y65.0821
    G1 Z29.7429
    G1 F2000.0 X98.0433 Y33.0164
    G1 X72.4303 Y69.2386
    G1 X123.6562
    G1 X120.7165 Y65.0821
    G1 F333.0 X120.4809 Y65.2487
    G1 Z29.2429
    G1 F2000.0 X98.0433 Y33.5163
    G1 X73.1374 Y68.7386
    G1 X122.9491
    G1 X120.4809 Y65.2487
    G1 F333.0 X120.2453 Y65.4154
    G1 Z28.7429
    G1 F2000.0 X98.0433 Y34.0163
    G1 X73.8445 Y68.2386
    G1 X122.242
    G1 X120.2453 Y65.4154
    G1 F333.0 X120.0096 Y65.582
    G1 Z28.2429
    G1 F2000.0 X98.0433 Y34.5163
    G1 X74.5517 Y67.7386
    G1 X121.5348
    G1 X120.0096 Y65.582
    G1 F333.0 X119.774 Y65.7487
    G1 Z27.7429
    G1 F2000.0 X98.0433 Y35.0163
    G1 X75.2588 Y67.2386
    G1 X120.8277
    G1 X119.774 Y65.7487
    G1 F333.0 X119.5384 Y65.9153
    G1 Z27.2429
    G1 F2000.0 X98.0433 Y35.5163
    G1 X75.9659 Y66.7386
    G1 X120.1206
    G1 X119.5384 Y65.9153
    G1 F333.0 X119.3028 Y66.0819
    G1 Z26.7429
    G1 F2000.0 X98.0433 Y36.0163
    G1 X76.673 Y66.2386
    G1 X119.4135
    G1 X119.3028 Y66.0819
    G1 F333.0 X118.7064 Y65.7386
    G1 Z26.2429
    G1 F2000.0 X98.0433 Y36.5163
    G1 X77.3801 Y65.7386
    G1 X118.7064
    G1 F333.0 X117.9993 Y65.2386
    G1 Z25.7429
    G1 F2000.0 X98.0433 Y37.0163
    G1 X78.0872 Y65.2386
    G1 X117.9993
    G1 F333.0 X117.2922 Y64.7386
    G1 Z25.2429
    G1 F2000.0 X98.0433 Y37.5163
    G1 X78.7943 Y64.7386
    G1 X117.2922
    G1 F333.0 X116.5851 Y64.2386
    G1 Z24.7429
    G1 F2000.0 X98.0433 Y38.0163
    G1 X79.5014 Y64.2386
    G1 X116.5851
    G1 F333.0 X115.878 Y63.7386
    G1 Z24.2429
    G1 F2000.0 X98.0433 Y38.5163
    G1 X80.2085 Y63.7386
    G1 X115.878
    G1 F333.0 X115.1709 Y63.2386
    G1 Z23.7429
    G1 F2000.0 X98.0433 Y39.0163
    G1 X80.9156 Y63.2386
    G1 X115.1709
    G1 F333.0 X114.4638 Y62.7386
    G1 Z23.2429
    G1 F2000.0 X98.0433 Y39.5163
    G1 X81.6227 Y62.7386
    G1 X114.4638
    G1 F333.0 X113.7567 Y62.2386
    G1 Z22.7429
    G1 F2000.0 X98.0433 Y40.0163
    G1 X82.3298 Y62.2386
    G1 X113.7567
    G1 F333.0 X113.0496 Y61.7386
    G1 Z22.2429
    G1 F2000.0 X98.0433 Y40.5163
    G1 X83.0369 Y61.7386
    G1 X113.0496
    G1 F333.0 X112.3425 Y61.2386
    G1 Z21.7429
    G1 F2000.0 X98.0433 Y41.0163
    G1 X83.744 Y61.2386
    G1 X112.3425
    G1 F333.0 X111.6354 Y60.7386
    G1 Z21.2429
    G1 F2000.0 X98.0433 Y41.5163
    G1 X84.4512 Y60.7386
    G1 X111.6354
    G1 F333.0 X110.9283 Y60.2386
    G1 Z20.7429
    G1 F2000.0 X98.0433 Y42.0163
    G1 X85.1583 Y60.2386
    G1 X110.9283
    G1 F333.0 X110.2212 Y59.7386
    G1 Z20.2429
    G1 F2000.0 X98.0433 Y42.5163
    G1 X85.8654 Y59.7386
    G1 X110.2212
    G1 F333.0 X109.5141 Y59.2386
    G1 Z19.7429
    G1 F2000.0 X98.0433 Y43.0163
    G1 X86.5725 Y59.2386
    G1 X109.5141
    G1 F333.0 X108.807 Y58.7386
    G1 Z19.2429
    G1 F2000.0 X98.0433 Y43.5163
    G1 X87.2796 Y58.7386
    G1 X108.807
    G1 F333.0 X108.0998 Y58.2386
    G1 Z18.7429
    G1 F2000.0 X98.0433 Y44.0163
    G1 X87.9867 Y58.2386
    G1 X108.0998
    G1 F333.0 X107.3927 Y57.7386
    G1 Z18.2429
    G1 F2000.0 X98.0433 Y44.5163
    G1 X88.6938 Y57.7386
    G1 X107.3927
    G1 F333.0 X106.6856 Y57.2386
    G1 Z17.7429
    G1 F2000.0 X98.0433 Y45.0163
    G1 X89.4009 Y57.2386
    G1 X106.6856
    G1 F333.0 X105.9785 Y56.7386
    G1 Z17.2429
    G1 F2000.0 X98.0433 Y45.5163
    G1 X90.108 Y56.7386
    G1 X105.9785
    G1 F333.0 X105.2714 Y56.2386
    G1 Z16.7429
    G1 F2000.0 X98.0433 Y46.0163
    G1 X90.8151 Y56.2386
    G1 X105.2714
    G1 F333.0 X104.5643 Y55.7386
    G1 Z16.2429
    G1 F2000.0 X98.0433 Y46.5163
    G1 X91.5222 Y55.7386
    G1 X104.5643
    G1 F333.0 X103.8572 Y55.2386
    G1 Z15.7429
    G1 F2000.0 X98.0433 Y47.0163
    G1 X92.2293 Y55.2386
    G1 X103.8572
    G1 F333.0 X103.1501 Y54.7386
    G1 Z15.2429
    G1 F2000.0 X98.0433 Y47.5163
    G1 X92.9364 Y54.7386
    G1 X103.1501
    G1 F333.0 X102.443 Y54.2386
    G1 Z14.7429
    G1 F2000.0 X98.0433 Y48.0163
    G1 X93.6435 Y54.2386
    G1 X102.443
    G1 F333.0 X101.7359 Y53.7386
    G1 Z14.2429
    G1 F2000.0 X98.0433 Y48.5163
    G1 X94.3507 Y53.7386
    G1 X101.7359
    G1 F333.0 X101.0289 Y53.2386
    G1 Z13.7429
    G1 F2000.0 X98.0433 Y49.0163
    G1 X95.0578 Y53.2386
    G1 X101.0289
    G1 F333.0 X100.3218 Y52.7386
    G1 Z13.2429
    G1 F2000.0 X98.0433 Y49.5163
    G1 X95.7649 Y52.7386
    G1 X100.3218
    G1 F333.0 X99.6147 Y52.2386
    G1 Z12.7429
    G1 F2000.0 X98.0433 Y50.0163
    G1 X96.472 Y52.2386
    G1 X99.6147
    G1 F333.0 X98.9076 Y51.7386
    G1 Z12.2429
    G1 F2000.0 X98.0434 Y50.5163
    G1 X97.1791 Y51.7386
    G1 X98.9076
    G0 Z57.0
    M5
    M30
    
    --------------------------
    
    $$
    [fb]  firmware build            380.08
    [fv]  firmware version            0.96
    [hv]  hardware version            8.00
    [id]  TinyG ID                    1H4973-EWS
    [ja]  junction acceleration  100000 mm
    [ct]  chordal tolerance           0.001 mm
    [st]  switch type                 0 [0=NO,1=NC]
    [mt]  motor disble timeout       60 Sec
    [ej]  enable json mode            0 [0=text,1=JSON]
    [jv]  json verbosity              4 [0=silent,1=footer,2=messages,3=configs,4=linenum,5=verbose]
    [tv]  text verbosity              1 [0=silent,1=verbose]
    [qv]  queue report verbosity      0 [0=off,1=filtered,2=verbose]
    [sv]  status report verbosity     1 [0=off,1=filtered,2=verbose]
    [si]  status interval           250 ms
    [ic]  ignore CR or LF on RX       0 [0=off,1=CR,2=LF]
    [ec]  expand LF to CRLF on TX     0 [0=off,1=on]
    [ee]  enable echo                 0 [0=off,1=on]
    [ex]  enable flow control         1 [0=off,1=XON/XOFF, 2=RTS/CTS]
    [baud] USB baud rate              5 [1=9600,2=19200,3=38400,4=57600,5=115200,6=230400]
    [gpl] default gcode plane         0 [0=G17,1=G18,2=G19]
    [gun] default gcode units mode    1 [0=G20,1=G21]
    [gco] default gcode coord system  1 [1-6 (G54-G59)]
    [gpa] default gcode path control  2 [0=G61,1=G61.1,2=G64]
    [gdi] default gcode distance mode 0 [0=G90,1=G91]
    [1ma] m1 map to axis              2 [0=X,1=Y,2=Z...]
    [1sa] m1 step angle               1.800 deg
    [1tr] m1 travel per revolution    4.020 mm
    [1mi] m1 microsteps               8 [1,2,4,8]
    [1po] m1 polarity                 1 [0=normal,1=reverse]
    [1pm] m1 power management         0 [0=remain powered,1=shut off when idle]
    [2ma] m2 map to axis              3 [0=X,1=Y,2=Z...]
    [2sa] m2 step angle               1.800 deg
    [2tr] m2 travel per revolution    4.020 mm
    [2mi] m2 microsteps               8 [1,2,4,8]
    [2po] m2 polarity                 1 [0=normal,1=reverse]
    [2pm] m2 power management         1 [0=remain powered,1=shut off when idle]
    [3ma] m3 map to axis              1 [0=X,1=Y,2=Z...]
    [3sa] m3 step angle               1.800 deg
    [3tr] m3 travel per revolution    4.020 mm
    [3mi] m3 microsteps               8 [1,2,4,8]
    [3po] m3 polarity                 0 [0=normal,1=reverse]
    [3pm] m3 power management         1 [0=remain powered,1=shut off when idle]
    [4ma] m4 map to axis              0 [0=X,1=Y,2=Z...]
    [4sa] m4 step angle               1.800 deg
    [4tr] m4 travel per revolution    4.020 mm
    [4mi] m4 microsteps               8 [1,2,4,8]
    [4po] m4 polarity                 0 [0=normal,1=reverse]
    [4pm] m4 power management         1 [0=remain powered,1=shut off when idle]
    [xam] x axis mode                 1 [standard]
    [xvm] x velocity maximum       4000.000 mm/min
    [xfr] x feedrate maximum       3000.000 mm/min
    [xtm] x travel maximum          150.000 mm
    [xjm] x jerk maximum       20000000 mm/min^3
    [xjh] x jerk homing        20000000 mm/min^3
    [xjd] x junction deviation        0.1000 mm (larger is faster)
    [xsn] x switch min                1 [0=off,1=homing,2=limit,3=limit+homing]
    [xsx] x switch max                0 [0=off,1=homing,2=limit,3=limit+homing]
    [xsv] x search velocity        1000.000 mm/min
    [xlv] x latch velocity          100.000 mm/min
    [xlb] x latch backoff             2.000 mm
    [xzb] x zero backoff              1.000 mm
    [yam] y axis mode                 1 [standard]
    [yvm] y velocity maximum       3000.000 mm/min
    [yfr] y feedrate maximum       3000.000 mm/min
    [ytm] y travel maximum          150.000 mm
    [yjm] y jerk maximum       20000000 mm/min^3
    [yjh] y jerk homing        20000000 mm/min^3
    [yjd] y junction deviation        0.0500 mm (larger is faster)
    [ysn] y switch min                1 [0=off,1=homing,2=limit,3=limit+homing]
    [ysx] y switch max                0 [0=off,1=homing,2=limit,3=limit+homing]
    [ysv] y search velocity         500.000 mm/min
    [ylv] y latch velocity          100.000 mm/min
    [ylb] y latch backoff             2.000 mm
    [yzb] y zero backoff              1.000 mm
    [zam] z axis mode                 1 [standard]
    [zvm] z velocity maximum       1000.000 mm/min
    [zfr] z feedrate maximum       3000.000 mm/min
    [ztm] z travel maximum           75.000 mm
    [zjm] z jerk maximum       20000000 mm/min^3
    [zjh] z jerk homing        20000000 mm/min^3
    [zjd] z junction deviation        0.0500 mm (larger is faster)
    [zsn] z switch min                0 [0=off,1=homing,2=limit,3=limit+homing]
    [zsx] z switch max                1 [0=off,1=homing,2=limit,3=limit+homing]
    [zsv] z search velocity         400.000 mm/min
    [zlv] z latch velocity          100.000 mm/min
    [zlb] z latch backoff             2.000 mm
    [zzb] z zero backoff              1.000 mm
    [aam] a axis mode                 3 [radius]
    [avm] a velocity maximum     172800.000 deg/min
    [afr] a feedrate maximum     172800.000 deg/min
    [atm] a travel maximum           -1.000 deg
    [ajm] a jerk maximum     5760000000 deg/min^3
    [ajh] a jerk homing      5760000000 mm/min^3
    [ajd] a junction deviation        0.0500 deg (larger is faster)
    [ara] a radius value              0.1989 deg
    [asn] a switch min                1 [0=off,1=homing,2=limit,3=limit+homing]
    [asx] a switch max                0 [0=off,1=homing,2=limit,3=limit+homing]
    [asv] a search velocity         600.000 deg/min
    [alv] a latch velocity          100.000 deg/min
    [alb] a latch backoff             5.000 deg
    [azb] a zero backoff              2.000 deg
    [bam] b axis mode                 0 [disabled]
    [bvm] b velocity maximum       3600.000 deg/min
    [bfr] b feedrate maximum       3600.000 deg/min
    [btm] b travel maximum           -1.000 deg
    [bjm] b jerk maximum       20000000 deg/min^3
    [bjd] b junction deviation        0.0500 deg (larger is faster)
    [bra] b radius value              1.0000 deg
    [cam] c axis mode                 0 [disabled]
    [cvm] c velocity maximum       3600.000 deg/min
    [cfr] c feedrate maximum       3600.000 deg/min
    [ctm] c travel maximum           -1.000 deg
    [cjm] c jerk maximum       20000000 deg/min^3
    [cjd] c junction deviation        0.0500 deg (larger is faster)
    [cra] c radius value              1.0000 deg
    [p1frq] pwm frequency           100.000 Hz
    [p1csl] pwm cw speed lo        1000.000 RPM
    [p1csh] pwm cw speed hi        2000.000 RPM
    [p1cpl] pwm cw phase lo           0.125 [0..1]
    [p1cph] pwm cw phase hi           0.200 [0..1]
    [p1wsl] pwm ccw speed lo       1000.000 RPM
    [p1wsh] pwm ccw speed hi       2000.000 RPM
    [p1wpl] pwm ccw phase lo          0.125 [0..1]
    [p1wph] pwm ccw phase hi          0.200 [0..1]
    [p1pof] pwm phase off             0.100 [0..1]
    [g54x] g54 x offset               0.000 mm
    [g54y] g54 y offset               0.000 mm
    [g54z] g54 z offset               0.000 mm
    [g54a] g54 a offset               0.000 deg
    [g54b] g54 b offset               0.000 deg
    [g54c] g54 c offset               0.000 deg
    [g55x] g55 x offset              75.000 mm
    #5260
    tomking505
    Member

    CoolTerm is set according to this page:

    https://github.com/synthetos/TinyG/wiki/TinyG-Sending-Files-with-CoolTerm

    XON is turned on in CoolTerm and in TinyG.

    #5264
    alden
    Member

    Thanks for sending the data. I will try to reproduce what happened. In the meantime if you need to clear out the buffers I think you may need to close the coolterm window and open a new one to make sure there is no more in coolterm’s buffer. Also hit the reset button on the TinyG.

    Pls give me a day or so to get to run this.

    #5266
    psyko
    Member

    Keep in mind that Coolterm is simply a terminal.
    If you cancel in the middle of a line, when CR/LF is not send, I think the data will stay in the Serial buffer because TinyG didn’t encounter the end of command token (new line char). Then you send g0z0. In TinyG serial buffer, this leads to the following line :
    y1g0z0\r\n

    which is assumed to be a motion I guess. That might be one explanation, but the line you gave is not the same as my guess.
    I’m not sure that there is a command to flush the serial buffer in TinyG. ‘%’ will only clear the planner buffer.

    But I’m simply a user, alden will confirm or deny what I’m saying.

    #5267
    alden
    Member

    @psyko – You are essentially correct. But I’m not sure why Tom’s getting that movement in Y; at least not that particular move that goes to 180. What I was going to do with the code is (1) confirm proper operation of the Gcode file as a start (and generate line numbers so it’s easier to debug), (2) reproduce Tom’s steps to see how Y movement might occur, and (3) see if I can come up with a procedure / documentation for stopping and restarting a job under coolterm – albeit probably restarting from the beginning.

    • This reply was modified 10 years, 7 months ago by alden.
    #5273
    tomking505
    Member

    Thank you, Psyko and Alden, for your help.

    What has me puzzled is the Y0 move. There aren’t any in the gcode. It goes to a coordinate that is not in my gcode, which is what causes the crash.

    Maybe the command “X88 Y99” is halted midway through to give “X88 Y9”? I don’t have anything that will sniff the com port to see.

    I would gladly use TGfx, but I cannot update my firmware to something compatible with TGfx.

    #5280
    alden
    Member

    Let me get through the diagnosis and see what we can (and cannot) do with Coolterm. Separately we are qualifying the Edge branch and making sure it works well and works with tgfx. I don’t have an estimate for when this will be finished, but this is what we are working on so it should not be long. Beyond that we’ll make sure you can get your firmware upgraded when the time comes.

    #5286
    alden
    Member

    Tom, when you said you hit the cancel button do you mean “Disconnect” on Coolterm? If not, what did you hit to cancel?

    #5287
    mcgyvr
    Member

    oh wait.. “Y1” isn’t the cancel shortcut in coolterm? shoot 🙂 haha 🙂

    #5288
    tomking505
    Member

    >Tom, when you said you hit the cancel button

    After you use send text file from the connection menu, CoolTerm displays a progress dialog which shows how much of the file has been sent. That dialog has a “cancel” button in the lower right.

    Not the disconnect button. I never use the disconnect button; I have CoolTerm set to connect/disconnect automatically.

    Most of the time, the machine runs until the buffer is empty. And it’s done. I can issued gocde manually or send another file, no problem. But one time in ten, something goes wrong and the machine erupts. Sometimes nothing displays in the CoolTerm window. Other times it will show five or six lines of gcode. The problem is it is intermittent.

    This is CoolTerm windows, 1.4.3. XON is on.

    • This reply was modified 10 years, 7 months ago by tomking505.
    #5290
    alden
    Member

    Hmmm. I see the transmit dialog for as long as Coolterm is reading the file form the disk, then it disappears, but that’s usually well before the motion stops. I think Coolterm is filling it’s buffers, then once they are filled that dialog goes away. Thanks for the clarification.

    Hey, If you have that cambam gear file that cut the bad arc I’d really like to see that one. If TinyG is messing up and cutting an arc in that gear we need to fix that. I have not seen that kind of behavior in a very long time, but if something’s lurking there we need to nail it. If we don;t see it, then it points to something else that we should be tracking down. The fact that it’s repeatable in your setup gives me hope that we can reproduce it and find the source of the problem.

    #5292
    psyko
    Member

    Hello guys,

    Now that I read that arc issue, I sometime do have it as well.
    I always assumed it was some kind of heating problem, or some issue with my control software.
    I figured out that my software have issues with filling the planner buffer, but it is sending the command properly.
    Unfortunately I do not have any GCode or data to provide but I noticed this behavior several times.

    Hope you can identify the issue.

    #5295
    alden
    Member

    @psyko – What build are you running? We did a lot of work on arcs after build 380.xx. These changes are being staged through edge right now. If that error still exists I’d like to find and fix it. If you have any files that you know perform this can you please make them available (dropbox or some other link, presumably) — Thanks

Viewing 15 posts - 1 through 15 (of 20 total)
  • You must be logged in to reply to this topic.