Re: CITIZEN A20 - Fanuc 31i
Have you tried that program in the A20? I think it will work.
Generally, #5041, #5042, and #5043 (current X,Z,Y locations) are universal across machines. I am not specifically familiar with the A20, but even between mitsubishi and fanuc, the #5041,2,3 variables are the same. My guess is that you could use that exact program. It looks right to me at least.
So throw it in an A20 and see if it works. My guess is that it works as is.
Let us know if it works. If it fails, tell me where it hangs up or alarms and I ill help you troubleshoot it.
Re: CITIZEN A20 - Fanuc 31i
Thank you for your reply. I know what you mean # 5041, # 5042, # 5043. I'm just looking for the A20 macro parameters.
IF [# present tool NE # cutoff tool] GOTO30
IF [ABS [# 5043] GT [# bar o.d / 2]] GOTO30
IF [# 5043NE0] GOTO1
IF [# 5041NE # cutoff end point] GOTO1
GOTO7
N1
M6 (CLOSE MAIN COLLET)
(CUTOFF)
T0100
S1 = # cutoff rpm M3
G0X # 814 + .1T1
/ M52
G99G1X # cutoff end point F # cutoff feed
G4U.5
M5
N7
(START POSITION)
IF [# 5022EQ [# max m / c stroke - # machining length]] GOTO991
M7
G4U.2
G0X # cutoff end point W0T0
G53Z # max m / c stroke - # machining length
M6
N991
M99
N30
Re: CITIZEN A20 - Fanuc 31i
Ah, I see.
I believe you can see those variables in the PRM screen under the MC VAR menu. I think (at least on our machines) you should have 10-30 pages of machine variables you can read/view. We dont have Fanuc Citizen machines, so I cant check.
Re: CITIZEN A20 - Fanuc 31i
the program that you have listed above will not work unless you change the #800's to the proper numbers.
the a20-7 has #016 for the material size in the data prep page.
the other thing would be that you have to change a parameter to be able to read these where as the Mitsubishi the can be read
if changing the parameter so that you can read them be careful about not writing to them as they be come read and write.
when you write the program I would be interested in seeing it
good luck
rcs60
Re: CITIZEN A20 - Fanuc 31i
I think A20 macro parameters have #12500 to #12513