On Nov 14 2012 1:07 AM, Chris Morley wrote:
> Working on Gscreen and noticed odd behaviour when I had
> A G21 (metric) program with a imperial readout and did a
> 'touch-off' ('origin offset' in Gscreen speak)
> Obviously not converting properly on G20 vrs G21
>
> So I went to AXIS to check it out there and didn't get what I 
> expected.
> tested in master
>
> in G20
> I was using sim/axis so an imperial machine.
> I touched off  Y at 5 while in imperial DRO mode
> so 5 inches from relative origin.
> it displayed 5
>
> then toggled the DRO to metric.
> I expected 5 inches converted to metric so 127mm
> Instead I got 3225mm
>
> I then again touched off Y at 5 now in metric DRO
> and got 127 not 5
> toggle DRO to imperial got  .1969
>
> then I G21 in MDI
> still in metric I touched of 5 in metric mode
> got 127
> toggled to imperial got .1969
>
> This doesn't seem right to me.
> I would think toggling DRO between imperial and metric
> would display the same physical distance just in two
> different scales. It seems this is not the case.
>
> In fact in the case of the imperial machine with a metric
> DRO the touch off dialogue says 5mm but after, the readout
> says 127
>
> Am I missing something?

The pattern I see is that the numbers are being converted twice on the 
first go:

   127 / 25.4 = 5 / 25.4 = 0.19685

So this is likely a simple thing to track down and fix.

   EBo --

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to