Hi,

This is the problem line in the servo file

setp  hm2_[HOSTMOT2](BOARD).0.encoder.00.scale  2000

this line does not use the .ini file input scale

Chris had the fix below

Maybe a note on this or change the hm2 servo.hal file
to use the ini file or you guys will answer this question
more times.
I personally like the scale in the .ini file with all the
infromation about each axis in one place


Thanks for everyones help


Terry




On Sat May 30 21:53 , Chris Morley <[email protected]> sent:

>
>
>
>
>
>
>
>> this is what I found
>> 
>> setp  hm2_[HOSTMOT2](BOARD).0.encoder.00.scale  2000
>> 
>> that was in the hm2-servo.hal file
>> is that overriding the number I put in the .ini file?
>
>I think so. try:
>setp  hm2_[HOSTMOT2](BOARD).0.encoder.00.scale [AXIS_NUMBER]INPUT_SCALE
>change 'NUMBER' to the proper axis number
>The scale number you put in the .ini file is under INPUT_SCALE right?
>
>> 
>> Terry
>> 
>> 
>> 
>> On Sat May 30 20:10 , Chris Morley <[email protected]> sent:
>> 
>> >
>> >
>> >
>> >
>> >
>> >are you using encode.0.count or encoder.0.position ?
>> >position is what you want.
>> >just a shot in the dark.
>> >and is
>> >bla bla bla.encoder.0.scale [AXIS_X]INPUT_SCALE
>> >or something like that in there somewhere?
>> >
>> >> From: [email protected]
>> >> To: [email protected]
>> >> Date: Sat, 30 May 2009 17:34:52 -0700
>> >> Subject: [Emc-users] hm2 encoders
>> >> 
>> >> 
>> >> Hi,
>> >> 
>> >> I tried to turn one of my screws and watch the screen-
>> >> the DRO is much,much greater than the amount the machine
>> >> moved.
>> >> 
>> >> my .ini file for each axis was copied and pasted
>> >> from my old m5i20 .ini file so I doubt that is the problem
>> >> 
>> >> Is there somewhere else I could be getting the wrong
>> >> encoder count from?
>> >> 
>> >> Later
>> >> 
>> >> Terry
>> >> 
>> >> 
>> >> 
>> >> 
>> >> ---- Msg sent via CableONE.net MyMail - http://www.cableone.net
>> >> ------------------------------------------------------------------------------
>> >> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
>> >> is a gathering of tech-side developers & brand creativity professionals. 
>> >> Meet
>> >> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
>> >> iPhoneDevCamp as they present alongside digital heavyweights like 
>> >> Barbarian 
>> >> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
>> >> _______________________________________________
>> >> Emc-users mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/emc-users
>> >Create a cool, new character for your Windows Liveā„¢ Messenger.  Check it out
>> >
>> 
>> ---- Msg sent via CableONE.net MyMail - http://www.cableone.net
>Help keep personal info safe.  Get Internet Explorer 8 today!
>

---- Msg sent via CableONE.net MyMail - http://www.cableone.net
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to