LaosLaser / Firmware

Embedded software (firmware) for the laser system and components, including configuration files
27 stars 27 forks source link

Can't control speed anymore? #20

Closed peteruithoven closed 9 years ago

peteruithoven commented 10 years ago

Using version master.fbcd2b0-dirty.bin we can engrave several times faster than we used to, but it seems like we can't control the speed anymore. There's no difference between a job at 100% vs. 0.01% speed

The speed ends up correctly in the simplecode. I've added the beginning of a simple engrave job below. Parameter 100 should be the speed, which is set to 1 which represents 0.01%.

201 9906
202 59816
203 505141
204 510094
7 100 1
7 101 10000
0 5841 319839
peteruithoven commented 10 years ago

The relevant changes should be in the following commit: https://github.com/LaosLaser/Firmware/commit/84a0e03ce440750662b2aa51bf76e7487f05eb59

I see for example that the xaccel is used without scaling it to a speed setting? But this isn't even specific for engraving.

plan_set_accel(cfg->xaccel);
michiwend commented 10 years ago

same problem here: we can´t control speed for engraving. While setting speed for cutting works, the speed for engraving remains allways 100%

we use latest version of visicut 1.7.1 and latest available laos firmware (22.5.2014)

t-oster commented 9 years ago

Can you try the same with an older VisiCut version? Somebody reported, the speed is controllable with version 1.5, but I don't think VisiCut is the culprit.

matthijskooijman commented 9 years ago

Isn't this what a859d18faa9030d29feff51f32e71c7b05f2eab2 fixes? @peteruithoven

peteruithoven commented 9 years ago

Yep it should, thanks for the reminder. Please reopen the issue if it didn't fix the issue.