gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
3.99k stars 1.59k forks source link

Grbl 1.1f ['$' for help] #1192

Open Yasir898 opened 1 year ago

Yasir898 commented 1 year ago

i face a problem pen plotter is working fine like stepper motor and servo but after a some execution it stack and pause and show the error of grbl 1.1f and i have to do it again ![Uploading Screenshot (9).png…]()

Yasir898 commented 1 year ago

i face a problem pen plotter is working fine like stepper motor and servo but after a some execution it stack and pause and show the error of grbl 1.1f and i have to do it again

Connected to COM3 @ 115200 baud Grbl 1.1f ['$' for help]

$$ $0 = 10 (Step pulse time, microseconds) $1 = 25 (Step idle delay, milliseconds) $2 = 0 (Step pulse invert, mask) $3 = 0 (Step direction invert, mask) $4 = 0 (Invert step enable pin, boolean) $5 = 0 (Invert limit pins, boolean) $6 = 0 (Invert probe pin, boolean) $10 = 1 (Status report options, mask) $11 = 0.010 (Junction deviation, millimeters) $12 = 0.002 (Arc tolerance, millimeters) $13 = 0 (Report in inches, boolean) $20 = 0 (Soft limits enable, boolean) $21 = 0 (Hard limits enable, boolean) $22 = 0 (Homing cycle enable, boolean) $23 = 0 (Homing direction invert, mask) $24 = 25.000 (Homing locate feed rate, mm/min) $25 = 500.000 (Homing search seek rate, mm/min) $26 = 250 (Homing switch debounce delay, milliseconds) $27 = 1.000 (Homing switch pull-off distance, millimeters) $30 = 1000 (Maximum spindle speed, RPM) $31 = 0 (Minimum spindle speed, RPM) $32 = 0 (Laser-mode enable, boolean) $100 = 250.000 (X-axis travel resolution, step/mm) $101 = 250.000 (Y-axis travel resolution, step/mm) $102 = 250.000 (Z-axis travel resolution, step/mm) $110 = 500.000 (X-axis maximum rate, mm/min) $111 = 500.000 (Y-axis maximum rate, mm/min) $112 = 500.000 (Z-axis maximum rate, mm/min) $120 = 10.000 (X-axis acceleration, mm/sec^2) $121 = 10.000 (Y-axis acceleration, mm/sec^2) $122 = 10.000 (Z-axis acceleration, mm/sec^2) $130 = 200.000 (X-axis maximum travel, millimeters) $131 = 200.000 (Y-axis maximum travel, millimeters) $132 = 200.000 (Z-axis maximum travel, millimeters) ok $G [GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0] ok G21G90 G0Z5 G90 G0 X0 Y0 G90 G0 Z0 ok ok ok $J=G21G91X10Y10F10000 ok Connected to COM3 @ 115200 baud Grbl 1.1f ['$' for help] $$ $0 = 10 (Step pulse time, microseconds) $1 = 25 (Step idle delay, milliseconds) $2 = 0 (Step pulse invert, mask) $3 = 0 (Step direction invert, mask) $4 = 0 (Invert step enable pin, boolean) $5 = 0 (Invert limit pins, boolean) $6 = 0 (Invert probe pin, boolean) $10 = 1 (Status report options, mask) $11 = 0.010 (Junction deviation, millimeters) $12 = 0.002 (Arc tolerance, millimeters) $13 = 0 (Report in inches, boolean) $20 = 0 (Soft limits enable, boolean) $21 = 0 (Hard limits enable, boolean) $22 = 0 (Homing cycle enable, boolean) $23 = 0 (Homing direction invert, mask) $24 = 25.000 (Homing locate feed rate, mm/min) $25 = 500.000 (Homing search seek rate, mm/min) $26 = 250 (Homing switch debounce delay, milliseconds) $27 = 1.000 (Homing switch pull-off distance, millimeters) $30 = 1000 (Maximum spindle speed, RPM) $31 = 0 (Minimum spindle speed, RPM) $32 = 0 (Laser-mode enable, boolean) $100 = 250.000 (X-axis travel resolution, step/mm) $101 = 250.000 (Y-axis travel resolution, step/mm) $102 = 250.000 (Z-axis travel resolution, step/mm) $110 = 500.000 (X-axis maximum rate, mm/min) $111 = 500.000 (Y-axis maximum rate, mm/min) $112 = 500.000 (Z-axis maximum rate, mm/min) $120 = 10.000 (X-axis acceleration, mm/sec^2) $121 = 10.000 (Y-axis acceleration, mm/sec^2) $122 = 10.000 (Z-axis acceleration, mm/sec^2) $130 = 200.000 (X-axis maximum travel, millimeters) $131 = 200.000 (Y-axis maximum travel, millimeters) $132 = 200.000 (Z-axis maximum travel, millimeters) ok $G [GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0] ok Connection closed Connected to COM3 @ 115200 baud s:0.000,0.000,0.000|FS:0,0|Ov:100,100,100> Grbl 1.1f ['$' for help] $$ $0 = 10 (Step pulse time, microseconds) $1 = 25 (Step idle delay, milliseconds) $2 = 0 (Step pulse invert, mask) $3 = 0 (Step direction invert, mask) $4 = 0 (Invert step enable pin, boolean) $5 = 0 (Invert limit pins, boolean) $6 = 0 (Invert probe pin, boolean) $10 = 1 (Status report options, mask) $11 = 0.010 (Junction deviation, millimeters) $12 = 0.002 (Arc tolerance, millimeters) $13 = 0 (Report in inches, boolean) $20 = 0 (Soft limits enable, boolean) $21 = 0 (Hard limits enable, boolean) $22 = 0 (Homing cycle enable, boolean) $23 = 0 (Homing direction invert, mask) $24 = 25.000 (Homing locate feed rate, mm/min) $25 = 500.000 (Homing search seek rate, mm/min) $26 = 250 (Homing switch debounce delay, milliseconds) $27 = 1.000 (Homing switch pull-off distance, millimeters) $30 = 1000 (Maximum spindle speed, RPM) $31 = 0 (Minimum spindle speed, RPM) $32 = 0 (Laser-mode enable, boolean) $100 = 250.000 (X-axis travel resolution, step/mm) $101 = 250.000 (Y-axis travel resolution, step/mm) $102 = 250.000 (Z-axis travel resolution, step/mm) $110 = 500.000 (X-axis maximum rate, mm/min) $111 = 500.000 (Y-axis maximum rate, mm/min) $112 = 500.000 (Z-axis maximum rate, mm/min) $120 = 10.000 (X-axis acceleration, mm/sec^2) $121 = 10.000 (Y-axis acceleration, mm/sec^2) $122 = 10.000 (Z-axis acceleration, mm/sec^2) $130 = 200.000 (X-axis maximum travel, millimeters) $131 = 200.000 (Y-axis maximum travel, millimeters) $132 = 200.000 (Z-axis maximum travel, millimeters) ok $G [GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0] ok $J=G21G91X10Y10F10000 ok $J=G21G91X-10Y-10F10000 ok G21G90 G0Z5 G90 G0 X0 Y0 G90 G0 Z0 ok ok ok M03S80 Skipping blank line #2 G90 G21 G1F10000 G1X73.0957Y77.4824 G4P0.2 M05S0 G4P0.2 G1F10000 G2X68.6787Y80.2104I1.6554J7.6204 ok ok ok G2X66.976Y85.0781I5.9919J4.8276 ok ok Grbl 1.1f ['$' for help]

