Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 87

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Shift instructions
■Shifting 16-bit binary data to the right/left by n bit(s)
Instruction symbol
Processing details
SFR
Shifts the 16-bit binary data in the specified device to the right.
SFRP
b15
b15
SFL
Shifts the 16-bit binary data in the specified device to the left.
SFLP
(SM700)
■Shifting n-bit data to the right/left by one bit
Instruction symbol
Processing details
BSFR
Shifts the n points of data starting from the specified device to the right by one bit.
BSFRP
0
BSFL
Shifts the n points of data starting from the specified device to the left by one bit.
BSFLP
(SM700)
■Shifting n-word data to the right/left by one word
Instruction symbol
Processing details
DSFR
Shifts the n points of data starting from the specified device to the right by one word.
DSFRP
0
DSFL
Shifts the n points of data starting from the specified device to the left by one word.
DSFLP
bn
bn-1
b0
(SM700)
b0
0∙∙∙0
b15
bn+1 bn
b0
b15
b0
0∙∙∙0
(n)
(d)
(SM700)
(n)
(d)
0
(n)
(d)
(n)
(d)
0
Reference
Page 350 SFR(P)
Page 352 SFL(P)
Reference
Page 354 BSFR(P)
Page 356 BSFL(P)
Reference
Page 358 DSFR(P)
Page 360 DSFL(P)
2 CPU MODULE INSTRUCTIONS
2.2 Basic Instructions
2
85

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents