Hello, I am trying to build a 3d printed pen plotter, but when sending a gcode file to the printer, at first it moves well, the it doesnt move at all or it moves in very very small steps. I am using 2byj-48 stepper motors connected to12v with a ramps board, and using 3d printed rack gears for movement(I dont want very accurate movement).
This is the gcode file I am trying to print.
M280 P0 S120
G1 F400
G1 X49.3398 Y53.4217
M280 P0 S170
M280 P0 S180
G1 F400.000000
G1 X30.4721 Y4.4762
G1 X25.9196 Y4.4762
G1 X44.7084 Y53.4217
G1 X49.3398 Y53.4217
M280 P0 S120
G1 F400
G1 X17.6305 Y34.3698
M280 P0 S170
M280 P0 S180
G1 F400.000000
G1 X11.3413 Y34.3698
G1 X11.3413 Y41.8695
G1 X17.6305 Y41.8695
G1 X17.6305 Y34.3698
M280 P0 S120
G1 F400
G1 X17.6305 Y12.4759
M280 P0 S170
M280 P0 S180
G1 F400.000000
G1 X11.3413 Y12.4759
G1 X11.3413 Y19.9756
G1 X17.6305 Y19.9756
G1 X17.6305 Y12.4759
M280 P0 S120
G1 F400
G1 X0 Y0