[grbl Issue#1616] Grbl stops when using diffrent gcode generator

未分类 bolang 6个月前 (10-14) 40次浏览

Issue #1616 | 状态: 进行中 | 作者: Iqwertz | 创建时间: 2020-03-17


I use grbl 0.9i (with servo modifications) and Grbl Controller for my plotter.
I always slice my svg files with carbid create and it works perfectly fine.
Now i decided to build my own svg to gcode slicer with javascript. When I give the programm an svg file it outputs an gcode file, which looks like this:

> M3 S20
M5
G90
G1 X-289.105 Y-205.206 F7000
M3 S45
G4 P0.2
G1 X-289.105 Y-205.206 F7000
G1 X-289.105 Y-190.905 F7000
M5
G1 X-289.105 Y-19.268 F7000
M3 S45
G4 P0.2
G1 X-289.105 Y-19.268 F7000
G1 X-289.105 Y-4.96 F7000
M5
G1 X-279.567 Y-186.136 F7000
M3 S45
G4 P0.2
G1 X-279.567 Y-186.136 F7000
G1 X-279.567 Y-14.492 F7000
M5
G1 X-289.105 Y-4.954 F7000
M3 S45
G4 P0.2
G1 X-289.105 Y-4.954 F7000
G1 X-274.804 Y-4.954 F7000
M5
G1 X-20.196 Y-4.954 F7000
M3 S45
G4 P0.2
G1 X-20.196 Y-4.954 F7000
G1 X-5.895 Y-4.954 F7000
M5
G1 X-5.895 Y-4.96 F7000
M3 S45
G4 P0.2
G1 X-5.895 Y-4.96 F7000
G1 X-5.895 Y-19.268 F7000
M5
G1 X-5.895 Y-190.905 F7000
M3 S45
G4 P0.2
G1 X-5.895 Y-190.905 F7000
G1 X-5.895 Y-205.206 F7000
M5
G1 X-15.433 Y-14.492 F7000
M3 S45
G4 P0.2
G1 X-15.433 Y-14.492 F7000
G1 X-15.433 Y-186.136 F7000
M5
G1 X-5.895 Y-205.206 F7000
M3 S45

The Problem is when I trie to run it it seem to work at first but then randomly grbl crashes and stops. With Carbid create it still works fine so it should be an Software problem.

Does somebody know what the problem of the generate gcode could be?

原始Issue: https://github.com/grbl/grbl/issues/1616

喜欢 (0)