10.4.3.15. COPYR2M
10.4.3.15. COPYR2M
This command replaces the saved value of each item of shift variable R to the MW variable for embedded PLC sequentially. This command reduces the execution time when many MW, R variables are repeatedly replaced.
Explanation | This is the function of replacing the MW variable with the values entered in X, Y, Z, Rx, Ry, Rz and cfg item of R variable. | ||
Grammar | COPYR2M SR=<R variable start number>,SM=<MW start number>,Rcnt=<Number of R variables to copy>,MWInt=<Number to variables to jump between the 7 MWs> | ||
Parameter | R variable start number | Enter the number of R variable to start copying. | 9~100 |
MW start number | Enter the number of variable to start copying MW. | 1~1000 | |
Number of R variables to copy | Enter the number of R variables to copy. 7 MW variable values are entered to one R variable. | 1~92 | |
Number to variables to jump between the 7 MWs | Enter the number of variables to jump after copying 7 MW variables and before copying 7 variables. That is, if the value is 3, it copies to 1~7 and then to 11~17. | 0~15 | |
Example | COPYR2M SR=9,SM=1,Rcnt=1,MWInt=0 |
l Among the values entered to MW variable, 10 times the X, Y and Z item of R variable is entered and 100 times the Rx, Ry and Rz item. But, cfg value is replaced as is.