Multiple Bit Transfer: Xfrb - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Data Movement Instructions
Digit 0
Digit 0
Digit 1
Digit 1
Digit 2
Digit 2
Digit 3
Digit 3
3-8-7

MULTIPLE BIT TRANSFER: XFRB(062)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
Examples of C
The following diagram shows examples of data transfers for various values of
C.
Digit 0
Digit 0
Digit 1
Digit 2
Digit 2
Digit 3
Digit 3
Transfers the specified number of consecutive bits.
XFRB(062)
C
S
D
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
C: Control Word
The first three digits of C indicate the first destination bit (m), the number of
bits to transfer (n), and the first source digit (l), as shown in the following dia-
gram.
C
S: First Source Word
Specifies the first source word. Bits are read from right to left, continuing with
consecutive words (up to S+16) when necessary.
Note The source words must be in the same data area.
Digit 0
Digit 0
Digit 1
Digit 1
Digit 2
Digit 2
Digit 3
Digit 3
C: Control word
S: First source word
D: First destination word
Step program areas
OK
15
8
7
4
3
n
m
First bit in D (m): 0 to F
Number of bits (n):
00 to FF (0 to 255)
15
S
to
S+16 max.
Section 3-8
Digit 0
Digit 0
Digit 1
Digit 1
Digit 2
Digit 2
Digit 3
Digit 3
XFRB(062)
@XFRB(062)
Not supported
Subroutines
Interrupt tasks
OK
OK
0
l
First bit in S (l l ): 0 to F
0
to
343

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents