Gscreen - a GTK / Glade / Python based screen

More
13 years 8 months ago #30254 by newbynobi
@Chris,

I don't know, if the following is your matter:

Please take a loog at hal_souceview, wenn running code, the actual line will be highlighted.

First the forground / background color combinations are not very beautifull, because the contrast is very low.

And second: If the program i.e. ends with M2 at line 96, the last highlighted line will be around 87. I think we should consider this behavior as a bug.

Norbert

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

More
13 years 8 months ago #30255 by cmorley

newbynobi wrote: @Chris

This like origin shift, origin zero, tool index, coordinate shift are actual done with MDI commands.
it's reliably switching back to manual mode (jogging requires this) that is the problem.

..........

The fact that these things need to be done in MDI is wrong IMHO but that the moment that is the only way to do it.


I think this is done, because all these commands need all axis to be homed. That is the only possibility to be sure softlimits will be taken care off.

I got the index tool button on the manual page and do sensitize this button only if all_homed is true.
Before indexing I switch to MDI mode and after doing this I switch back to MANUAL mode.

May be that is also a solution for you.

Norbert

Norbert

I agree that homing must be done. I don't agree that it needs to be in MDI.
I can not switch back to manual after a tool change automatically.
Are you sure you have switched back? If you open the status program you can see what mode your in.
If you switch to manual mode too soon then the tool change doesn't happen.
I will have to look at your code carefully.

Chris M

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

More
13 years 8 months ago #30256 by newbynobi
Halo Chris,

Attention:
You are speeking about an complete tool change!
I just do an M61Q23!, not an tool change!

For me indexing a tool is not changing it.

A real tool change I am doing only in MDI ore AUTO mode at the moment.

Norbert

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

More
13 years 8 months ago #30258 by newbynobi
Chris,

I just noted that clicking on the header of Tool# and Pocket# in tooledit widget will change the order, sort them.

Would it be possible to make this also for the diameter column?

I have at the moment only 23 tools in my tool file, but on my working machine I have about 50 tools, so searching for a certain tool diameter, i.e. a 3,2 mm drill would be easier.

Norbert

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

More
13 years 8 months ago #30259 by cmorley

newbynobi wrote: @Chris,

I don't know, if the following is your matter:

Please take a loog at hal_souceview, wenn running code, the actual line will be highlighted.

First the forground / background color combinations are not very beautifull, because the contrast is very low.

And second: If the program i.e. ends with M2 at line 96, the last highlighted line will be around 87. I think we should consider this behavior as a bug.

Norbert

Can you post a sample of the program?
I know M2 is never highlighted, I bet it depends on the program.
I could add highlight color as selectable.

chris M

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

More
13 years 8 months ago #30261 by cmorley

newbynobi wrote: Halo Chris,

Attention:
You are speeking about an complete tool change!
I just do an M61Q23!, not an tool change!

For me indexing a tool is not changing it.

A real tool change I am doing only in MDI ore AUTO mode at the moment.

Norbert

Then we are not talking the same thing.
I am talking of a complete tool change.
When I did cnc work the tool setting and origin setting were done in manual mode so you could jog.
so this requires tool changing to set each tool or to touch off the origin with the right tool.
I ran a lathe but I would think a mill would be similar.

Chris M

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

Time to create page: 0.545 seconds
Powered by Kunena Forum