Mitsubishi Q2ACPU User Manual page 520

Qna series melsec
Table of Contents

Advertisement

APPENDICES
REMARK
(b) To execute the main sequence program and subsequence program serially as
one program, modify the parameters and program as follows.
Modification of parameters
Set the file names in the order of main sequence program and subsequence
program in program setting in "Auxiliary setting" in the parameter mode.
Select scan execution as the execution type for both the main sequence
program and the subsequence program.
Modification of the sequence program
• The CHG instruction that switches between main sequence and
subsequence programs is converted to OUT SM1255 after A
conversion. Delete it as it is not required for QnACPU.
• If the same interrupt program or pointer is used for the main sequence
program or subsequence program, use only one interrupt program or
pointer.
An ACPU executes END processing on switching from execution of the main
sequence program to execution of the subsequence program, and also executes
END processing after execution of the subsequence program.
Note that END processing is executed only after execution of the second program
when a QnACPU executes two programs consecutively.
Statements and notes are entered in the sequence program file after A
conversion.
No modification is required after conversion.
App - 123
QnA
QnA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q3acpuQ4acpuQ2acpus1

Table of Contents