586,033 active members*
3,368 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Mastercam > Post Processors for MC > changing values to non modal
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2003
    Posts
    35

    changing values to non modal

    I have one control in the shop where feedrates have to be put back in after a rapid move, and also need the I and J moves on arcs to be in every line even if they dont change from line to line, even when its a zero it needs it on each line. I am using 9.1...........thanks

  2. #2
    Join Date
    Oct 2006
    Posts
    18
    in this portion of your post.. do you have the pfr in there? I believe thats what kicks out the feedrate

    plinout #Output to NC of linear movement - feed
    pbld, n, sgplane, sgcode, pwcs, pccdia, pxout, pyout, pzout, pfr,
    pcout, pcan1, e

    pcirout #Output to NC of circular interpolation
    pbld, n, sgplane, sgcode, pwcs, pccdia, pxout, pyout, pzout, pcout, parc,
    pfr, pcan1, e


    as far as your I and J's would it help if you added the parc in the plinout part of your post?
    plinout #Output to NC of linear movement - feed
    pbld, n, sgplane, sgcode, pwcs, pccdia, pxout, pyout, pzout, parc, pfr,
    pcout, pcan1, e

  3. #3
    Join Date
    Sep 2003
    Posts
    35

    not yet

    I tried that didnt seem to work, should I copy exactly what u wrote , I just added those 2 things and now I have errors on line 774, I am using the fanuc post it works fine on all are other machines, I would like it to work on this control too, I also need the g2 ang g3 to repeat everytime they are needed, even on the next line ...........thanks for helping

  4. #4
    Join Date
    Oct 2006
    Posts
    18
    No. I was hoping just adding that in your existing lines would have kicked the same results I got. It kicked out the I, and J's on every line for me, and the pfr was what gave me the feedrates. Sorry, wasnt trying to guide you in the wrong direction.

  5. #5
    Join Date
    Jun 2005
    Posts
    305
    Adding an asterisk * to the beginning of a variable name, such as *pfr, forces the output to the NC file every time.
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.

  6. #6
    MMUR,
    Try this


    arcoutput : 0 #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180

    parc #Select the arc output format
    if arcoutput = zero | full_arc_flg | arc_pitch,
    [
    #Arc output for IJK
    # If you do NOT want to force out the I,J,K values,
    # remove the "*" asterisks on the *i, *j, *k 's below...
    if plane = zero, *i, *j, k #XY plane code - G17
    if plane = one , i, *j, *k #YZ plane code - G19
    if plane = two , *i, j, *k #XZ plane code - G18
    ]
    else,
    [
    #Arc output for R
    if abs(sweep) <= 180 | arcoutput=one, result = nwadrs(srad, arcrad)
    else, result = nwadrs(srminus, arcrad)
    *arcrad
    www.cad2cam.net
    Programmer/ Certified Cam Instructor

Posting Permissions

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