Download  Print this page

Mitsubishi Electric Artisan MELSEC-Q Series Manual Page 136

General-purpose programmable controllers, large/small.
Hide thumbs

Advertisement

7.1 Replace instructions with different QCPU instruction format (excluding AnACPU/AnUCPU dedicated instructions)
(5) Program replacement example
(1) Right rotation of 16-bit data instruction(ROR)
ACPU program
X0
0
Instruction
execution
condition
16
Replacement QCPU program
X0
0
Instruction
execution
condition
(ACPU M9012)
51
Equivalent QCPU program in instruction format
Execute rotation of and store the result in the specified device.
X0
0
Instruction
execution
condition
(ACPU M9012)
39
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
M9012
Carry flag
SM700
Carry flag
SM700
Carry flag
* (Transfer the rotation data to A0)
MOVP
* (Execute the rotation)
* (Transfer the rotation result)
MOVP
(Transfer the rotation data)
MOVP
(Execute the rotation)
RORP
(Transfer the rotation result)
MOVP
RORP
133
D0
A0
Rotation
execution
device
RORP
K3
A0
D0
Rotation
execution
device
M0
Check Carry
ON/OFF
END
D0
SD718
Rotation
ACPU [A0]
execution
converted
device
to special D
SD718
K3
ACPU [A0]
converted
to special D
SD718
D0
ACPU [A0]
Rotation
converted
execution
to special D
device
M0
Check Carry
ON/OFF
END
D0
K3
Rotation
execution
device
M0
Check Carry
ON/OFF
END

Advertisement

Table of Contents

   Related Manuals for Mitsubishi Electric Artisan MELSEC-Q Series

Comments to this Manuals

Symbols: 0
Latest comments: