5 data operations, 1 bit right shift (sfr) – Yaskawa MP900 Series Motion Programming Manual User Manual
Page 151
Advertising

Sequence Commands
4.5.1 BIT RIGHT SHIFT (SFR)
4 -18
4.5 Data Operations
This section explains the data commands that are used to shift, transfer, and initialize data.
4.5.1 BIT RIGHT SHIFT (SFR)
J
Overview
The SFR command shifts a bit string designated by the leading bit number and bit width the
specified number of shifts to the right.
J
Description
Designation Method
SFR MB001000 N5 W10 ;
A
B
C
A: Leading bit number
B: Number to be shifted
C: Bit width
Data Types
Bit (B)
Integer (W)
Double Integer
(L)
Real
Number (F)
Constant
Leading Bit
Number
Yes
No
No
No
No
Number to
be Shifted
No
Yes
No
No
Yes
Bit Width
No
Yes
No
No
Yes
J
Programming Examples
Type
Motion Program
Ladder Logic Program
B
−
−
W
SFR MB001000 N=5 W=10;
SHFTR MB001000 N=5 W=10
L
−
−
F
−
−
4
A
EXAMPLE
"
Advertising
This manual is related to the following products: