3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
3.3 Settings for Creation and Execution of Multiple Sequence Programs
3.3.5 Fixed scan execution type program
3
- 49
1
O
verv
iew
2
Per
fo
rma
nce
S
p
ecifica
tio
n
3
S
equ
en
ce P
ro
g
ra
m
Co
nfig
ura
tio
n a
nd
E
xecut
io
n Co
nd
iti
o
ns
4
I/O N
unb
er
Assig
n
m
e
nt
5
Me
mor
ie
s a
nd
File
s
Ha
nd
led
by CP
U Mo
du
le
6
Func
tions
7
Co
mmu
nic
a
tion
us
in
g
bu
ilt
-i
n E
th
e
rne
t po
rt
s o
f
CP
U mod
u
le
8
Co
mm
un
icatio
n
w
ith
Int
e
lli
ge
nt
Fun
ction
Mo
du
le
3.3.5 Fixed scan execution type program
(1) Definition of fixed scan execution type program
Note24
This program is executed at the specified time intervals.
It can be executed at fixed cycle intervals for each file without description of interrupt
pointers and IRET instructions.
POINT
When executing the fixed scan execution type program, put the initial execution
type program/scan execution type program into the interrupt allowable status by
the EI instruction.
(2) Fixed scan execution type program processing
Fixed scan execution type program processing is explained below.
(a) When there are multiple fixed scan execution type programs
Fixed scan execution type programs are executed at the specified time intervals.
When multiple fixed scan execution type programs reach the specified time at the
same time, they are executed in ascending order of the numbers set in the
program setting of the PLC parameter dialog box. (
(4) in this section)
(b) When there are fixed scan execution type program and interrupt program
When the fixed scan execution type program and an interrupt program (I28 to 31)
reach the specified time at the same time, the interrupt program is executed first
with priority.
Note24
Figure 3.44 Execution of fixed scan execution type program
Basic
Note3.25
The fixed scan execution type program is not available for the Basic QCPU.
Basic
Fixed scan interval
END processing
Fixed scan execution
type program
Scan execution
type program
Condition
enabled
Condition
enabled