Help, strange change
-
@gnydick said in Help, strange change:
DOES NOT WORK
M671 X-16.16:-16.16:331.5 Y0.0:256.0:128.0 S7.5
DOES WORK
M671 X-49.21:-49.21:372 Y0:256:128 S7.5When you use the line that does not work:
- If you run M98 P"config.g", do you get any error messages relating to that line?
- If you send M671 without parameters, does it report the values from that line?
PS - the long comment on that line as included in the config.g file that you posted causes it to exceed the maximum supported line length, but unless a bug has crept in recently, that shouldn't matter because the comment will be discarded.
-
@dc42 thanks, I'll try those things.
-
Specify 1, 2, 3 or 4 X and Y coordinates in M671
I don't have the long comment in the file currently.
-
I just retyped the line at a different position in the file and it works.
Would you like me to attach the original file? It appears to be some strange parsing bug or maybe a non visible character in there?
-
@gnydick said in Help, strange change:
I just retyped the line at a different position in the file and it works.
If you run M98 P"config.g", do you get any error messages relating to that line?
running the config.g file will likely tell you what goes, wrong, moving the line in the config could suggest the problem lies elsewhere and that the file isnt parsed in its entierty.
-
@gnydick said in Help, strange change:
Specify 1, 2, 3 or 4 X and Y coordinates in M671
Perhaps an invisible character? If you attach the file I will take a look at it. We may be able to provide a better diagnostic in future firmware versions.
-
here's the file. config.g
The commented out one fails to be processed correctly even though a seemingly identical configuration is in effect on another line.
-
Here's a hex dump of part of your file:
The line that doesn't work has extra bytes E2, 80, AD between Y0: and 256. That sequence isn't valid UTF8.
-
@dc42 That'll do it. No idea how that got in there. Any ideas?
-
Can you remember what tool you used to write that line? Online configurator, DWC system files editor, or another editor (which one)?