Canceling file transfer.

M03S80 Skipping blank line #2 G90 G21 G1F10000 G1X73.0957Y77.4824 G4P0.2 M05S0 G4P0.2 G1F10000 G2X68.6787Y80.2104I1.6554J7.6204 ok ok ok G2X66.976Y85.0781I5.9919J4.8276 ok ok ok G2X67.5855Y88.1355I8.187J-0.0428 ok ok ok ok G2X69.2522Y90.6416I7.062J-2.8893 ok G2X72.2656Y92.4938I5.3869J-5.3869 ok G2X75.9175Y92.8269I2.5509J-7.7804 ok G2X78.3307Y92.0472I-0.9648J-7.1094 ok G2X80.4223Y90.4229I-3.6837J-6.9027 ok G2X82.496Y84.8592I-5.8539J-5.3502 ok G2X80.129Y79.5298I-7.6469J0.2059 ok G2X78.3801Y78.2468I-5.8249J6.1069 ok G2X76.4654Y77.509I-3.648J6.6137 ok G2X74.7891Y77.3074I-1.736J7.363 ok G2X73.0957Y77.4824I-0.0607J7.6914 G1X73.0957Y77.4824 ok G4P0.2 M03S80 G4P0.2 G1F10000 ok G1X76.422Y78.7689 G4P0.2 M05S0 G4P0.2 ok G1F10000 ok G3X80.1096Y81.2888I-1.6324J6.347 ok ok ok G3X81.2893Y85.5349I-5.1795J3.726 ok ok ok G3X80.1659Y88.7736I-6.8436J-0.5596 ok ok ok ok G3X77.6478Y91.0188I-5.5404J-3.6789 ok G3X73.6219Y91.6073I-2.8817J-5.6487 ok G3X69.9658Y89.6095I1.1998J-6.5399 ok G3X68.1708Y84.9872I4.8618J-4.5476 ok G3X70.0681Y80.4936I6.4412J0.0723 ok G3X73.0131Y78.7916I4.6848J4.7073 ok G3X76.422Y78.7689I1.7474J6.4375 G1X76.422Y78.7689 G4P0.2 ok M03S80 G4P0.2 G1F10000 ok G1X83.3766Y81.4819 G4P0.2 M05S0 G4P0.2 ok G1F10000 ok G2X83.3354Y81.7825I0.6201J0.238 ok ok ok G2X83.4826Y82.6011I4.9677J-0.4708 ok ok ok G3X83.7405Y85.8938I-8.7576J2.3423 ok ok ok ok G3X82.7877Y89.1931I-9.7462J-1.0275 ok G3X75.2454Y94.1892I-8.0495J-3.9606 ok G3X67.142Y90.0791I-0.5116J-9.0347 ok G3X65.7745Y86.578I7.8174J-5.0708 ok G3X65.9051Y82.8426I9.0831J-1.5524 ok G2X65.4595Y81.9967I-0.7012J-0.171 ok G2X62.1108Y81.4058I-3.2329J8.5374 G1X58.294Y81.4542 ok G1X58.247Y88.2598 G1X58.1999Y95.0655 ok G1X58.6946Y95.5818 ok G3X58.9924Y96.1843I-0.8082J0.7743 ok ok G3X59.4593Y100.5045I-46.2313J7.1817 ok ok G3X59.0507Y104.5119I-12.4007J0.7599 ok G3X58.1599Y105.3028I-1.0486J-0.284 ok G2X57.3798Y105.5297I0.4312J2.9364 ok G2X57.1283Y105.764I0.2168J0.4848 ok G2X57.0254Y106.1194I0.7838J0.4195 ok G2X56.9484Y108.252I29.4994J2.1326 ok G2X57.0735Y110.3521I17.689J-0. ok G2X57.2407Y110.6962I0.5807J-0.0694 ok G2X57.5525Y110.8963I0.6139J-0.6139 ok G2X57.7764Y110.895I0.1103J-0.2973 ok G2X58.0032Y110.7714I-0.3498J-0.9115 ok G2X62.6423Y107.3335I-287.9564J-393.4239 ok G3X67.2714Y103.8754I841.7592J1121.9455 ok G3X67.4912Y103.7267I1.7647J2.3724 ok G1X67.7274Y103.699 ok G3X70.9001Y104.8397I-17.6883J54.177 ok G2X76.9617Y107.0648I51.5286J-131.0049 ok G2X80.6598Y108.1704I16.2466J-47.6066 ok G2X84.2676Y108.7697I5.2196J-20.2621 ok G2X90.5886Y108.9375I4.8178J-62.3587 ok G2X108.3075Y106.6764I-2.0898J-86.9369 ok G2X117.0522Y102.7467I-5.7061J-24.3918 ok G2X118.181Y101.8776I-9.9738J-14.1227 ok G2X119.5975Y100.6145I-19.7046J-23.5221 ok G1X120.9766Y99.3059 G1X122.0207Y99.3059 ok G2X125.0115Y99.1252I-0.J-24.8345 ok G2X129.4559Y98.4039I-6.7539J-55.6728 ok ok G2X135.0061Y96.6549I-5.5835J-27.3985 ok G2X137.4791Y94.9213I-2.9988J-6.9085 ok G2X139.6572Y91.2516I-7.0446J-6.6625 ok G2X141.1796Y83.5175I-31.4679J-10.2114 ok G2X140.5443Y82.066I-1.6864J-0.1266 ok G2X138.3017Y81.2344I-2.3951J3.0191 ok G2X136.0342Y81.8135I-0.1621J4.0942 ok G2X135.605Y82.8497I0.4835J0.8073 ok G3X134.7535Y89.4468I-8.8283J2.2141 ok G3X129.6112Y93.7578I-8.1176J-4.4604 ok G3X126.8873Y94.2085I-2.7317J-8.0532 ok G3X124.0215Y93.7628I-0.0086J-9.3817 ok G3X120.5985Y91.7172I2.6709J-8.3557 ok G3X118.3058Y88.2431I6.6399J-6.8756 ok G3X117.7456Y85.5824I8.16J-3.1072 ok G3X118.0285Y82.8288I9.0379J-0.4628 ok G2X118.2069Y81.7183I-5.6368J-1.4749 ok G2X118.1156Y81.4384I-0.3984J-0.025 ok G2X117.8467Y81.3097I-0.2741J0.2275 ok G2X100.6978Y81.1849I-17.1488J1178.5058 ok G2X83.5912Y81.3314I0.J998.6875 ok G1X83.3765Y81.4817 G1X83.3766Y81.4819 G4P0.2 M03S80 ok G4P0.2 G1F10000 G1X75.5484Y99.066 ok G4P0.2 M05S0 G4P0.2 G1F10000 ok ok G2X75.4202Y100.1788I0.6373J0.6373 ok ok ok ok G2X77.9941Y103.0029I8.9076J-5.5335 ok ok ok G2X82.6836Y105.2944I8.1773J-10.7907 ok ok ok G2X90.3694Y106.3024I7.6934J-28.8559 ok G2X103.7692Y104.8371I0.0151J-61.8639 ok G2X114.9538Y100.8542I-10.3825J-46.8514 ok G2X116.6114Y99.8281I-4.9763J-9.8912 ok G2X116.7831Y99.4854I-0.2565J-0.3428 ok G1X116.7831Y99.0368 G1X96.2259Y98.9912 ok G2X75.6932Y99.006I-7.7585J3494.8466 ok G1X75.5484Y99.0659 G1X75.5484Y99.066 G4P0.2 ok M03S80 G4P0.2 G1F10000 ok ok G1X113.3652Y100.1931 G4P0.2 M05S0 G4P0.2 G1F10000 ok ok G3X112.5052Y100.7431I-1.698J-1.7076 ok ok ok ok ok G3X106.8641Y102.606I-28.3758J-76.4519 ok ok ok G3X100.0694Y104.181I-17.7621J-61.1858 ok ok G3X92.9711Y105.0338I-11.5228J-65.9393 ok G3X84.3675Y104.5179I-2.266J-34.2077 ok G3X79.3281Y102.4675I2.5252J-13.4243 ok G3X77.3054Y100.8069I7.2227J-10.8599 ok G3X77.0428Y100.1707I0.6394J-0.6362 ok G1X77.1161Y100.0969 ok G3X95.2892Y100.0236I18.1732J2253.7738 ok G3X113.3306Y100.1082I0.J1924.5047 G1X113.3652Y100.1931 ok G1X113.3652Y100.1931 G4P0.2 ok M03S80 G4P0.2 G1F10000 ok G1X116.6787Y83.1138 G4P0.2 M05S0 G4P0.2 G1F10000 ok ok G2X116.4905Y85.1344I7.3269J1.7015 ok ok ok ok G2X116.8753Y87.7438I12.6947J-0.539 ok ok ok G2X119.5307Y92.4195I9.9053J-2.5334 Grbl 1.1f ['$' for help]

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Grbl 1.1f ['$' for help] Grbl 1.1f ['$' for help]

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Resuming file transfer.

