buildbotics / bbctrl-firmware

Buildbotics CNC Controller Firmware
https://buildbotics.com/
Other
67 stars 24 forks source link

LCD and Web do not agree on offset position #318

Open jcoffland opened 2 years ago

jcoffland commented 2 years ago

Is this still a problem?

Charles Allen wrote:

As always really appreciate the great support. Got the code for the Tool Table and ATC fully working, will send you video in separate email. I’ll try the new firmware as well later today or next week. With respect to the display’s matching I’m 99.9% confident its not right.

On the Web Display it shows (see attached image)

Work position = Absolute – Offset (See Screen Shot)

Notice under the state column it shows this as “Over” which its not and I’ve been ignoring the error.

Per your email below you mention that the controller display should have “offset + position = absolute” which if solved for offset would yield the equation above.

On the Controller Display (see attached image)

Work position = Absolute + Offset (See Screen Shot). The only way to arrive at the numbers displayed on the controller is to add the Absolute plus the offset. This is not consistent with the equation you sent. The only equation that would result in this display is Work Position – Offset = Absolute, not “offset + position = absolute”. I’m guessing I get the “Over” error in the state column because the ATC code would bring the tool over based on the Work position used by the controller display, which is likely used for the state column but not in other places. Probably a + vs – used in some part of the code.

Also I’m running firmware bbctrl-0.4.15-rc9.tar.bz2

cwallen93117 commented 2 years ago

Will need to check. I know movements in machine coordinates aren't getting picked up in preview.