12 bit shift right instruction (shftr), Outline, Format – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 125: Parameter

Advertising
background image

1.6 Data Manipulation Instructions

1-115

1

1.6.12 BIT SHIFT RIGHT Instruction (SHFTR)

„

Outline

The SHFTR instruction shifts the bit sequence designated by the leading bit address (Head
Bit Address
) and bit width to (Bit Width) the right the designated number of bits (Number of
Shifts
).

„

Format

„

Parameter

A

Note: The upper five bits are thrown away.

1

1

0

0

0

1

0

0

0

1

A

1

0

0

0

0

0

0

1

0

1

3

3

0 is entered.

MW00001

MW00000

MW00001

MW00000

. . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Parameter Name

Setting

Head Bit Address

• Any bit type register (except for # and C registers)
• Any bit type register with subscript (except for # and C regis-

ters)

Number of Shifts

• Any integer type register
• Any integer type register with subscript
• Constant

Bit Width

• Any integer type register
• Any integer type register with subscript
• Constant

Symbol: SHFTR
Full Name: Bit Shift Right
Category: MOVE
Icon:

Advertising
This manual is related to the following products: