Scan Execution Type Program - Mitsubishi Q2ACPU User Manual

Qna series melsec
Table of Contents

Advertisement

12.
OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU

12.1.2 Scan execution type program

(1)
(2)
(3)
Power ON/RESET
END processing
Initial execution type programs
Scan execution type program A
Scan execution type program B
Scan execution type program C
(4)
REMARK
Definition
(a) The scan execution type program is a program that is executed once for every
scan, starting from the next scan after execution of the initial execution type
program.
(b) The execution type is set to "Scan" in program setting in the parameter mode of
GPP function.
Execution of multiple scan execution type programs
If there are more than one scan execution type program, they are executed in
ascending order of the program numbers set in the parameter mode.
END processing
When all the scan execution type programs have been executed, END processing is
performed and then the first scan execution type program is executed again.
By inserting a COM instruction at the end of a scan execution type program, END
processing (general data processing, link refresh) can be executed for each program.
STOP
RUN
RUN
1st scan
When constant scan time is set
When constant scan is set, the scan execution type program is executed once for
every preset constant scan time.
*1
Constant scan is a function whereby a scan execution type program is
repeatedly executed at fixed intervals.
See Section 10.2.
POINT
(1) For the index register processing in the case where an interrupt program is
executed during execution of a scan execution type program, refer to the
QnACPU Programming Manual (Fundamentals).
2nd scan
0
END
0
END
0
END
Scan time
*1
12 - 7
3rd scan
0
END
0
END
0
END
4th scan
0
END
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q3acpuQ4acpuQ2acpus1

Table of Contents