G32 sync spindle to Z axis lathe

Moderators: TomKerekes, dynomotion

turbothis
Posts: 325
Joined: Fri Mar 15, 2019 4:07 pm
Location: southern oregon

Re: G32 sync spindle to Z axis lathe

Post by turbothis » Wed Aug 14, 2019 3:58 pm

great
i did not know i was mixing 2 KMVAR things

User avatar
TomKerekes
Posts: 2677
Joined: Mon Dec 04, 2017 1:49 am

Re: G32 sync spindle to Z axis lathe

Post by TomKerekes » Wed Aug 14, 2019 4:48 pm

KMVAR should be set to the Var assigned to the KMotionCNC S Action.
Previously I noticed in a screen shot it was set to 113 unless you changed it.
PC_COMM_CSS_S is defined in PC-DSP.h as 113
So you probably want KMVAR defined as PC_COMM_CSS_S
Previously KMVAR was probably incorrectly defined to 1 in places where it wasn't used.

I think we are off by a decimal place in the FACTOR:
8192 * 26/18 = 11832.8889
Regards,

Tom Kerekes
Dynomotion, Inc.

turbothis
Posts: 325
Joined: Fri Mar 15, 2019 4:07 pm
Location: southern oregon

Re: G32 sync spindle to Z axis lathe

Post by turbothis » Wed Aug 14, 2019 4:54 pm

ok great got it back working with all the new info
this is a lot of learning how all this ties together
everyone else already knows this stuff or what!?

Post Reply