App -
110
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 QnA Conversion" option of the "Option" menu in the file
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
An CPU Instruction
Instruction after A
QnA
Conversion
Corrective Action
BMOVR instruction
Program example:
LEDA BMOVR
LEDC D10
LEDC D100
SUB K10
LEDR
OUT SM1255
LEDC D10
LEDC D100
OUT SM1255
LEDR
Modify the instruction to a BMOV
instruction.
BMOV ZR100 ZR1000 K10
BXCHR instruction
Program example:
LEDA BXCHR
LEDC D10
LEDC D100
SUB K10
LEDR
OUT SM1255
LEDC D10
LEDC D100
OUT SM1255
LEDR
Modify the instruction to a BXCH
instruction.
BXCH ZR100 ZR1000 K10
CHG instruction
OUT SM1255
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.)
CHK instruction
Program example:
CHK M10 X100
CHK
Refer to Appendix 4.12
CLC instruction
Program example:
CLC
RST SM1012
Modify the instruction to SM700,
special relay for carry flag.
RST SM700
AnA/AnUCPU dedicated instruction
IX instruction
OUT SM1255
Refer to Appendix 4.12
Summary of Contents for Q2ACPU
Page 1: ......
Page 2: ......
Page 221: ...12 12 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU ...
Page 222: ...12 13 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU ...
Page 237: ...12 28 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU MEMO ...
Page 271: ...16 13 16 POWER SUPPLY MODULE 4 Names and description of parts of the A66P ...
Page 343: ...21 21 13 MAINTENANCE AND INSPECTION 21 4 2 Replacement of the fuse for an output module ...
Page 357: ...22 12 22 TROUBLESHOOTING ...
Page 359: ...22 14 22 TROUBLESHOOTING MEMO ...
Page 429: ...App 32 APPENDICES Trigonometric function Classification Symbol Description ...
Page 537: ...App 140 APPENDICES REMARK 1 Message 1 An error code is displayed in 2 Alert 1 3 Alert 2 ...
Page 539: ...App 142 APPENDICES 2 Q2ACPU Q2ACPU S1 modules Unit mm inch ...
Page 541: ...App 144 APPENDICES 2 A66P power supply module Unit mm inch ...
Page 543: ...App 146 APPENDICES 3 A35B base unit 4 A38B A38HB A38HBEU base unit Unit mm inch Unit mm inch ...
Page 567: ...MEMO ...
Page 569: ......
Page 570: ......