Hi Tom,

I think it's an unnecessary loss of precision to use ints for the SCALE.

> the general public (non-emc?) would think ints when thinking counts per
> unit of measure

I use numbers like "21747792.6624" on some commercial robot controls I work 
on, using ints there would probably hurt especially with the kinematics 
calculations.

Since it already does floats, I see no reason to "dumb" it down  ;)

Regards,
Alex

----- Original Message ----- 
From: "tomp" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Thursday, December 04, 2008 11:06 AM
Subject: Re: [Emc-users] How can I calculate the INPUT_SCALE value?


> john,
>
> i wasnt aware that emc used floats ther
> it is unusual in cnc to do so, but thats an observation
>
> the 'nice number' refers to the numerator and denomimator
> which are outside if emc
> which are inside the driver
>
> unless these 2 are nice numbers ( ints divisible by 4 )
> then the home pulse delivered to control is longer than the real home 
> pulse
> this can lead to trouble in homes that do not coincide always.
> when both are ints divisble by 4, then the home pulse is same size as
> mfctr intended
>
> floating point has to do with emc
> nice numbers have to do with driver
>
> integer counts per user unit of measure might be an advantage to emc
> because most cnc manufacturers use integers there (Fanuc Heidenhain )
> and there are some that use floats (PMAC EMC )
>
> the general public (non-emc?) would think ints when thinking counts per
> unit of measure
>
> fwiw
> tomp
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to