[FW 3.5.1] Is parameter "A" implemented in M956?
-
Hi all!
I would like to use the command M956 to record accelerometer data while doing a single move. It would be great to start the recording at the end of the move or right before the deceleration phase. My understanding is that this is the function of the "A1" and "A2" parameters, but I am unable to make it work as such. Is this parameter actually implemented, or is there an additional step required? If it is not implemented, are there any plans to do so, or are there any workarounds available in the meantime?
Thank you! -
@leone it is implemented. What version of firmware are you using?
Note the command all needs to be sent on one line. If you use the Input Shaping plugin it sends a command like this:
G1 Y222.1 F18000 M400 M956 P20.0 S1000 A0 F"37-T1-Y77.1-222.1-20.0-zvdd-42Hz-0.05.csv" -
@T3P3Tony thanks for your answer.
Based on your suggestion I managed to have the intended behaviour with the A1 parameter by running on the same line:M956 P20.0 S1200 A1 F"move.csv" M400 G1 X300 F18000
If I run the same command but with A2 instead, the logged data are pretty much the same, with acceleration and deceleration segments. With A2 I would expect to see only the deceleration phase, am I right?
Btw, I am using 3.5.1.
Thanks for the support!
-
@leone From the 3.5.1 source....
gb.MustSee('A'); const uint8_t mode = gb.GetUIValue(); ... ... ... (void)mode; // TODO implement mode
So the various A options are not currently implemented.
See: https://github.com/Duet3D/RepRapFirmware/blob/3.5-dev/src/Accelerometers/Accelerometers.cpp#L391