Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 386

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Data Movement Instructions
Description
Flags
Precautions
Example
346
Area
Index Registers
Indirect addressing
using Index Registers
XFER(070) copies N words beginning with S (S to S+(N–1)) to the N words
beginning with D (D to D+(N–1)).
S+(N−1)
It is possible for the source words and destination words to overlap, so
XFER(070) can perform word-shift operations.
&10
Name
Label
Error Flag
ER
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 XFER(070) when a large number of
words is being transferred. In this case, the XFER(070) transfer might not be
completed if a power interruption occurs during execution of the instruction.
When CIO 000000 is ON in the following example, the 10 words D00100
through D00109 are copied to D00200 through D00209.
&10
N
---
,IR0 to ,IR15
–2048 to +2047, IR0 to –2048 to +2047, IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –) IR0 to, –(– –) IR15
N words
to
D+
(N−1)
Operation
OFF
Section 3-8
S
D
to
10
words

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents