EasyManua.ls Logo

Cutler-Hammer D50 - Bmov Bfmv

Cutler-Hammer D50
228 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
116 D50 PLC User's Manual
Instruction
Mnemonic Copy Bit, Copy the Same Bit Range
Bit
Byte
BMOV
BFMV
BMOV: Copy a block of bits
BFMV: Fill a block of bits with the
same bit value
Word
Ladder
BMOV: Copy Ns bits from bit address Sb into bit address D.
BFMV: Copy the V bit (0 or 1) into bit address D, Ns times.
Description
1. BMOV: Copy a block of Ns bits starting at bit address Sb to bit address D. This instruction is
useful for moving large blocks of bits at one time, or for copying sections of bits within a
word without copying the entire word.
2. BFMV: Fill a block of Ns bits starting at bit address D with the value of V (0 or 1). This
instruction is useful for initializing a set of bits to 0 or 1 at the start of a program or process.
3. This operation will occur on every scan for which the input condition is true (On). To perform
the operation only on a change of input condition, use the rising/falling edge contact.
Example
Program Expression Operation Results
BMOV
Db =
Sb =
Ns =
BFMV
Db =
Ns =
V =
R
R
Sb ...... 0 1110100
If Ns=4
Db ...... 0 1010100
If Ns=5
Db ...... 0 1111100
If V=1
BMOV
BFMV
BMOV
Db = R2.3
Sr = R2.1
Ns = 4
BFMV
Db = R3.2
Ns = 5
V = 1
R0.0
R
0 0 1 1 1 1 0 0 0 1 1 1 0 1 0 0
0 0 1 1 1 1 0 0 0 1 0 1 0 1 0 0
0 0 1 1 1 1 0 0 0 1 0 1 0 1 0 0
0 0 1 1 1 1 0 0 0 1 1 1 1 1 0 0
R2 before
operation
R2 after
operation
R3 before
operation
R3 after
operation
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals