Rotation Instructions - Mitsubishi Electric M800VW Series Programming Manual

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

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
6 Explanation of Instructions and Functions
6.1 Instruction List

6.1.9 Rotation Instructions

Process
Instruction
Category
unit
sign
ROR
RORP
16 bits
RCR
RCRP
Right rota-
tion
DROR
DRORP
32 bits
DRCR
DRCRP
ROL
ROLP
16 bits
RCL
RCLP
Left rota-
tion
DROL
DROLP
32 bits
DRCL
DRCLP
SFR
16 bits
SFRP
Right shift
DSFR
Device
unit
DSFRP
SFL
16 bits
SFLP
Left shift
DSFL
Device
unit
DSFLP
Symbol
Process details
D
n
b15
(D)
ROR
D
n
Rotates "n" bits to the right.
RORP
(D)
D
n
RCR
b15
D
n
Rotates "n" bits to the right.
RCRP
(D+1)
(D)
D
n
DROR
b31 ~ b16 b15 ~ b0
DRORP
D
n
Rotates "n" bits to the right.
(D+1)
(D)
D
n
DRCR
b31 ~ b16 b15 ~ b0
D
n
DRCRP
Rotates "n" bits to the right.
b15
D
n
SM12
ROL
D
n
Rotates "n" bits to the left.
ROLP
D
n
b15
RCL
SM12
D
n
Rotates "n" bits to the left.
RCLP
(D+1)
D
n
DROL
SM12
b31 ~ b16 b15 ~ b0
D
n
DROLP
Rotates "n" bits to the left.
(D+1)
D
n
DRCL
SM12
b31 ~ b16 b15 ~ b0
D
n
DRCLP
Rotates "n" bits to the left.
D
n
SFR
b15
bn
b15
D
n
SFRP
0〜0
n
D
n
DFSR
D
n
DSFRP
0
D
n
SFL
b15
bn
SM12
b15
D
n
SFLP
n
D
n
DSFL
DSFLP
D
n
83
Execution
condition
b0
SM12
b0
SM12
SM12
SM12
(D)
b0
(D)
b0
(D)
(D)
b0
b0 SM12
(D)
b0
b0
0〜0
(D)
0
Counting step
number
Refer-
ST
ence
Execu-
Storage
tion
3
3/4
3
7/8
280
3
3/4
3
7/8
3
3/4
3
7/8
284
3
3/4
3
7/8
3
3/4
3
7/8
282
3
3/4
3
7/8
3
3/4
3
7/8
286
3
3/4
3
7/8
3
3/4
288
3
7/8
3
3
-
291
3
7
-
3
3/4
288
3
7/8
3
3
-
291
3
7
-
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents