Mitsubishi Q2ACPU User Manual page 509

Qna series melsec
Table of Contents

Advertisement

APPENDICES
SEG instruction
When used as a partial refresh
instruction
Program example:
SET M9052
SEG K4Y10 K4B1
STC instruction
Program example:
STC
SUB instruction
ZRRD instruction
Program example:
DMOV K8000 D9036
LEDA ZRRD
ZRWR instruction
Program example:
DMOV K8000 D9036
LEDA ZRWR
An
CPU Instruction
App - 112
Instruction after A
QnA
Conversion
SET SM1052
SEG K4Y10 K4B1
SET SM1012
OUT SM1255
DMOV K8000 SD1036
OUT SM1255
DMOV K8000 SD1036
OUT SM1255
Corrective Action
Modify the instruction to an RFS
instruction.
RFS Y10 H8
Modify the instruction to SM700,
special relay for carry flag.
SET SM700
As the QnACPU cannot store any
microcomputer program, it has no
SUB instructions.
Delete OUT SM1255 as it is not
necessary.
Change the microcomputer
program for the AnNCPU or
A3HCPU to the sequence
program using QnACPU
instructions.
(Refer to Appendix 4.6.)
Modify the instruction to an MOV
instruction.
MOV ZR8000 SD718
SD718 is the device resulting
from converting accumulator A0.
Modify the instruction to an MOV
instruction.
MOV SD718 ZR8000
SD718 is the device resulting
from converting accumulator A0.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q3acpuQ4acpuQ2acpus1

Table of Contents