6F3B0250
7. Instructions
FUN 236
XFER
Expanded data transfer
Expression
Input
Function
When the input is ON, data block transfer is performed between the source which is indirectly designated by A and A+1 and the destination which is indirectly designated by C and C+1. The transfer size (number of words) is designated by B.
The transfer size is 1 to 256 words. (except for writing into EEPROM) Data transfer between the following objects are available.
·CPU register (RW or D) « EEPROM (D register)
·CPU register (RW or D) « T1S
Execution condition
Input | Operation | Output | ERF |
OFF | No execution | OFF | - |
ON | Normal execution | ON | - |
| When error is occurred (see Note) | ON | Set |
Operand
| Name |
|
| Device |
|
|
|
|
|
| Register |
|
|
|
| Constant | Index | ||
|
| X | Y | R | S | T. | C. | XW | YW | RW | SW | T | C | D | I | J | K |
|
|
A | Source |
|
|
|
|
|
| Ö | Ö | Ö | Ö | Ö | Ö | Ö |
|
|
|
|
|
| parameter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
B | Transfer size |
|
|
|
|
|
| Ö | Ö | Ö | Ö | Ö | Ö | Ö |
|
|
|
|
|
C | Destination |
|
|
|
|
|
|
| Ö | Ö | Ö | Ö | Ö | Ö |
|
|
|
|
|
| parameter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Parameters
A A+1
Source parameter
Type
Leading address
B B+1 B+2
Transfer size and status
Transfer size
Status flag for
(max. 2 words)
C C+1
Destination parameter
Type
Leading address
Register type | Type code | Leading address | Transfer size |
RW register (RAM) | H0003 | 0 to 63 (T1) | 1 to 64 (T1) |
|
| 0 to 255 (T1S) | 1 to 256 (T1S) |
D register (RAM) | H0004 | 0 to 1023 (T1) | 1 to 256 |
|
| 0 to 4095 (T1S) |
|
D register (EEPROM) | H0020 | 0 to 511 (T1) | 1 to 16 (if destination, T1) |
|
| 0 to 2047 (T1S) | 1 to 32 (if destination,T1S) |
|
|
| 1 to 256 (if source) |
T1S | H0030 | 0 (fixed) | 1 to 256 |
Basic Hardware and Function 259
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net