Hi all,
I am looking for answer to the question that is there any way for adding up more user frames than standard 9? I am working on R30iA Controller.
Hi all,
I am looking for answer to the question that is there any way for adding up more user frames than standard 9? I am working on R30iA Controller.
Didn't find what you were looking for?
New post
Yes, It can be set to more than 9.
You can use $SCR.$maxnumutool system variable to add more user frames.
Dear Coleman,
I would suggest you to store them in the position register as follows.
PR[...]=UFRAME[...]
After that you can restore it and use command as follows
FRAME[ ]=..." in the "Offset/Frames" submenu:
UFRAME[...]=PR[...]
I had to do this before as it is among the most efficient ways for switching frames for writing up the separate programs and then calling through an argument instead of using the command UFRAME_NUM=... command.
This is the way to achieved it.
PROGRAM MAIN
1: CALL FRAMESET(1);
END;
PROGRAM FRAMESET
1: UFRAME[9]=PR[AR[1]]; This will put PR[1] into User Frame 9
2: UFRAME_NUM=9;
END
I would tell you that you will be able to do this by tool frames as well. I had implemented this a while ago and I had done this on the robot that had to run a bunch of different parts. Every part was needed by different effector and each had 3 different tool points.
Thank You
Dear chang,
thank you for detailed response. I have some confusions.
What is the AR?
What is the difference from using PR[1]?
Please respond soon.
Thank you again
Dear Howard,
AR[1] is known as the argument which is used when calling the sub program. It is the best way for passing data to other programs for using another line for putting it in to register.
When CALL statement is used then the cursor is moved to the right of the name of program where you are able to press F4 and bringing up the list of various types of data that is possessed by argument. It can either be a constant, argument register, string register, string, or register or combination of up to 10 different data types.
Please sign in to leave a comment.
Comments
4 comments