11 bit shift left (shftl), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 201

Advertising
background image

5.7 Data Shift Instructions

5.7.11 Bit Shift Left (SHFTL)

5-132

5.7.11 Bit Shift Left (SHFTL)

( 1 ) Operation

The SHFTL instruction shifts the bits specified by the first bit address and bit width to the left by the specified number
of bits to shift.
Data that overflows from the bit width is discarded and insufficient bits are padded with 0’s.

( 2 ) Format

∗ C and # registers cannot be used.

f

e

d

c

b

a

g

0

0

d

c

b

a

0

0

e

0

0

0

1

2

3

4

5

6

7

8

f

g

Number of
bits to shift

Bit width

First bit
address

Before Shift

After Shift

Bits that overflow are discarded.

Insufficient bits are padded with 0’s.

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

First bit address (Adr)

{

*

×

×

×

×

×

×

Number of bits to shift
(Num)

×

{

×

×

×

{

{

Bit width (Width)

×

{

×

×

×

{

{

Number of bits to shift

Bit width

First bit address

Icon:

Key entry: SHFTL

Advertising
This manual is related to the following products: