7 byte-to-word expansion (bextd), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 193

Advertising
background image

5.7 Data Shift Instructions

5.7.7 Byte-to-word Expansion (BEXTD)

5-124

5.7.7 Byte-to-word Expansion (BEXTD)

( 1 ) Operation

The BEXTD instruction expands the byte data from an area designated by the number of bytes to move from the first
source register address into individual word data, one byte at a time, and moves the word data to the area that starts
with the first destination register address. When the byte is expanded into a word, the upper byte of the word is set to 0.
The byte data from an area designated by the number of bytes to move from the first source register address is
expanded into individual word data and moved to the area that starts with the first destination register address.

( 2 ) Format

∗ C and # registers cannot be used.

a

b

c

d

a

00H

b

00H

c

00H

d

00H

Lower byte

Upper byte

Lower byte

Upper byte

Lower byte

Upper byte

Lower byte

Upper byte

e

MW†††††

MW††††† + 1

MW††††† + 2

MW††††† + 3

Lower byte

Upper byte

Lower byte

Upper byte

Lower byte

MW†††††

MW††††† + 1

Number of bytes

to move

Source area

Destination area

Number of bytes

to move

First destination

register address

First source

register address

Icon:

Key entry: BEXTD

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

First source register
address (Src)

×

{

×

×

×

×

×

First destination
register address
(Dest)

×

{

*

×

×

×

×

×

Number of bytes to
move (Width)

×

{

×

×

×

{

{

Advertising
This manual is related to the following products: