On 05/08/2010 11:45 PM, Donnie Timmons wrote:
> When using a 5I20 and a 7i33 with encoder feedback. Witch parameter control
> the scaling of encoder counts to units in my case inches. "INPUT_SCALE =
> 81920" from the ini file or "setp  hm2_[HOSTMOT2](BOARD).0.encoder.02.scale
> 2000" from the hal file.
>
>
>
> The 81920 is from the example hm2_servo ini file is there some reason that
> it's 81920?  2000 counts per inch seams per low resolution.
>    

It sounds like you have an old version of the hm2-servo config.

To simplify a bit, the way the config files work is that the HAL file 
*does* tell emc2 what the configuration is, and the HAL file *may* use 
values from the INI file when specifying the configuration.  (This is a 
simplification; there are some INI values that are used by emc2 
directly, but [AXIS_*]INPUT_SCALE is not one of them.)

There used to be a bug in the hm2-servo HAL file that made it so it 
ignored the INPUT_SCALE value from the INI file.  That bug was fixed in 
May 2009, in this commit: 
<http://git.linuxcnc.org/gitweb?p=emc2.git;a=commitdiff;h=7c08831c1e977b45451abb6e18cf5b385a761862;hp=195043c823189ed7c88c90693385a071efcb592d>

The short answer is: grab a newer copy of the hm2-servo config, such as 
the one in the just-release 2.4.0.

-- 
Sebastian Kuzminsky


------------------------------------------------------------------------------

_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to