Mitsubishi Electric MELSEC Q Series Programming Manual page 108

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

Advertisement

3 START-UP PROCEDURES
Instruction
Category
Symbol
WAND
Logical product
DAND
WOR
Logical sum
DOR
WXOR
Exclusive OR
DXOR
Complement to 2
NEG
Instruction
Category
Symbol
ROR
Right rotation
(16-bit data)
RCR
DROR
Right rotation
(32-bit data)
DRCR
ROL
Left rotation
(16-bit data)
RCL
DROL
Left rotation
(32-bit data)
DRCL
SFR
n-bit shift of
16-bit data
SFL
DSFR
1-word shift of
n-words data
DSFL
(g) Logical operation instruction
Symbol
WAND
S1
S2
D
DAND
S
D
WOR
S1
S2
D
DOR
S
D
WXOR
S1
S2
D
DXOR S
D
NEG
D
(h) Rotation instruction
Symbol
ROR
D
n
RCR
D
n
DROR
D
n
DRCR
D
n
ROL
D
n
RCL
D
n
DROL
D
n
DRCL
D
n
SFR
D
n
SFL
D
n
DSFR
D
n
DSFL
D
n
Processing Details
(S1)
(S2) → (D)
(D+1, D)
(S+1, S) → (D+1, D)
(S1) V (S2) → (D)
(D+1, D) V (S + 1, S) → (D + 1, D)
(S1)
(S2) → (D)
(D+1, D)
(S2) → (D+1, D)
(D)+1 → (D)
Processing Details
D
Carry flag
b15
b0
Right rotation by n bits
D
Carry flag
b15
b0
Right rotation by n bits
D+1
Carry flag
b15
b0
b15
Right rotation by n bits
D+1
Carry flag
b15
b0
b15
Right rotation by n bits
D
Carry flag
b15
b0
Left rotation by n bits
D
Carry flag
b15
b0
Left rotation by n bits
D+1
Carry flag
b15
b0
b15
Left rotation by n bits
D+1
Carry flag
b15
b0
b15
Left rotation by n bits
b15
n
b0
Carry flag
0 - 0
15
n
0
Carry flag
0 - 0
n
D
0 0
n
D
0 0
3 - 25
D
b0
D
b0
D
b0
D
b0
Steps
4
3 to 4
4
3 to 4
4
3 to 4
2
Steps
3
3
3
3
3
3
3
3
3
3
4
4

Advertisement

Table of Contents
loading

Table of Contents