Hey all,
I've become familiar with Fanuc controls and am now trying to set up two new machines with Yasnac controls (one i80, one J300), and one major difference between these and Fanucs (0m, 18m, 0im, 18im, 31i) is tripping me up...
We're using G54-G59 work offsets, and everything is working great except in this one instance:
program is reset or finished on its own at M30
Handwheel is moved (to clear chips) and then program is started...
At this point we are losing our position... I'm trying to understand what I'm doing wrong to ensure a program started from the beginning (at any point and after any manual moves) will run in the correct position... There appear to be differences between how Fanuc and Yasnac handle G52 local coordinate system, but I prefer (and in practice we don't) to not use G92 G52 at all...
If i watch the "Run|Command" screen after resetting a program, moving the handwheel, and restarting the program i can see the position data on that screen stay fixed until reset is pressed again, and the problem never appears when reset is pressed before cycle start (after moving)...
I need to find a way to clear this programmatically, in my tool change macro ideally... here are some code snippets of what works fine in fanucs:
Code:
O9020(M6 TOOL CHANGE)
T#20
G0G80G91M9
#148=-1
G28Z0M6T#20
#148=#20
M58
G49G40
G90
M99
and here is my Yasnac Tool change, adding the G52 didn't help
Code:
%
O9020(M6 TOOL CHANGE)
T#20
G00 G80 G49 G90 Z0 M9
(G00 G80 G49 G52 G90 Z0 M9)
#148=-1
G91G28Z0M6
#148=#20
G90G49G40
M99
both are called with simple programs like:
Code:
M6T2
M1(TOOL2 3. FACE MILL)
M3S3500
G54X0.2876Y-3.1461
G43Z1.H2
/M9
T6
G0Z0
(MAKING CHIPS)
G0Z1.0
M6T2
M1(TOOL2 3. FACE MILL)
M3S3500
G54X0.2876Y-3.1461
G43Z1.H2
/M8
T3
G0Z0
(MAKING CHIPS)
M6T3
M1(TOOL3 .500 EM)
M3S14000
G54X0.2876Y-3.1461
G43Z1.H3
/M8
T2
G0Z0
(MAKING CHIPS)
G0Z1.0
M6T2
M30
any help greatly appreciated
- gwarble