How can i use CURPOS in CRX Tablet UI?
I try PR[1]=CURPOS(0,0) but doesn't work
How can i use CURPOS in CRX Tablet UI?
I try PR[1]=CURPOS(0,0) but doesn't work
If you mean that you want to record the current position and save it to a PR using instructions in a TP program, then the syntax and method is the same as on a regular TP.
Unfortunately, there is no icon for this instruction (to my knowledge) yet. So you're left with two choices:
1) place a "CODE"-instruction in your program and enter the correct syntax in the text box in the DETAILS tab of that instruction
2) switch to the "old" TP editor, then insert a register instruction "...=..." and select PR[] for the item to be written to and LPOS for the instruction to grab the current position in Cartesian format (including the active Tool Frame and User Frame). If you want joint angles, then you use JPOS.
Syntax should look like this:
It works! Thank you