Manual.doc vs. .ini confusion
I want to make sure my Turbocnc configuration is not losing steps on changing direction.
My stepper driver steps on transition from high(5V) to low(0V).
There is some confusion between Turbocnc4.0 manual document and actual Turbocnc.ini file:
manual says IS-ACTIVE-HIGH=TRUE should be set, but in .ini file there is no such category, only IS-ACTIVE-LOW category. So i suppose these two are logical opposites, so i must set my IS-ACTIVE-LOW=FALSE to achieve the same thing?
And another category LOW-IS-POSITIVE - it is not about normal electric state, but it refers to direction in cartesian coordiante sistem ? So it doesnt matter what the value of LOW-IS-POSITIVE is, only IS-ACTIVE-LOW is important to make sure i am not loosing steps?
As picture from manual shows, DIRECTION CHANGE must take place before STEP transition form high to low.
Is my configuration set correctly? Why is there a discrepancy between manual document and actual .ini file?
thanks for help
For a high --> low step transition, you want IsActiveLow to be True.
Interesting that the manual is backwards on this point - it's been that way since 3.0. I'll make sure that gets fixed. Sounds like you'll want to doublecheck with a meter to be sure...
LowIsPositive refers to the direction pin state corresponding to the "+" direction on that axis, so yes, it's the cartesian coordinate system.
Good luck! I have some beta code for 4.02 you can try as well if you get no progress from tweaking the pin state settings.
So if i want to accomplish two things: tell Turbocnc to make steps on 5V to 0V transition and to make direction changes before next step, then all i need to do is to set IsActiveLow=True.
That means till now i had wrong setup.
I encouraged myself and posted a question, because i am trying to write a program for avr to make stepper motor work in closed loop mode. For that i need to make sure i am not loosing steps on PC side.