6F3B0253
Basic Hardware and Function 241
7. Instructions
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 (RW or D) ↔ EEPROM (D register)
• CPU register (RW or D) ↔ T1S RS-485 port (T1S only)
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. XWYWRWSW T C D I J K
A Source
parameter
√√√√√√√
B Transfer size
√√√√√√√
C Destination
parameter
√√√√√√
Parameters
Source parameter Transfer size and status Destination parameter
A Type B Transfer size C Type
A+1 Leading address B+1 Status flag for RS-485 port C+1 Leading address
B+2 (max. 2 words)
Register type Type code Leading address Transfer size
RW register (RAM) H0003 0 to 255 1 to 256
D register (RAM) H0004 0 to 4095 1 to 256
D register (EEPROM) H0020 0 to 2047 1 to 32 (if destination)
1 to 256 (if source)
T1S RS-485 port H0030 0 (fixed) 1 to 256