Canceling file transfer.

M03S80 Skipping blank line #2 G90 G21 G1F10000 G1X73.0957Y77.4824 G4P0.2 M05S0 G4P0.2 G1F10000 G2X68.6787Y80.2104I1.6554J7.6204 ok ok ok G2X66.976Y85.0781I5.9919J4.8276 ok ok Grbl 1.1f ['$' for help] Grbl 1.1f ['$' for help]

Resuming file transfer.

Resuming file transfer.

Canceling file transfer.

G21G90 G0Z5 G90 G0 X0 Y0 G90 G0 Z0 ok ok ok M03S80 Skipping blank line #2 G90 G21 G1F10000 G1X73.0957Y77.4824 G4P0.2 M05S0 G4P0.2 G1F10000 G2X68.6787Y80.2104I1.6554J7.6204 ok ok ok G2X66.976Y85.0781I5.9919J4.8276 ok ok ok G2X67.5855Y88.1355I8.187J-0.0428 ok Grbl 1.1f ['$' for help]

Canceling file transfer.

$J=G21G91X10Y10F10000 ok errr:7errr:7 An unexpected error was detected:

Screenshot (9)

vorlovsky commented 1 year ago

It looks like a connection issue. To find the "bottle neck" I should advise you first to run the same gcode file with the CNC shield disconnected and to use different USB cables. In case nothing changes and if your Arduino is a clone of Uno board with CH340 USB bridge, try to replace it with an official Uno board that has ATmega bridge.