Mitsubishi Electric M800VW Series Programming Manual page 310

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.7 Rotation Instructions
SFL
 Shifts 16-bit data at device designated by "D" n-bits to the left.
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
1 1 1 1
Carry flag
(SM12)
1
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 0
 The bits starting at n-bits from lowest bit become 0.
 A shift by the data of the specified digit is conducted when a bit device has been designated at "D".
(Refer to the program example "program shifts the contents of Y10 to Y1B to the right by the number of bits designated by
D0 when X20 goes ON")
 Specify any of "0" to "15" as "n". If the value specified as "n" is "16" or greater, operations will be as follows:
- When "n" is "16", the value becomes the one when 16-bit rotation was executed.
- When "n" is "17" or above, the value of D becomes indefinite.
0 0 1 1
0 0 0 0
1 1 1 1
1 1 1 1
0 0 0 0
0 0 0 0
Becomes 0
289
D
When n=8
D
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents