Forum

Full Version: V3init bug-Radius Comp or Lathe R/D bleedthru?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pardon if this has already been discussed/found:

Several year setup: V2.5.10, Android 6.0, 10" Lenovo tablet, DIY'd MSP demo board
w/ quadrature FW.  XYZ 5um glass scales on a manual Vert. Mill.  Tach input running 
w/ 22ppr magnet ring/Hall effect sensor. Works great.

Now:  If I remember the V3 sequence:
a) Updated tablet to V3.23.04/build 2023-04-23.
b) 2.5 settings migrated/updated as expected.  (Vertical Mill Machine Type Confirmed)
c) Turned OFF Radius Compensation, Tool Height, Height Compensation dialogs.
d) Y, Z fine.
e) X indicated 2x travel (eg 1" travel indicated 2")  Checked X CPI, showed correct at 5080. Re-entered it manually.
f) Still 2x travel indicated in X.
g) Ran X-Auto Cal -- it detected/set correct 5080 CPI (5um glass scale).  But still 2x indicated.
h) Turned OFF Radius Compensation...problem "solved."  Turned RC back on ... 2x problem returned.
i) Put in non-zero RC settings...2x problem still present.
j) Turned OFF  RC dialog...problem solved.  Turned RC ON, Set x-CPI to 10160...X reading "correctly" 
k) Turned OFF RC dialog...set x-CPI back to correct 5080.  But did not "take" -- still 2x reading...could not remedy.
l)  Turned ON, then OFF  RC dialog.  No help. "Stuck" reading as 2x.  Reboot tablet and MSP.  Still stuck on 2x.
m) Turned ON RC, Tool Height, Height Comp dialogs.  THEN immediately, all three OFF.
n) X reading correctly (for now.)

(Have never tried toggling from Vmill to Lathe type and back to Vmill.)

So:  RC comp and/or Lathe Rad/Dia bleeding into Vmill mode?  CPI register getting an inopportune 1-bit shift?
Nice new interface, BTW.

(05-23-2023, 06:34 PM)abeabe Wrote: [ -> ]Pardon if this has already been discussed/found:

Several year setup: V2.5.10, Android 6.0, 10" Lenovo tablet, DIY'd MSP demo board
w/ quadrature FW.  XYZ 5um glass scales on a manual Vert. Mill.  Tach input running 
w/ 22ppr magnet ring/Hall effect sensor. Works great.

Now:  If I remember the V3 sequence:
a) Updated tablet to V3.23.04/build 2023-04-23.
b) 2.5 settings migrated/updated as expected.  (Vertical Mill Machine Type Confirmed)
c) Turned OFF Radius Compensation, Tool Height, Height Compensation dialogs.  (RC was left to default ON.)
d) Y, Z fine.
e) X indicated 2x travel (eg 1" travel indicated 2")  Checked X CPI, showed correct at 5080. Re-entered it manually.
f) Still 2x travel indicated in X.
g) Ran X-Auto Cal -- it detected/set correct 5080 CPI (5um glass scale).  But still 2x indicated.
h) Turned OFF Radius Compensation...problem "solved."  Turned RC back on ... 2x problem returned.
i) Put in non-zero RC settings...2x problem still present.
j) Turned OFF  RC dialog...problem solved.  Turned RC ON, Set x-CPI to 10160...X reading "correctly" 
k) Turned OFF RC dialog...set x-CPI back to correct 5080.  But did not "take" -- still 2x reading...could not remedy.
l)  Turned ON, then OFF  RC dialog.  No help. "Stuck" reading as 2x.  Reboot tablet and MSP.  Still stuck on 2x.
m) Turned ON RC, Tool Height, Height Comp dialogs.  THEN immediately, all three OFF.
n) X reading correctly (for now.)

(Have never tried toggling from Vmill to Lathe type and back to Vmill.)

So:  RC comp and/or Lathe Rad/Dia bleeding into Vmill mode?  CPI register getting an inopportune 1-bit shift?
Nice new interface, BTW.
(05-23-2023, 06:34 PM)abeabe Wrote: [ -> ]Pardon if this has already been discussed/found:

Several year setup: V2.5.10, Android 6.0, 10" Lenovo tablet, DIY'd MSP demo board
w/ quadrature FW.  XYZ 5um glass scales on a manual Vert. Mill.  Tach input running 
w/ 22ppr magnet ring/Hall effect sensor. Works great.

Now:  If I remember the V3 sequence:
a) Updated tablet to V3.23.04/build 2023-04-23.
b) 2.5 settings migrated/updated as expected.  (Vertical Mill Machine Type Confirmed)
c) Turned OFF Radius Compensation, Tool Height, Height Compensation dialogs.
d) Y, Z fine.
e) X indicated 2x travel (eg 1" travel indicated 2")  Checked X CPI, showed correct at 5080. Re-entered it manually.
f) Still 2x travel indicated in X.
g) Ran X-Auto Cal -- it detected/set correct 5080 CPI (5um glass scale).  But still 2x indicated.
h) Turned OFF Radius Compensation...problem "solved."  Turned RC back on ... 2x problem returned.
i) Put in non-zero RC settings...2x problem still present.
j) Turned OFF  RC dialog...problem solved.  Turned RC ON, Set x-CPI to 10160...X reading "correctly" 
k) Turned OFF RC dialog...set x-CPI back to correct 5080.  But did not "take" -- still 2x reading...could not remedy.
l)  Turned ON, then OFF  RC dialog.  No help. "Stuck" reading as 2x.  Reboot tablet and MSP.  Still stuck on 2x.
m) Turned ON RC, Tool Height, Height Comp dialogs.  THEN immediately, all three OFF.
n) X reading correctly (for now.)

(Have never tried toggling from Vmill to Lathe type and back to Vmill.)

So:  RC comp and/or Lathe Rad/Dia bleeding into Vmill mode?  CPI register getting an inopportune 1-bit shift?
Nice new interface, BTW.

(05-23-2023, 06:34 PM)abeabe Wrote: [ -> ]Pardon if this has already been discussed/found:

Several year setup: V2.5.10, Android 6.0, 10" Lenovo tablet, DIY'd MSP demo board
w/ quadrature FW.  XYZ 5um glass scales on a manual Vert. Mill.  Tach input running 
w/ 22ppr magnet ring/Hall effect sensor. Works great.

Now:  If I remember the V3 sequence:
a) Updated tablet to V3.23.04/build 2023-04-23.
b) 2.5 settings migrated/updated as expected.  (Vertical Mill Machine Type Confirmed)
c) Turned OFF Radius Compensation, Tool Height, Height Compensation dialogs.  (RC was left to default ON.)
d) Y, Z fine.
e) X indicated 2x travel (eg 1" travel indicated 2")  Checked X CPI, showed correct at 5080. Re-entered it manually.
f) Still 2x travel indicated in X.
g) Ran X-Auto Cal -- it detected/set correct 5080 CPI (5um glass scale).  But still 2x indicated.
h) Turned OFF Radius Compensation...problem "solved."  Turned RC back on ... 2x problem returned.
i) Put in non-zero RC settings...2x problem still present.
j) Turned OFF  RC dialog...problem solved.  Turned RC ON, Set x-CPI to 10160...X reading "correctly" 
k) Turned OFF RC dialog...set x-CPI back to correct 5080.  But did not "take" -- still 2x reading...could not remedy.
l)  Turned ON, then OFF  RC dialog.  No help. "Stuck" reading as 2x.  Reboot tablet and MSP.  Still stuck on 2x.
m) Turned ON RC, Tool Height, Height Comp dialogs.  THEN immediately, all three OFF.
n) X reading correctly (for now.)

(Have never tried toggling from Vmill to Lathe type and back to Vmill.)

So:  RC comp and/or Lathe Rad/Dia bleeding into Vmill mode?  CPI register getting an inopportune 1-bit shift?
Nice new interface, BTW.

Hi,
I followed your steps, but can't reproduce this. Tried switching back and forth between mill and lathe, upgraded from 2.5, and the readout is correct. (I use 5 micron scales, so my resolution is same as yours). 
This could be something stuck from V2.5, but I can't even think what the mechanism would be. Tool offset is an adder, not a multiplier. Radius/diameter is a "post processor" on the readout. It gets enabled or disabled in a completely different code path. I.e. there is no cross over between the two.

Tool height compensation is yet another code path that has nothing to do with the other two. 
I.e. something is cross wired in your installation, but I have no clue what it could be.

Do you have a way to record a short video of this behavior (no need to do all steps, just a simple demo of the behavior). May be I'm missing a variable.

Regards
Yuriy
The bug is in init or cleanup from Machine Type, not Radius Comp...

Have not used "Lathe", but changed to Lathe and saw DIA was set. Changed to Rad, and
return to Vmill, and 2x problem resolved.

This is repeatable...go to Lathe, set Dia, come back to Vmill, see 2x moves in X.
Rinse, repeat.

This should help in figuring it out  Cool
(05-23-2023, 10:09 PM)abeabe Wrote: [ -> ]The bug is in init or cleanup from Machine Type, not Radius Comp...

Have not used "Lathe", but changed to Lathe and saw DIA was set. Changed to Rad, and
return to Vmill, and 2x problem resolved.

This is repeatable...go to Lathe, set Dia, come back to Vmill, see 2x moves in X.
Rinse, repeat.

This should help in figuring it out  Cool

I'm confused Sad 
1. In "h" you wrote: "Turned OFF Radius Compensation...problem "solved."  Turned RC back on ... 2x problem returned.". Is this true?
2. Are you switching machine types in the same configuration, or are you switching between configurations?
For Q1: I think the Radius Comp Dialog observation is a red herring. The Machine Type is introducing the effect.
But yes, I observed as I wrote for h). But forget my very first post for now... can look only at Machine Type scenario...

For Q2: I was always in type Vmill until my previous post. I simply went to the General Settings, toggled to Lathe, back to
main view, saw "Dia" mode button set. Cleared that to "Rad", toggled back to Vertical Mill type, then mill X is fine (not 2x).

Repeat these steps again: set to Dia mode, return to Vmill, and mill X will exhibit 2x. I don't have a second "configuration," just have one Vert. Mill.
Maybe just doing the Dia/Rad button switching will reproduce the effect for you (? hope).