11 bit shift left instruction (shftl) – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 124

Advertising
background image

1 Ladder Program Instructions

1.6.11 BIT SHIFT LEFT Instruction (SHFTL)

1-114

1.6.11 BIT SHIFT LEFT Instruction (SHFTL)

„

Outline

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

„

Format

„

Parameter

„

Program Example

A ten-bit wide section of data with MB0000A (bit A of MW00000) as the head is shifted
five bits to the left.

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: SHFTL
Full Name: Bit Shift Left
Category: MOVE
Icon:

Advertising
This manual is related to the following products: