Error in tool_offsetview.py

More
2 years 1 month ago #309862 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
Hello Cmorley

There is a small problem with the spindle lift function during pause.

If you pause the program with the "spindle lift" function and then press stop, the spindle locks and you can't start it, even in manual mode.

1. start the program
2. pause the program (with the "spindle lift" function enabled)
3. stop the program
4. after these actions you can't start the spindle normally.

The only way to start the spindle is either to restart qtdragon or this combination:
1. start the program
2. press "spindle lift"
3. pause the program
4. resume the program

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #309876 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Try this fix:
Code:
    def dialog_return(self, w, message):         rtn = message.get('RETURN')         name = message.get('NAME')         plate_code = bool(message.get('ID') == '_touchplate_')         sensor_code = bool(message.get('ID') == '_toolsensor_')         wait_code = bool(message.get('ID') == '_wait_resume_')         lower_code = bool(message.get('ID') == '_wait_to_lower_')         unhome_code = bool(message.get('ID') == '_unhome_')         overwrite = bool(message.get('ID') == '_overwrite_')         if plate_code and name == 'MESSAGE' and rtn is True:             self.touchoff('touchplate')         elif sensor_code and name == 'MESSAGE' and rtn is True:             self.touchoff('sensor')         elif wait_code and name == 'MESSAGE':             self.lowerSpindle()         elif unhome_code and name == 'MESSAGE' and rtn is True:             ACTION.SET_MACHINE_UNHOMED(-1)         elif overwrite and name == 'MESSAGE':             if rtn is True:                 self.do_file_copy()             else:                 self.add_status(_translate("HandlerClass","File not copied"), CRITICAL)         elif lower_code and name == 'MESSAGE':             self.h['eoffset-spindle-count'] = 0             self.h['spindle-inhibit'] = False # add this line <------             self.add_status(_translate("HandlerClass",'Spindle lowered after machine stopped'))
The following user(s) said Thank You: MarkoPolo

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #309884 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
Yes, now it works fine.

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #310735 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
Hi Cmorley

Since recently, the "DEFAULT_LINEAR_VELOCITY" and "DEFAULT_ANGULAR_VELOCITY" in ini settings have not been working in qtdragon master.

Whatever value you enter, after starting qtdragon it is 15 and 360 respectively

I also have a slightly older version of master 2.10.0-pre0-3309, and it works fine in this version

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #310812 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Sorry for the delay - busy in life :)
I pushed a fix for default jog rates to master.
Thank you for the report.
The following user(s) said Thank You: tommylight, MarkoPolo

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #310820 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
DEFAULT_LINEAR_VELOCITY now works correctly.

DEFAULT_ANGULAR_VELOCITY does not work yet.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.149 seconds
Powered by Kunena Forum