G54 G55 G53 Problem

More
2 years 9 months ago #290350 by CNC_ANDI
G54 G55 G53 Problem was created by CNC_ANDI
Hello, yesterday I worked with 2 WCS (G54,G55) for the first time. This has all worked out so far. After the milling work, I switched off the machine as normal.

Today I turned on the machine and started the homing process. When the machine finished home, I ran an M6 T10 to get tool 10 out of the changer.

However, the machine drove to a completely different place than where it would normally have to go. I also noticed that the G53 was overwritten. The G53 coordinates did not match the current position.

And the coordinates G53 and G54 were the same! which actually can't be the case because I didn't reset the last G54.

When I only work with a G54, which has only been the case so far, I haven't had such a problem. So I suspect that it is somehow related to the G55.

Please Log in to join the conversation.

More
2 years 9 months ago #290355 by Aciera
Replied by Aciera on topic G54 G55 G53 Problem
Are you using a custom M6 remap?

Please Log in to join the conversation.

More
2 years 9 months ago #290393 by CNC_ANDI
Replied by CNC_ANDI on topic G54 G55 G53 Problem
Yes using the M6 subroutine from Probe_basic.

I checked the file but i can't anything with g55 only g53

Please Log in to join the conversation.

More
2 years 9 months ago #290408 by Aciera
Replied by Aciera on topic G54 G55 G53 Problem
I'm not familiar with ProbeBasic but it would seem a good idea to a look at all the offset values before a tool change and after. That may give you an indication of what is happening.
I don't know if ProbeBasic offers an overview of offset values like Gmoccapy does.

Please Log in to join the conversation.

More
2 years 9 months ago #290504 by CNC_ANDI
Replied by CNC_ANDI on topic G54 G55 G53 Problem
@Lcvette any idea for this Problem

Please Log in to join the conversation.

More
2 years 9 months ago #290538 by smc.collins
Replied by smc.collins on topic G54 G55 G53 Problem
use G28.1 to set a absolute position for the machine, and a g28 call to park there for a tool change.

Please Log in to join the conversation.

More
2 years 9 months ago #290581 by CNC_ANDI
Replied by CNC_ANDI on topic G54 G55 G53 Problem
Hi thanks but i can not use the park/home position for toolchange...

for the toolchange i have to move XYZ

Please Log in to join the conversation.

More
2 years 9 months ago #290665 by robh
Replied by robh on topic G54 G55 G53 Problem
hi
depends how much out of postion you mean here, is it a small ammount or reset to zero?

check the tool table entry, more so with a text editor, and check you dont have a X,Y etc offset entered, more than once i have moved an axis and forgot and just done a tool touch off only to have a X or Y offset included in my tool

Please Log in to join the conversation.

More
2 years 9 months ago #290736 by CNC_ANDI
Replied by CNC_ANDI on topic G54 G55 G53 Problem
i don´t have a xy offset in my tooltable
Code:
T1 P12 D+8.000000 Z+32.674175 ; 8mm fasenfraeser T3 P0 D+3.000000 Z+21.191675 ; 3mm 30 grad fasenfraeser T4 P3 D+6.000000 Z+29.655925 ; 6mm 45 grad fasenfraeser T9 P7 D+6.000000 Z+26.060675 ; 6mm 2-schneider alu T10 P6 D+7.930000 Z+33.056175 ; 8mm 2-schneider alu T11 P4 D+9.950000 Z+37.674175 ; 10mm 2-schneider alu 22er schneide T13 P0 D+8.000000 Z+35.675176 ; 8mm 3-schneider alu T14 P0 D+10.000000 Z+39.489425 ; 10mm 3-schneider alu T17 P8 D+4.000000 Z+25.913675 ; 4mm 3-schneider alu T18 P9 D+2.000000 Z+14.188675 ; 2mm 2-schneider alu T19 P0 D+1.500000 Z+19.209175 ; 1.5mm 3-Schneider ALU T23 P0 D+50.000000 Z+23.419176 ; 50mm Planfraeser Stahl T26 P2 D+5.000000 Z+28.531925 ; 5mm nc-bohrer T27 P0 D+6.000000 Z+33.902676 ; 6mm bohrer T29 P0 D+8.000000 Z+42.298176 ; 8mm bohrer T31 P0 D+3.180000 ; 3mm Holzfraeser T35 P0 D+10.000000 Z+23.616675 ; 10mm Planfraeser Stahl T36 P0 D+6.000000 Z+22.160675 ; 6mm 3-Schneider Stahl T39 P0 D+10.000000 ; 25mm Kegelsenker T40 P10 D+4.000000 Z+46.724175 ; 4mm Kugelfraeser Alu T43 P0 D+6.000000 Z+18.728175 ; 2mm Radienfraeser ALU T44 P0 D+3.000000 Z+23.690175 ; 3mm 3-Schneider Stahl T45 P0 D+50.000000 Z+15.086425 ; 50mm Planfraeser ALU T46 P1 D+63.000000 Z+15.604675 ; 63mm Planfraeser ALU T47 P0 D+40.000000 Z+30.311425 ; 40mm Planfraeser alu T52 P0 D+6.000000 Z+52.375926 ; 6mm Reibahle H7 T53 P0 D+5.800000 Z+56.332676 ; 5.8mm HSS Bohrer T99 P99 D+2.950000 Z+46.511675 ; 3d-probe

my homeposition is at left front
my changer is on the back side in the middle

i have a gantry machine.

Please Log in to join the conversation.

More
2 years 9 months ago #291285 by smc.collins
Replied by smc.collins on topic G54 G55 G53 Problem
typically a g28 is where you move the machine for a tool change " IE in a lathe of bed mill you get stuff out of the way for the tool change.

What you need to do is write a macro for a g53 absolute move. you also need to issue a Mcode or some other kind of command with your tool change program to call the machine to the tool change position. this is just a brief outline of how that might look. 

lets say you had a hal component for you tool changer

The machine calls a m6 tool change, the tool changer hal component issues a M code " machine into tool change position" , then when the machine is in position it sends a Mcode of some variety out, the hal component then finishes the tool change and notifys the hal for the machine that it can go back to g54 mode, of you issue a hal command for a g54 or ensure that the post processor does. In fact the post processor needs to issue a g54 and a g43 after the tool change to ensure the Offset for the tool are called up. 

so in a flow chart kinda way 

M6 t01 > hal.component> output to Mcode macro for gantry position> tool change hal compponent performs tool change> tool change is reported as finished> post processor / or additional macro issue g54 g43 etc gcode to call offset and put machine back into relative move. 

O1000 (Custom Macro with Tool Change)

(Initialize variables)
#<z_position> = 10.0 ; Replace with your desired Z position
#<x_position> = 20.0 ; Replace with your desired X position
#<y_position> = 30.0 ; Replace with your desired Y position
#<c_position> = 45.0 ; Replace with your desired C position

(Triggered by tool change)
M6 ; Wait for tool change to finish

(Tool change completed, set absolute positions)
G53 Z#<z_position> ; Set absolute Z position
G53 X#<x_position> ; Set absolute X position
G53 Y#<y_position> ; Set absolute Y position
G53 C#<c_position> ; Set absolute C position

M2 ; End of program

Please Log in to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum