Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

joekauker

Verified Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by joekauker

  1. I ended up fixing this. 
     

    The g90 was screwing things up with the m45. Took that out and changed my t0101 to t0100 and the program was all set. 
     

    thanks for your input. 
     

    program is good to use after those two changes. if you want to warm up your machine especially if you have the same one this will work great.  Different machines just swap your m codes
     

    i run a lot of parts with multiple dims that are held +\- .0002 so warming up the machine is pretty important for me 

  2. Hello,

    First Post on here. I have a chevalier FNL-220-LSY with fanuc  OI-TF control and am trying to create a warmup program. 

    I use #3002 Parameter in my Johnford SV-40 mill to Move the table and Z for 5 min while Spindle is running at varied rpms. 

    I am trying to write a program to do the same in my lathe but it keeps alarming out.

    Alarm is PS0231 Illegal Format in G10 or L52

    My program shown below alarms at the M45 line

    %
    O1111(DAILY WARM UP PROGRAM)
    (DEFINE G59 AS MACHINE HOME LOCATION)

    G00 G17 G20 G40 G80(PROGRAM START)
    G59(Work offset for warm up)
    G90

    N5
    G30 B0.
    G30 W0.
    G30 U0. V0.
    T0101
    N8 (SYNC SPINDLES) 
    M45(MAIN SPINDLE C AXIS MODE ON)   ALARMS HERE
    G28C0.0
    G50C0.0
    M17(SPINDLE LOCK)
    G00C0.0
    G50C0.0
    M75(SUB SPINDLE A AXIS MODE ON)
    G00A0.0
    G50A0.0
    M74(SUB SPINDLE A AXIS MODE OFF) 
    M44(MAIN SPINDLE C AXIS OFF) 
    G4U1.0(DWELL 1 SEC)
    M79(SPINDLE SYNC ON) 
    M110(SPINDLE PHASE SYNC ON)
    G97S100M4 

    N10(BEGIN LOOP)
    #3002=0(RESET TIME)
    WHILE [#3002 LE 5*.0167] DO1
    S500M4; (500 RPM)
    N101 G1X0Y0Z0F50
    G30B0
    G30W0
    G30U0V0
    X-8.0
    Y-1.5
    Y1.5
    Y0.0
    X0.0
    Z-16.0
    Z0.0
    G30B0
    G30W0
    G30U0V0
    (M98 O1111)
    END1    

    N20
    #3002=0(RESET TIME)
    WHILE [#3002 LE 5*.0167] DO1
    S1500M4 (1500 RPM)
    N101 G1X0Y0Z0F50
    G30B0
    G30W0
    G30U0V0
    X-8.0
    Y-1.5
    Y1.5
    Y0.0
    X0.0
    Z-16.0
    Z0.0
    G30B0
    G30W0
    G30U0V0
    (M98 O1111)
    END1    

    N30
    #3002=0(RESET TIME)
    WHILE [#3002 LE 5*.0167] DO1
    S2500M4 (2500 RPM)
    N101 G1X0Y0Z0F50
    G30B0
    G30W0
    G30U0V0
    X-8.0
    Y-1.5
    Y1.5
    Y0.0
    X0.0
    Z-16.0
    Z0.0
    G30B0
    G30W0
    G30U0V0
    (M98 O1111)
    END1

    N40
    #3002=0(RESET TIME)
    WHILE [#3002 LE 5*.0167] DO1
    S3500M4 (3500 RPM)
    N101 G1X0Y0Z0F50
    G30B0
    G30W0
    G30U0V0
    X-8.0
    Y-1.5
    Y1.5
    Y0.0
    X0.0
    Z-16.0
    Z0.0
    G30B0
    G30W0
    G30U0V0
    (M98 O1111)
    END1    

    N14
    M44 (MAIN SPINDLE A AXIS MODE OFF)
    M74 (SUB SPINDLE A AXIS MODE OFF)
    M05(SPINDLE STOP) 
    M80(SPINDLE SYNC OFF)
    M111(SPINDLE PHASE SYNC OFF) 
    G30B0
    G30W0
    G30U0V0
    G90G54
    M01
    M30
    %

     

    If anyone wants my mill program id be happy to share it. Works great. 

     

    I use the same code to sync spindles in other programs so I am pretty sure it is due to the 3002 parameter as it looks ahead but Im really not sure because its alarming way before it gets to that. 

     

    ANY INPUT GREATLY APPRECIATED

    THANKS

    JOE

     

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...