Mitsubishi Electric MELSEC Q Series Programming Manual page 209

Motion controller
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS FOR MOTION CPU
(2) n-bit shift to left of 16-bit data (SFL)
• Shifts 16-bit data at device designated by n bits to the left. Bits starting from the
lowest bit to n bit are filled with 0s.
(D) before execution
Carry flag
(SM12)
(D) after execution
• Specify any of 0 to 15 as n. If the value specified as n is out of range, the
remainder of n / 16 is used for rotation. (As n is BIN 16 bits unsigned value.) For
example, when n=18, the contents are rotated two bits to the left since the
remainder of 18 / 16 = 1 is "2".
16 bits
n bits
b15
5 - 68
b0
n bits
0
0
0 is entered

Advertisement

Table of Contents
loading

Table of Contents