2. Expanded Functions
2.4.4 Expanded data transfer (XFER)
FUN 236
XFER
Expanded data transfer
Expression
Input ─[ A XFER B → C ]─ Output
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 ↔ CPU register
•CPU register ↔ Expanded F register (IC memory card)
•CPU register ↔
•CPU register ↔ EEPROM (D register)
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 |
|
|
|
|
|
| Con- | Index | |||||||
|
| X | Y | S | L | R | Z | T. | C. | I | O | X | Y | S | L | R | W | T | C | D | F | I | O | I | J | K | stant |
|
|
|
|
|
|
|
|
|
|
|
|
| W | W | W | W | W |
|
|
|
|
| W | W |
|
|
|
|
|
A | Source |
|
|
|
|
|
|
|
|
|
| √ | √ | √ | √ | √ | √ | √ | √ | √ | √ |
|
|
|
|
|
| √ |
| parameter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
B | Transfer |
|
|
|
|
|
|
|
|
|
| √ | √ | √ | √ | √ | √ | √ | √ | √ | √ |
|
|
|
|
|
| √ |
| size |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C | Destination |
|
|
|
|
|
|
|
|
|
|
| √ | √ | √ | √ | √ | √ | √ | √ | √ |
|
|
|
|
|
| √ |
| parameter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A A+1
Source parameter
Bank / CH Type
Leading address
B B+1
B+16
Transfer size and status
Transfer size
Status flag
(Scan healthy map)
Max. 16 words
Destination parameter
C Bank / CH Type
C+1 Leading address
•Refer to the following table for contents of each designation.
•The status flag is created only when the transfer from S20 to Register.