great
i did not know i was mixing 2 KMVAR things
G32 sync spindle to Z axis lathe
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: G32 sync spindle to Z axis lathe
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
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.
Tom Kerekes
Dynomotion, Inc.
Re: G32 sync spindle to Z axis lathe
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!?
this is a lot of learning how all this ties together
everyone else already knows this stuff or what!?