I did change that to positive, and the only thing different was it was 
reading backwards.



On 11/24/2015 2:55 PM, Todd Zuercher wrote:
> What happens if you change your encoder scale from:
> ENCODER_SCALE = -5000
> to:
> ENCODER_SCALE = 5000
>
> If this makes it behave better (but maybe backwards) you may want to switch 
> the wiring of your encoder feed back to switch direction.
>
> ----- Original Message -----
> From: r...@superiorroll.com
> To: "Emc Users" <emc-users@lists.sourceforge.net>
> Sent: Tuesday, November 24, 2015 2:23:54 PM
> Subject: [Emc-users] Trouble with 4th axis
>
> Hello guys, working on my 4th axis, and I am starting to feel quite
> lost,
>   
>   I was figuring that this would be the easier of all the other work I
> have done with this stuff, due to working with a brand spanking new
> servo and drive, but has turned into a nightmare for me.
>   
>   I have the axis running, I can control it with my hand-wheel MPG, it
> homes ( if that's what you want to call it ) and and after tuning the
> servo to the drive, I don't think there would be any tuning involved on
> the linuxcnc side, if the Following Error was even understandable.
>   
>   For starters, when I start up linuxcnc, and I press the "home all"
> button, the rotary goes through the motions of the following homing
> sequence in the link using inserted values on the image
>
>   http://postimg.org/image/yxzcdwldx/
>   
>   
>   And does set the "0" position, but then it takes off at max velocity,
> and stops at some random value ( 1255, 159, 1800 ) always in the
> positive direction, and not repeatable, and then says that it is homed (
> No clue ).
>   
>   As for the following error, pretty much it is telling me that whatever
> the DRO is displaying, it is telling me that the following error is the
> inverse of the display, if it says that I am at 259.354 degrees, I will
> have a following error of -259.354.  I tried to make a few G01
> commands, and it does begin movement if I give it a position to go to,
> but it does not stop at the dimension programmed, and in the DTG column,
> it is just displaying whatever the "actual" position is not a distance
> to go.
>
>
> Here are my config details from my hal file and my ini,
> http://pastebin.com/WT8fMkvY
>   
>   Any thoughts of help will be greatly appreciated
>   --
>   
>   Thanks
>   
>   
>   Rick Lair
>   Superior Roll & Turning LLC
>   399 East Center Street
>   Petersburg MI, 49270
>   PH: 734-279-1831
>   FAX: 734-279-1166
>   www.superiorroll.com
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

-- 

Thanks


Rick Lair
Superior Roll & Turning LLC
399 East Center Street
Petersburg MI, 49270
PH: 734-279-1831
FAX: 734-279-1166
www.superiorroll.com


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to