EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1157 background imageLoading...
Page #1157 background image
1119
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Model Conversion Instructions
3
XFERC
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.
Function
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)).
Hint
• It is possible for the source words and destination words to overlap, so XFERC(565) can perform
word-shift operations.
Precaution
• 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.
• 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.
Example Programming
When CIO 0.00 is ON in the following example, the 10 words D100 through D109 are copied to D200
through D209.
Name Label Operation
Error Flag P_ER • ON if the data in N (the number of words) is not BCD.
D+
S+(N−1)
(N−1)
to
to
N words
&10
XFERC
#0010
D100
D102
D100
D109
D102
D111
10
words
0.00
D100
D200
D101
D102
D109
D100
D201
D202
D209
D200
#0010
XFERC

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals