584,850 active members*
4,465 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2012
    Posts
    54

    CITIZEN A20 - Fanuc 31i

    Hi All.

    I'm looking for something like this only for Citizen A20 VII

    Who have any example?

    O222(CHECK-START-POSITION)

    IF[#810NE#816]GOTO30
    IF[ABS[#5043]GT[#814/2]]GOTO30
    IF[#5043NE0]GOTO1

    IF[#5041NE#824]GOTO1
    GOTO7

    N1
    M6 (CLOSE MAIN COLLET)
    (CUTOFF)
    T0100
    S1=#817M3
    G0X#814+.1T1
    /M52
    G99G1X#824F#822
    G4U.5
    M5

    N7
    (START POSITION)
    IF[#5022EQ[#872-#818]]GOTO991
    M7
    G4U.2
    G0X#824W0T0
    G53Z#872-#818
    M6

    N991
    M99

    N30
    #3000=70(--CALL-CUTOFF)


    Thx

    Miki2432

  2. #2
    Join Date
    Sep 2011
    Posts
    261

    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.
    CNC Product Manager / Training Consultant

  3. #3
    Join Date
    Aug 2012
    Posts
    54

    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

  4. #4
    Join Date
    Sep 2011
    Posts
    261

    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.
    CNC Product Manager / Training Consultant

  5. #5
    Join Date
    Feb 2011
    Posts
    353

    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

  6. #6
    Need ESPRIT postrocessor for Citizen A20 VII
    Please send me to [email protected] Best Regards

  7. #7

    Re: CITIZEN A20 - Fanuc 31i

    I think A20 macro parameters have #12500 to #12513

Similar Threads

  1. citizen f25, fanuc 3t
    By jamessiffel in forum CNC Swiss Screw Machines
    Replies: 9
    Last Post: 09-29-2015, 03:59 AM
  2. Citizen F12 Fanuc 3T Relay problems
    By amercc in forum Fanuc
    Replies: 4
    Last Post: 10-08-2013, 04:54 PM
  3. Variable Parameters 31 and 32 Citizen/Fanuc Controls
    By amercc in forum CNC Swiss Screw Machines
    Replies: 2
    Last Post: 07-17-2013, 01:34 PM
  4. Citizen F12 with Fanuc 10T getting SV013 alarm
    By amercc in forum CNC Swiss Screw Machines
    Replies: 2
    Last Post: 06-17-2013, 09:45 PM
  5. Fanuc M140 Citizen Machine
    By Kai_DK in forum CNC Swiss Screw Machines
    Replies: 1
    Last Post: 08-12-2008, 12:56 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •