Hey all, I’m taking a beginners Fanuc programming class, am trying to make a shape with using only one PR, and the rest will be with register math , I can’t use the PR offset is this possible? If so any info would be greatly appreciated.Thanks
Register math
-
LK2036 -
November 2, 2022 at 8:25 PM -
Thread is Unresolved
-
-
it will be something like
L PR1 Move to the point
PR1,1 = PR 1,1 + 5 Add 5 mm on the x
L PR1 Move 5 mm on the x from the point
PR1,3 = PR 1,1 + 7 Add 7 mm on the z
L PR1 Move 7 mm on the z from the point
If you want to , you can put the 5 and 7 on R and do the math with the Rs
-
Awesome I appreciate the help
-
My answer was just a hint. It's not perfect. For example , I wouldn't work with PR1 directly, I would copy to PR2 and modify PR2
-
Ok so the only thing is I’m not suppose to use the PR(I,j) only data registers and one motion point like a L PR1 then data registers to finish the shape
-
You need to use only one PR, but cannot change the individual elements of the array?
That doesn't make sense.
Could you maybe post the actual question as it is written?
-
Says,
Create a new program that will draw a square using the following requirements.
Only allowed to use 1 move instruction like
J PR
Using register math along with conditional branching to make robot draw a square.
Our previous assignment was the same except using one PR with offsets so I took this to mean only data registers in this one.
Thanks
-
You can only use one motion instruction to the same PR. You need to use registers and math to adjust that PR.
I don't see a way not to use PR[i,j].
-
Ok that’s what where I was at as well, I’m gonna have to get some clarification from the instructor next week , was wanting to make sure that I wasn’t just missing the whole thing , will let you know when I get more info Thanks for the help