Results 1 to 3 of 3

Thread: Manual.doc vs. .ini confusion

  1. #1
    Registered
    Join Date
    Feb 2005
    Location
    Slovenia
    Posts
    23
    Downloads
    0
    Uploads
    0

    Manual.doc vs. .ini confusion

    Hi

    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
    Attached Thumbnails Attached Thumbnails Manual.doc  vs.   .ini    confusion-image063.jpg  


  2. #2
    Registered dkowalcz's Avatar
    Join Date
    Apr 2003
    Location
    USA
    Posts
    118
    Downloads
    0
    Uploads
    0
    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.


  3. #3
    Registered
    Join Date
    Feb 2005
    Location
    Slovenia
    Posts
    23
    Downloads
    0
    Uploads
    0
    Hi

    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.

    thanks


Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.