If you are using "encoder" you could set latch-falling in one direction
and latch-rising in the other direction. I'm pretty sure that would work,
but have not tested it, since I'm using a hardware quadrature decoder.

regards,

Mark

gene heskett <[email protected]> wrote:

        I use both the std 8mm prox sensor, and the ATS-667 in my machines to 
        generate index pulses, detecting in the case of the ATS 667, an edge 
        whose timing vs the spindle or axis is fixed at the edge selected in 
hal.
        
        This in turn causes a several degree error in the index pulse depending 
        on which direction the axis or spindle is turning at the instant.
        
        I think this is one of the reasons I get quite sloppy threads when 
rigid 
        tapping. The vertical motion moving back out of the hole is slightly 
out 
        of time, causing the tap to cut on the up stroke. My now ancient 
thinker 
        can't come up with a method to switch on the edge according to the 
        direction signal so that the edge detected is always the 2nd edge that 
        comes out of an ATS-667 that corresponds to the passing screw head that 
        triggers the index crossing the centerline of the ATS-667. This problem 
        exists also in the lathe since I'm using 3 ATS-667's for A/B encoder 
and 
        index. In both lathe and go704, the spindle can turn backwards at the 
        same speed it fwds in.
        
        Can someone guide me there?
        
        
        Another subject, unrelated but the backplot cannot show me a thread as 
        its forming because the backplot update isn't syncronized with the A or 
        B axis. If the back plot update could be sync'd to only update the 
        backplot in time with the index pulse selected in hal.
        
        How well that would work when the A or B axis is spinning at 600 revs 
        might be interesting. Because it does spin that fast when carving one 
of 
        my vice screws.  AS is, what I see in the backplot is it slowly drawing 
        the max OD of the screw. The actual buttress threads it is carving are 
        invisible. I'm not a python coder so I've no clue if that is even 
practical.
        
        Thanks everybody.
        
        Cheers, Gene Heskett, CET.
        -- 
        "There are four boxes to be used in defense of liberty:
          soap, ballot, jury, and ammo. Please use in that order."
        -Ed Howdershelt (Author, 1940)
        If we desire respect for the law, we must first make the law 
respectable.
          - Louis D. Brandeis
        Don't poison our oceans, interdict drugs at the src.
        
        _______________________________________________
        Emc-developers mailing list
        [email protected]
        https://lists.sourceforge.net/lists/listinfo/emc-developers


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to