Appendix; Qnacpu; Appendix 4.1 Instructions - Mitsubishi Q2ACPU User Manual

Qna series melsec
Table of Contents

Advertisement

APPENDICES
APPENDIX 4 PRECAUTIONS FOR UTILIZING THE EXISTING MELSEC-A SERIES
PROGRAM FOR QnACPU
To utilize a sequence program, created for AnNCPU, AnACPU, or AnUCPU, for QnACPU,
convert it using the "A
maintenance mode of the GPP function.
For details on the GPP function operations, refer to the GX Developer Operating Manual
or SW IVD-GPPQ Operating Manual (Offline).
For details on instructions and devices, refer to the QCPU (Q mode)/QnACPU
Programming Manual (Common Instructions).
The instructions, devices, and comments, etc. indicated below may require modification in
each mode after conversion.

Appendix 4.1

Instructions
BMOVR instruction
Program example:
LEDA BMOVR
LEDC D10
LEDC D100
SUB K10
LEDR
BXCHR instruction
Program example:
LEDA BXCHR
LEDC D10
LEDC D100
SUB K10
LEDR
CHG instruction
CHK instruction
Program example:
CHK M10 X100
CLC instruction
Program example:
CLC
AnA/AnUCPU dedicated instruction
IX instruction
QnA Conversion" option of the "Option" menu in the file
An
CPU Instruction
App - 110
Instruction after A
QnA
Conversion
OUT SM1255
LEDC D10
LEDC D100
OUT SM1255
LEDR
OUT SM1255
LEDC D10
LEDC D100
OUT SM1255
LEDR
OUT SM1255
CHK
RST SM1012
OUT SM1255
Corrective Action
Modify the instruction to a BMOV
instruction.
BMOV ZR100 ZR1000 K10
Modify the instruction to a BXCH
instruction.
BXCH ZR100 ZR1000 K10
Since the QnACPU does not have
the main/subsequence program
system, it has no CHG
instructions.Delete OUT SM1255
as it is not necessary.Modify the
main/subsequence program after
conversion and set new
parameters.
(Refer to Appendix 4.5.)
Refer to Appendix 4.12
Modify the instruction to SM700,
special relay for carry flag.
RST SM700
Refer to Appendix 4.12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q3acpuQ4acpuQ2acpus1

Table of Contents