Hallå grabbar, jag råkade vara borta 12 timmar o här är det fullt
Vad gäller mer kod så räcker det o blir över. Swemill fyllde min pc men fortsätt gärna att diskutera mer
om vad som är vad runt Fanuc 0.
Så tack tkb, säter, swemill, cinc,
Kanske dubblerar jag men i min är G28 som nämdes till utgångspunkt för byta verktyg, G29 är att återgång till G54 ursprung ?? -där är jag osäker!
Jag fick ett tipps från cnczone om att man kan göra en egen ATC rörelse om den ordinarie krånglar, vilket jag
förstått att många maskiner gör. De snackade om Macro programering. Jag lägger in några så får fler nytta av det.
Olika tipps mellan varje ........rad
...........................................
%
O7001
N1G17G80G40
G54
S3000M3
G90G0X12.7Y-5.6
G43Z80.H2
M8
Z5.
G81G98X12.7Y-5.6Z-1.R5.F200.
G80
M9T10
G91G28Z0.
M5
M6
N2G17G80
G54
S3000M3
G90G0X12.7Y-5.6
G43Z80.H10
M8
..........................................
It does not hurt to have a macro. It can actually help in many ways. If you happen to know what program number the tool change macro was then
I can tell you what parameter to set in order to call that program with an M6 code.
Here are the parameter settings for calling custom macros.
Parameters 230-239 to call programs 9020-9029
Parameters 240-242 to call programs 9001-9003
So let’s assume for example purposes you used program 9020 for your tool change macro. You would need to set parameter 230=6. Now create a program number 9020 and below is the basic code that will do a tool change for you.
O9020(TOOL CHANGE PROGRAM)
#3=#4003—(sets #3 equal to modal G90 or G91)
G40G80—(tool dia cancel & canned cycle cancel)
G91G28Z0M9—(tool change position in Z & coolant off)
M19--(tool orientation)
G28Y0M5—(tool change position in Y & spindle stop)
T#4120—(calls modal T)
M6—(tool call of modal T value)
G#3—(reinstates previous G90 or G91)
M99--(sup program end)
.................................................................
Here's my thread in this (Fanuc) forum
0-MC on Kryle VMC, lost parameters
My MPG works....axes jog. Tool changer....not so good.....
Here is the T/C macro listed in the Kryle "program training course on Fanuc OMF control" manual:
O9003
G91 G28 Z0.;
G28 G40 X0. Y0.;
M23;
M19;
M21;
M26;
G0 Z110.;
M24;
G28 Z0;
M25;
M22;
M99;
ATC Function list
M23 ATC reference check
M19 Spdl orient
M21 Magazine right
M26 Tool Unclamp
M24 Tool Select
M25 Tool Clamp
M22 Magazine Left
...............................................