Format, Parameter program example – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual
Page 110

1 Ladder Program Instructions
1.6.2 BIT ROTATION RIGHT Instruction (ROTR)
1-100
Format
Parameter
Program Example
The data having MB00000 (bit 0 of MW00000) as the head address and a bit width of 10 are
rotated once to the right.
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 Rotations
• 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: ROTR
Full Name: Bit Rotate Right
Category: MOVE
Icon:
F
C
8
4
0
Rotation symmetry range (Bit width
= 10)
F
C
8
4
0
1
1
1
1
0
0
1
0
0
0
1
1
0
1
0
1
1
1
1
1
0
0
1
1
0
0
0
1
1
0
1
0
Before
execution
After
execution