3 move bits instruction (movb), Outline, Format – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 111

Advertising
background image

1.6 Data Manipulation Instructions

1-101

1

1.6.3 MOVE BITS Instruction (MOVB)

„

Outline

The MOVB instruction moves the designated number of bits (Width) from the beginning of
the move source bits (Source) to the beginning of the move destination bits (Dest). The
move process is performed one bit at a time in the direction in which the relay number
increases.

Unless the move source bits overlap with the move destination bits, the move source bit
table is stored. If there is overlap between them, the move source bit table may not be stored.

„

Format

Transfer source
data area

Transfer
destination
data area

Source

Dest

Width

Number of transfers (m)

(a)

(b)

c

d

e

f

g

(h)

(f)

(g)

(h)

c

d

e

f

g

Transfer source

(a)

(b)

a

b

c

d

e

(h)

Transfer destination

(f)

(g)

(h)

a

b

c

d

e

When the transfer source and
transfer destination overlap (2)

1

1

1

0

1

0

1

0

5

1

0

4

3

2

m - 1 m - 2 m - 3

Address of the head
transfer source bit

1

1

1

0

1

0

1

0

Address of the
head transfer
destination bit

1

1

Transfer source Transfer destination

When the transfer source and
transfer destination overlap (1)

Symbol: MOVB
Full Name: Move Bit
Category: MOVE
Icon:

Advertising
This manual is related to the following products: