Mitsubishi Electric MELSEC Q Series Programming Manual page 207

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

Advertisement

5 SEQUENCE INSTRUCTIONS FOR MOTION CPU
(2) Left rotation of 32-bit data (Include the carry flag) (DRCL)
• Rotates 32-bit data of the device designated by (D), including the carry flag, n-
bits to the left. The carry flag turns ON or OFF depending on its status prior to
the execution of the DRCL instruction.
b31
b30b29
• Specify any of 0 to 31 as n. If the value specified as n is out of range, the
remainder of n /32 is used for rotation. (As n is BIN 16 bits unsigned value.) For
example, when n=34, the contents are rotated two bits to the left since the
remainder of 34 / 32 = 1 is "2".
(D)+1
(D)
b16b15
n-bit rotation
5 - 66
Carry flag
(SM12)
b2 b1 b0

Advertisement

Table of Contents
loading

Table of Contents