584,841 active members*
4,530 visitors online*
Register for free
Login
IndustryArena Forum > Manufacturing Processes > Turning > C code question on Fagor 8055
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jun 2019
    Posts
    1

    C code question on Fagor 8055

    We are trying to cut a piece that makes sort of a squarish design. It is set into 4 quadrants, each of them go from a height of .090 inch to .050 inch and then back . (I am attaching a photo to show you APPX what we are looking for). Now, I have the program that we have at the moment. What this will do, is cut the TOP (or bottom Im not really sure) 90 degrees of the piece with this design (the second photo shows what it is doing). What I want to do, is have the C axis rotate 90 degrees and then repeat the pattern 3 more times so it gets the design of the top photo. Any thoughts

    %3MM 4F TEST,MX,
    (ORGX54 = .325,ORGZ54 = 1.625)
    ;
    G54
    G95 G97 G40 T505 M4 ;(CUTOFF)
    G0 X.5 S1500 ;M8
    G0 Z0
    G1 X-.06 F.0015
    G0 X.5
    G0 Z2.0
    ;
    M1
    ;
    G54
    T101 ;(OD PROFILE)
    G0 X.18 S1200
    G0 Z.15
    G1 Z.05 F.0075
    G1 Z0 F.003
    G1 Z-.178
    G0 X.2
    G0 Z2.0
    ;
    M1
    ;
    G54
    T404 ;(ID)
    G0 X0 S1000
    G0 Z.5
    G1 Z0 F.0075
    G1 Z-.178 F.0015
    G0 X-.01
    G0 Z.3
    G0 Z1.5
    ;
    M1
    ;
    (P100 = 0);START
    (P102 = -.178);END
    (P104 = .002);INCREMENT
    ;
    (P110 = 45.0);START ANGLE
    (P112 = 315.0);END ANGLE
    ;
    (P106 = P100 - P104)
    ;
    G54
    G0 G90 G40 G7 T101 ;(OD PROFILE
    G15
    G0 X.20
    G0 Z.05
    G0 ZP100 C0
    G51 A250 E.001
    N10 G0 X.20 ZP106 C0.0
    G0 X.18 CP110 F10000.0
    G1 G94 X.10 C180.0
    G1 X.18 CP112
    (P106 = P106 - P104)
    (IF P106 GT P102 GOTO N10)
    G4
    G0 X.2
    G0 G7 Z1.0
    M5
    ;
    N20 M1
    ;
    G54
    T505 ;(CUTOFF)
    G0 X.6 F.0015 S1500 M4
    G0 Z0
    G0 Z-.12
    G0 G91 Z-.0585
    G1 G90 G95 X-.06
    G0 X.6 M9
    G0 Z3.5
    G53
    M30
    Attached Thumbnails Attached Thumbnails IMG_20190624_095440208.jpg   IMG_20190624_095445748.jpg  

  2. #2
    Join Date
    Jul 2019
    Posts
    3
    Try to do it on my laptop,all it's ok after this

Posting Permissions

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