M208 messes up some axes but not others
-
Every 3rd axis minimum was ignored. RRF3.4b7+2 in standalone mode.
We had all of the minimums (S1) in a one line M208 in our config.g, and all of the maximums (S0) in a second one line M208. Every 3rd minimum value was ignored out of 12 axes. 2 good, 1 ignored (zero), 2 good, 1 ignored...
A single axis M208 S1 from the console worked fine. I split it into 3 minimums or 3 maximums per M208, didn't help. I put the maximums first and then the minimums were fine! I didn't have a chance to try every combination. So the first thing to try is maximums first, then split into multiple M208 lines if it still doesn't work.
I haven't tested the maximums yet...
-
@theolodian I think you should post an example of what it is you have that does not work. Also if you enter the failing line in the console do you get any sort of error? It would probably also help if you posted your complete config.g file.
-
@gloomyandy Here is the one that doesn't work. I got it to work by splitting it up and changing the order.
; M208: Set axis max travel ; https://duet3d.dozuki.com/Wiki/Gcode#Section_M208_Set_axis_max_travel M208 U-5 V-5 W-5 'A-5 'B-5 'C-5 'D-5 'H-5 'I-5 'J-5 'K-5 'L-5 S1 M208 U1000 V1000 W1000 'A2000 'B2000 'C2000 'D2000 'H2000 'I2000 'J2000 'K2000 'L2000 S0
-
@theolodian you should post the M584 line that comes before those M208 lines too.
-
Works for me (read the console output from bottom to top):
01/02/2022, 20:10:55 m208 Axis limits (mm)s X0.0:305.0, Y0.0:300.0, Z-1.0:295.0, U-5.0:1000.0, V-5.0:1000.0, W-5.0:1000.0, a-5.0:2000.0, b-5.0:2000.0, c-5.0:2000.0, d-5.0:2000.0, i-5.0:2000.0, k-5.0:2000.0, l-5.0:2000.0 01/02/2022, 20:10:45 M208 U1000 V1000 W1000 'A2000 'B2000 'C2000 'D2000 'H2000 'I2000 'J2000 'K2000 'L2000 S0 01/02/2022, 20:10:33 M208 U-5 V-5 W-5 'A-5 'B-5 'C-5 'D-5 'H-5 'I-5 'J-5 'K-5 'L-5 S1 01/02/2022, 20:10:22 m584 u1.0 v1.1 w1.2 'a2.0 'b2.1 'c2.2 'd0.5 'd0.5 'i0.5 'k0.5 'l0.5
-
; Main 6HC Board CAN #0 M584 U0.3 M584 V0.4 M584 W0.5 M584 'a0.0 ;R0 M584 'b0.1 ;R0 M584 'c0.2 ;R0 M584 'd1.0 M584 'h1.1 M584 'i1.2 M584 'j2.0 M584 'k2.1 M584 'l2.2
-
@dc42 This spare system that I have on the bench here with the same software version in it gives me the same results that you get. The system on the machine today refused to set every 3rd axis to the correct starting value after homing. I won't be able to try it on the machine again until next week. Cheers.
-
@theolodian said in M208 messes up some axes but not others:
RRF3.4b7+2 in standalone mode.
Can you test with this build?
https://www.dropbox.com/sh/i5vox3xmkd55gaz/AAC19mI0WEC5GmEjLOBRbKs-a?dl=0
-
@dc42 I haven’t had a chance to test this on a newer firmware build yet. I may be able to test some things on the machine tomorrow.
-
@theolodian please test using 3.4.0rc2.