Error calling MDI for manual tool change

More
3 years 1 week ago #283439 by Guglielmi
Hello,
I build my own hmi and generally it works. Now I have a basic issue but I'm not able to understand why: 
 

Attachment not found



Positions of X,Y,Z are 10,10,50 and limits for X is min=6 and max=57.
Offset tool I try to load is all zero

When I try to call M6 T1 I get error because the movement goes out of minimum limit for Z.
Can you tell me why?
In my opinion it makes no sense.

G54 offset are all zero..

Help Please.
Bye
Andrea

Please Log in to join the conversation.

More
3 years 1 week ago #283441 by Aciera
In the [EMCIO] section of your .ini file do you have a tool change position set?

TOOL_CHANGE_POSITION = ...

Please Log in to join the conversation.

More
3 years 1 week ago #283442 by tommylight

G54 offset are all zero..
What are G53 values?
If you set G54 near a machine limit, it can not move over that limit if you just set G54 to 0.

Please Log in to join the conversation.

More
3 years 1 week ago #283447 by Guglielmi

G54 offset are all zero..

What are G53 values?
If you set G54 near a machine limit, it can not move over that limit if you just set G54 to 0.
 

Attachment not found



Basically G53 values are shown in the picture right? They are inside the valide range

Please Log in to join the conversation.

More
3 years 1 week ago #283449 by Guglielmi

In the [EMCIO] section of your .ini file do you have a tool change position set?

TOOL_CHANGE_POSITION = ...
That's the reason!!
Removing it I'm able to go ahead.. change tool and so on.
Positions where 0 0 0 so Z wants to go down outside the range that is 6mm.
I want to remove this command because the Z movement, the only I want while working a gcode, is inserted already in the iso by
the post processor I'm using.
Thanks all guys!
Bye
Andrea

Please Log in to join the conversation.

More
3 years 1 week ago #283458 by tommylight
Z motion should be on the negative side, seems you have it positive.
What are the max and min values for the Z axis in the ini file?
Max should be near or 0, min should be -100 or -200 or whatever your Z axis can do in mm.

Please Log in to join the conversation.

More
3 years 1 week ago #283460 by Guglielmi
My Z ha limits: min = 6, max = 57
The direction is correct, became negative going down.
But the zero is down not up.. 
I think it should not be a problem right?
I recreated the gui but with old RPI I was using in this way for long time..

Please Log in to join the conversation.

More
3 years 1 week ago #283467 by tommylight
If it works for you, it is OK.
Almost always on mills the Z 0 is at the top and goes down in negative direction, that is how most CAM software will output G code.

Please Log in to join the conversation.

Time to create page: 0.291 seconds
Powered by Kunena Forum