![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301305.webp)
1265
Model Conversion Instructions (Unit Ver. 3.0 or Later)
Section 3-35
Description
XFERC(565) copies N words beginning with S (S to S+(N–1)) to the N words
beginning with D (D to D+(N–1)).
It is possible for the source words and destination words to overlap, so
XFERC(565) can perform word-shift operations.
Flags
Note In C-series PLCs, the BLOCK TRANSFER (XFER) instruction will cause the
Error Flag to go ON if the content of an indirectly addressed DM word (*DM) is
not BCD, or the DM area boundary is exceeded. XFERC(565) will not cause
the Error Flag to go ON in these cases.
Precautions
Be sure that the source words (S to S+N–1) and destination words (D to
D+N–1) do not exceed the end of the data area.
Some time will be required to complete XFERC(565) when a large number of
words is being transferred. In this case, the XFERC(565) transfer might not be
completed if a power interruption occurs during execution of the instruction.
The content of N must be BCD. If N is not BCD, an error will occur and the
Error Flag will be turned ON.
Example
When CIO 000000 is ON in the following example, the 10 words D00100
through D00109 are copied to D00200 through D00209.
Index Registers
---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047, IR0 to –2048 to +2047, IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –) IR0 to, –(– –) IR15
Area
N
S
D
D+
S+(N
−
1)
(N
−
1)
to
to
N words
&10
XFERC
#0010
Name
Label
Operation
Error Flag
ER
ON if the data in N (the number of words) is not BCD.
#0010
XFERC
10
words
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...