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
- 55
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
(f) Execution interval of a fixed scan execution type program
Note that the execution interval of a fixed scan execution type program may
increase from the set interval depending on the time set for disabling interrupts by
the DI instruction (interrupt disabled time).
When the interrupt disabled time by the DI instruction is set to longer, use an
interrupt program by fixed scan interrupt (I28 to I31) instead of a fixed scan
execution type program.
* Means the highest common factor of fixed scan execution interval set to several fixed scan execution
type programs.
When the expression 1) is satisfied, the actual execution interval of a fixed scan
execution type program may increase from the set interval by the time shown in
the expression below.
The following shows an example of the increase in execution time of a fixed scan
execution type program.
With the settings above, the expression 1) is 0.5ms < 5ms.
Therefore, the execution time of a fixed scan execution type program whose
execution interval is set to 10ms increases 100ms (5 0.5 10 = 100) at the
most.
Highest common factor of fixed scan execution interval* < Interrupt disabled time ••• Expression 1)
Example
• Fixed scan execution interval •••10ms, 5ms, 1ms, 0.5ms
• Highest common factor of fixed scan execution interval ••• 0.5ms
• Interrupt disabled time (DI) •••5ms
• (Interrupt enabled time (EI) •••less than 0.5ms)
Figure 3.49 Program execution operation and interrupt enabled status
Interrupt disabled time
Highst common factor of scan execution interval
Fixed scan execution interval set to the corresponding program
EI
EI
END
END
DI
DI
Program execution
operation
Interrupt enabled/disabled
status
n scan
n+1 scan
Ena-
bled
Ena-
bled
Disabled
Disabled
Disabled
Less than
0.5ms
Less than
0.5ms
Interrupt disabled time = 5ms
Interrupt disabled time = 5ms
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......