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
Содержание Q2ACPU
Страница 1: ......
Страница 2: ......
Страница 221: ...12 12 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU ...
Страница 222: ...12 13 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU ...
Страница 237: ...12 28 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU MEMO ...
Страница 269: ...16 11 16 POWER SUPPLY MODULE 2 Names and description of parts of the A62P A62PEU and A65P module ...
Страница 271: ...16 13 16 POWER SUPPLY MODULE 4 Names and description of parts of the A66P ...
Страница 343: ...21 21 13 MAINTENANCE AND INSPECTION 21 4 2 Replacement of the fuse for an output module ...
Страница 357: ...22 12 22 TROUBLESHOOTING ...
Страница 359: ...22 14 22 TROUBLESHOOTING MEMO ...
Страница 417: ...App 20 APPENDICES 3 Shift instructions Classification Symbol Description n bit shift 1 bit shift 1 word shift ...
Страница 429: ...App 32 APPENDICES Trigonometric function Classification Symbol Description ...
Страница 432: ...App 35 APPENDICES 15 Clock instructions Classification Symbol Description Clock data read write ...
Страница 537: ...App 140 APPENDICES REMARK 1 Message 1 An error code is displayed in 2 Alert 1 3 Alert 2 ...
Страница 538: ...App 141 APPENDICES APPENDIX 6 EXTERNAL DIMENSIONS Appendix 6 1 CPU Module 1 Q3ACPU Q4ACPU modules Unit mm inch ...
Страница 539: ...App 142 APPENDICES 2 Q2ACPU Q2ACPU S1 modules Unit mm inch ...
Страница 541: ...App 144 APPENDICES 2 A66P power supply module Unit mm inch ...
Страница 542: ...App 145 APPENDICES Appendix 6 3 Main Base Unit 1 A32B base unit 2 A32B S1 base unit Unit mm inch Unit mm inch ...
Страница 543: ...App 146 APPENDICES 3 A35B base unit 4 A38B A38HB A38HBEU base unit Unit mm inch Unit mm inch ...
Страница 567: ...MEMO ...
Страница 569: ......
Страница 570: ......