View Full Version : changing values to non modal


mmurning
11-29-2006, 07:41 PM
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

KANNON
12-01-2006, 02:18 PM
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

mmurning
12-01-2006, 04:28 PM
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

KANNON
12-01-2006, 04:39 PM
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.

ObrienDave
12-03-2006, 02:22 PM
Adding an asterisk * to the beginning of a variable name, such as *pfr, forces the output to the NC file every time.

Steve Arteman
12-06-2006, 08:11 PM
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