Axis substitution feedrate in NC code for Phillips CNC 432


Results 1 to 3 of 3

Thread: Axis substitution feedrate in NC code for Phillips CNC 432

  1. #1
    Member
    Join Date
    Jun 2015
    Location
    Denmark
    Posts
    76
    Downloads
    0
    Uploads
    0

    Default Axis substitution feedrate in NC code for Phillips CNC 432

    Hi all

    I have been meddling with my post for a while now, and almost everything is working now. My big problem now is to get an radius from the center of the machine added the right place in the code, as the control calculates the feedrate from that R value.

    The generated code looks like this:

    %PM9000
    N9000 ( T )
    N1 M53
    N2 G17 T14 M6
    N3 G59
    N4 G0 X0. Y-20. B9.167 S5000 M3
    N5 Z120. M8
    N6 Z55.
    N7 G1 Z49. F150. R49. (The value is here)
    N8 Y-12. F700.
    N9 Y-11.262 B9.128 (Should be here)
    N10 Y-10.53 B9.011
    N11 Y-9.811 B8.817
    N12 Y-9.11 B8.548
    N13 Y-8.434 B8.206
    N14 Y-7.789 B7.794
    N15 Y-7.179 B7.316
    N16 Y-6.61 B6.775
    N17 Y-6.088 B6.176
    N18 Y-5.616 B5.525
    N19 Y-5.198 B4.826
    N20 Y-4.839 B4.086
    N21 Y-4.54 B3.312
    N22 Y-4.305 B2.509
    N23 Y-4.136 B1.684
    N24 Y-4.034 B.846
    N25 Y-4. B0.
    N26 B-360.
    N27 Y-4.034 B-360.846
    N28 Y-4.136 B-361.684
    N29 Y-4.305 B-362.508
    N30 Y-4.54 B-363.311
    N31 Y-4.839 B-364.086
    N32 Y-5.198 B-364.826
    N33 Y-5.616 B-365.524
    N34 Y-6.088 B-366.176
    N35 Y-6.61 B-366.774
    N36 Y-7.179 B-367.315
    N37 Y-7.789 B-367.794
    N38 Y-8.434 B-368.206
    N39 Y-9.11 B-368.548
    N40 Y-9.811 B-368.817
    N41 Y-10.53 B-369.011
    N42 Y-11.262 B-369.128
    N43 Y-12. B-369.167
    N44 Y-20.
    N45 G0 Z120.
    N46 M9
    N47 M5
    N48 T0 M6
    N49 G74 Y1
    N50 G74 X1
    N51 B0
    N52 M30

    The problems are marked with ( ) in the code. I only want this R value each time the B axis starts moving in G1 at the depth of cuts. As I have mentioned this is an edited Fanuc post, and the post is attached to the post.

    The code for the R value is here and the protr is also in the plinout under motion output in the post.

    protr
    if index = zero & rot_on_x,
    [
    rotaryr = ((prv_zabs)*1)
    srotr = rotaryr
    srotr
    ]

    Any suggestions how to fix this?

    I have another small problem in mastercam, I have to pick substitute around X instead of Y to get it right, I can live with this, but if it is an easy thing to fix I would like to do that :-)

    Cheers, Daniel

    Similar Threads:
    Attached Files Attached Files


  2. #2
    Member
    Join Date
    Jun 2015
    Location
    Denmark
    Posts
    76
    Downloads
    0
    Uploads
    0

    Default Re: Axis substitution feedrate in NC code for Phillips CNC 432

    Tried a program today, control makes an fault where the R are now, but if I move it manually to line N9, it runs smooth. Is there any way to move an output X numbers down in a post? I think it will be the same problem each time...

    Cheers, Daniel



  3. #3
    Member
    Join Date
    Jun 2015
    Location
    Denmark
    Posts
    76
    Downloads
    0
    Uploads
    0

    Default Re: Axis substitution feedrate in NC code for Phillips CNC 432

    Did it

    I had to force the B axis output with pfcout. Just run a small program in free air, and it looks absolutely fine! I cant wait to get home and tell the wife, that the last two months of scratching my head and editing post in half of my spare time finally paid of!

    It seems that all is working now, but there may come some bug fixes at some point, bu ill take it as it comes.

    Thanks Superman for the help a year ago, I couldn't have done this without some startup advise!

    Cheers,

    Daniel Uhrenholt



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Axis substitution feedrate in NC code for Phillips CNC 432

Axis substitution feedrate in NC code for Phillips CNC 432