![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681305.webp)
1266
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
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...