Hi there, was wondering where in the variables, during a controlled start I assume, can I find and increase the number of position registers from 100 to say 200
Number of position registers?
-
sw40498jd -
June 17, 2018 at 7:28 PM -
Thread is Resolved
-
-
Hello,
In controlled start, go to MENU -> NEXT(0) -> Program Setup. From there you set number for PR's, R's, User Task's etc.. -
Just for reference, if you want to know how many PR's you currently have you can use the Karel code below. The integer variable 'max_pr_num' will have the number of PR's.
GET_VAR(entry, '*POSREG*' ,'$MAXPREGNUM', max_pr_num, status)
-
Just for reference, if you want to know how many PR's you currently have you can use the Karel code below. The integer variable 'max_pr_num' will have the number of PR's.
GET_VAR(entry, '*POSREG*' ,'$MAXPREGNUM', max_pr_num, status)
I guess that would also be true for a SET_VAR?
-
I guess that would also be true for a SET_VAR?
I doubt it, the max pr you can set is not a fixed value, it depends on the avaiable memory and installed options.
If you add more PR registers, you decrease the ammount of normal registers you can set, same if you increase payloads, frames, tools... etc.
Then... if you install more options it happens the same, more installed options == less space for registers. And it seems that the avaiable memory is in reality limited by the software options, not by the hardware, as if you get the "expanded registers" option you can add like 2k PR without modifying the hardware (at least this is what the fanuc sales guy told me)