If you use Servos, then you need to swap both inputscale and output 
scale signs to reverse motor direction or else the motor command will 
fight the encoder feedback.     If your motor is running backwards to 
the encoder, you can either change the wiring or change the sign of 
either the inputscale or the outputscale to get them into sycn.

If you use Steppers, you normally don't have encoder feedback, so no 
such issue.

I think that Aram is using servos since he has a Mesa servo interface board.

Dave


On 7/20/2014 9:39 AM, Gene Heskett wrote:
> On Sunday 20 July 2014 07:14:27 Viesturs Lācis did opine
> And Gene did reply:
>> 2014-07-20 6:28 GMT+03:00 a k <pccncmach...@gmail.com>:
>>> in 2.5.4 machine can use only positive number for INPUT_SCALE
>>> i am right here?
>> No, you are not.
>> The trick is in keeping the same sign for "input scale" AND "output
>> scale". If you add "minus" in front of input, you should do the same
>> for output as well.
>>
>> Viesturs
> No reason to Viesturs. Neither of my machines follow that convention 100%.
> I use OUTPUT_SCALE's - sign to reverse the direction of the motor if I
> managed to wire it (a stepper) wrong, and dri direction is (I think) made
> to match by the INPUT_SCALE.  But I don't recall having to do that so far.
> My lathe doesn't even have an INPUT_SCALE, and the neither has the mill
> for its last 3 or 4 configs. All configs now in use are using only SCALE,
> no in or out specified.
>
>> -----------------------------------------------------------------------
>> ------- Want fast and easy access to all the code in your enterprise?
>> Index and search up to 200,000 lines of code with a free copy of Black
>> Duck Code Sight - the same software that powers the world's largest
>> code search on Ohloh, the Black Duck Open Hub! Try it now.
>> http://p.sf.net/sfu/bds
>> _______________________________________________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> Cheers, Gene Heskett

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to