6F3B0250
7. Instructions
FUN 025 TMOV Table transfer
Expression
Input
T1S only
Function
When the input is ON, the data of n registers starting with A are transferred to n registers starting with B in a block. The allowable range of the table size n is 1 to 1024 words.
Execution condition
Input |
| Operation | Output |
OFF | No execution |
| OFF |
ON | Execution |
| ON |
Operand
| Name |
|
| Device |
|
|
|
|
|
| Register |
|
|
|
| Constant | Index | ||
|
| X | Y | R | S | T. | C. | XW | YW | RW | SW | T | C | D | I | J | K |
|
|
A | Start of source |
|
|
|
|
|
| Ö | Ö | Ö | Ö | Ö | Ö | Ö |
|
|
|
|
|
n | Table size |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 - 1024 |
|
B | Start of |
|
|
|
|
|
|
| Ö | Ö | Ö | Ö | Ö | Ö |
|
|
|
|
|
| destination |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
When R010 is ON, the data of D0500 to D0509 (10 registers) are block transferred to D1000 to D1009, and the output is turned ON.
D0500
D0501
D0502
1111
2222
3333
| D1000 |
| D1001 |
Block transfer | D1002 |
|
|
1111
2222
3333
10 registers
D0509
12345
D1009
12345
Note
·The source and destination tables can be overlapped.
Basic Hardware and Function 159
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net