Block Transfer: Xfer - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

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

Advertisement

Data Movement Instructions
Flags
Precautions
Examples
3-8-8

BLOCK TRANSFER: XFER(070)

Purpose
Ladder Symbol
344
It is possible for the source words and destination words to overlap. By trans-
ferring data overlapping several words, the data can be packed more effi-
ciently in the data area. (This is particularly useful when handling position
data for position control.)
Since the source words and destination words can overlap, XFRB(062) can
be combined with ANDW(034) to shift m bits by n spaces.
Name
Label
Error Flag
ER
Up to 255 bits of data can be transferred per execution of XFRB(062).
Be sure that the source words and destination words do not exceed the end of
the data area.
When CIO 000000 is ON in the following example, the 20 bits beginning with
CIO 020006 are copied to the 20 bits beginning with CIO 030000.
Transfers the specified number of consecutive words.
XFER(070)
N
S
D
Operation
OFF
20 bits
N: Number of words
S: First source word
D: First destination word
Section 3-8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents