Scan Execution Type Program; Fixed Scan Execution Type Program - Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

Scan execution type program

Scan execution type program is executed only once per every scan starting from the scan following the scan in which the
initial execution type program was executed.
END processing
Initial execution type program
Scan execution type program A
Scan execution type program B
Scan execution type program C
When multiple scan execution type programs are executed, the execution time of the scan execution type program will be the
total time until all the scan execution type programs finish execution. Note that if interrupt program, fixed scan execution type
program, and/or event execution type program are executed before the scan execution type program finishes execution, the
execution time for these programs is also included.

Fixed scan execution type program

An interrupt program which is executed at a specified time interval. Differently from the normal interrupt program, this type of
program does not require the interrupt pointer (I) and the IRET instruction and is executed for each program file unit.
Fixed scan interval
END processing
Scan execution type program
Fixed scan execution type program
To execute a fixed scan execution type program, the EI instruction must be used to enable interrupts.
1 RUNNING A PROGRAM
54
1.5 Program Execution Type
Power-on→RUN,
STOP→RUN
1st scan
2nd scan
0
END
0
END
0
END
Scan time
Condition
Condition
established
established
3rd scan
0
END
0
END
0
END
4th scan
0
END
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents