11
- 21
11.1 Scan Time
11.1.3 Factors that increase the scan time
11
CPU MODULE PROCESSING TIME
(a) Scan time increased when local devices in subroutine program are made
available
When SM776 (setting of whether local devices are usable or not when the
subroutine program is called) is turned ON to make the local devices in the
subroutine program available, the scan time increases per call by the time
indicated in Table11.21 and Table11.22.
The definition of n, N1, N2, and N3 in the following table is as follows:
• n: The number of local device points (Unit: k word)
• N1: The number of device points that specified a local device
• N2: The number of word device points that specified a local device
• N3: The number of bit device points that specified a local device
Table11.21 When local device file in standard RAM is used
CPU module
Increase of scan time when a
subroutine in the same file is called
Increase of scan time when a subroutine in
another file is called
Q02CPU
(0.35 n + 0.05) 10
3
s
(0.70 n + 0.10) 10
3
s
Q02HCPU, Q06HCPU,
Q12HCPU, Q25HCPU,
Q02PHCPU, Q06PHCPU,
Q12PHCPU, Q25PHCPU,
Q12PRHCPU, Q25PRHCPU
(0.15 n + 0.03) 10
3
s
(0.30 n + 0.05) 10
3
s
Q02UCPU
0.00 s
(24 N1) + (0.44 (N2 + (N3
16))) + 280 s
Q03UDCPU, Q03UDECPU
0.00 s
(16 N1) + (0.44 (N2 + (N3
16))) + 100 s
Q04UDHCPU, Q06UDHCPU,
Q13UDHCPU, Q26UDHCPU,
Q04UDEHCPU, Q06UDEHCPU,
Q13UDEHCPU, Q26UDEHCPU
0.00 s
(16 N1) + (0.20 (N2 + (N3
16))) + 100 s
Table11.22 When local device file in SRAM card is used
CPU module
Increase of scan time when a
subroutine in the same file is called
Increase of scan time when a subroutine in
another file is called
Q02CPU
(1.15 n + 0.30) 10
3
s
(2.30 n + 0.60) 10
3
s
Q02HCPU, Q06HCPU,
Q12HCPU, Q25HCPU,
Q02PHCPU, Q06PHCPU,
Q12PHCPU, Q25PHCPU,
Q12PRHCPU, Q25PRHCPU
(0.85 n + 0.03) 10
3
s
(1.65 n + 0.30) 10
3
s
Q02UCPU
0.00 s
(32 N1) + (0.86 (N2 + (N3
16))) + 320 s
Q03UDCPU, Q03UDECPU
0.00 s
(24 N1) + (0.86 (N2 + (N3
16))) + 120 s
Q04UDHCPU, Q06UDHCPU,
Q13UDHCPU, Q26UDHCPU,
Q04UDEHCPU, Q06UDEHCPU,
Q13UDEHCPU, Q26UDEHCPU
0.00 s
(24 N1) + (0.80 (N2 + (N3
16))) + 120 s
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......