
MotionSuite™ Series Machine Controller Motion Programming Manual Chapter 4: Sequence Commands
4-18
4.5 Data Operations
In this section, the data commands that execute data shift, movement, and initialization are
explained.
4.5.1 Bit Right-shift (SFR) Command
!
!!
! Outline
In a bit string designated by heading bit number and bit width, the Bit Right-shift (SFR)
command shifts as many numbers as designated towards the right.
!
!!
! Detailed Explanation
Command Method
Data Type
$
= Yes × = No
!
!!
! Program Example
Example: Heading: MB001005 (bit 5 of MW00100)/bit width: 5
Bit (B) Integer (W) 32-bit Integer (L) Real (F) Constant
Heading Bit Number
$
××××
Number to be Shifted ×
$
××
$
Bit Width ×
$
××
$
Type Motion Program Ladder Program
B— —
W SFR MB001000 N=5 W=10; SHFTR MB001000 N=5 W=10
L— —
F
—
—
SFR MB001000 N5 W10;
ABC
A: Heading bit number
B: Number to be shifted
C: Bit width
Comentários a estes Manuais