Appendix 4.12 Chk Instruction, Ix Instruction - Mitsubishi Q2ACPU User Manual

Qna series melsec
Table of Contents

Advertisement

APPENDICES

Appendix 4.12 CHK Instruction, IX Instruction

(1)
(2)
CHK instruction
The CHK instruction operates as a fault check instruction for QnACPU.
For ACPU, there are two types of processing depending on the CPU type.
• Fault check
• Bit device output inversion
After conversion, program modification is required for each processing.
[For fault check]
Modify the CJ instruction in the step before the CHK instruction to a CHKST
instruction.
The CHK instruction pointer (P254) and the CJ instruction destination pointer
are converted to pointers with the same number. As the above pointers are
not used for QnACPU, delete them.
[For bit device output inversion]
The QnACPU has the FF instruction for inverting bit device outputs.
Modify the CHK instruction to the FF instruction.
IX instruction
The IX instruction is converted, but not executed. Modify the program so that all the
devices that are objects of the IX instruction are subject to indexing.
AnCPU, AnNCPU (direct I/O control mode),
A3HCPU, AnACPU, AnUCPU
AnNCPU (refresh I/O control mode)
App - 130

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q3acpuQ4acpuQ2acpus1

Table of Contents