Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax chain after measuring chain length in calibration process #787

Open
guidobender opened this issue Jan 22, 2019 · 4 comments
Open

Relax chain after measuring chain length in calibration process #787

guidobender opened this issue Jan 22, 2019 · 4 comments

Comments

@guidobender
Copy link

I noticed that the 1.26 version does not give an option to relax chain tension again after measuring the chain length. I would suggest that either:
a) the chain is tensioned, chain length measured, and the chain automatically relaxed again
or b) a button appears that allows to relax the chain length manually

Currently the calibration jumps to the next step and no option exists to remove the chain from the right motor without overcoming the tension.

@BarbourSmith
Copy link
Member

a) the chain is tensioned, chain length measured, and the chain automatically relaxed again

I am 99.99% sure that this is the behavior currently.

The function to read the spacing between the motors goes

    def readMotorSpacing(self, dist):
        dist = dist - 2*6.35                                #subtract off the extra two links

        print "Read motor spacing: " + str(dist)
        self.data.config.set('Maslow Settings', 'motorSpacingX', str(dist))
        
        #put some slack in the chain
        self.data.gcode_queue.put("G91 ")
        self.data.gcode_queue.put("B09 L10 ")
        self.data.gcode_queue.put("G90 ")
        
        self.readyToMoveOn()

And the way that should work is that G91 switches the machine to relative mode, B09 L10 should add 10mm of slack and G90 switches back to absolute mode.

Can you confirm that this isn't working right, and grab a copy of your log file when it doesn't work so I can dig into what is going on?

@guidobender
Copy link
Author

I can confirm that this was not working. My chain remained under tension after the measurement step.
Where do I find the log file? My maslow box is shut down right now, but I can get the file out to you tomorrow night.

@guidobender
Copy link
Author

Here is the log file that I found. Looks to me like the one you were asking for. Let me know if that helps.
log.txt

@GeroBH
Copy link
Contributor

GeroBH commented Jan 24, 2019

To save some time searching:
Line 97736 - 97756 of 157027
The B09 L10 is there. Did the warning "Unable to find valid machine position for chain lengths 2885.65" make it skip the command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants