![background image](http://html1.mh-extra.com/html/omron/cpm2c-s100c/cpm2c-s100c_operation-manual_742520164.webp)
142
Cycle Time
Section 7-1
7-1-2
Cycle Time and Operations
The effects of the cycle time on operations are as shown below. When a long
cycle time is affecting operation, either reduce the cycle time or improve
responsiveness with interrupt programs.
7-1-3
Cycle Time Example
In this example, the cycle time is calculated for a Unit. The I/O is configured
as follows:
6 inputs:
1 word (00000 to 00005)
4 outputs:
1 word (01000 to 01003)
The rest of the operating conditions are assumed to be as follows:
User’s program: 500 instructions (consists of only LD and OUT)
Cycle time:
Variable (no minimum set)
The average processing time for a single instruction in the user’s program is
assumed to be 1.26
µ
s. The cycle times are as shown in the following table.
Note
1.
The CompoBus/S communications wait time can be calculated by sub-
tracting the time required for processes 9, 10, 11, and 1 from the Compo-
Bus/S communications response time.
CompoBus/S wait time = CompoBus/S response time – (9) – (10) – (11) –
(1)
Cycle time
Operation conditions
1 ms or longer
TMHH(––) may be inaccurate when TC 000 through TC 003 or TC 008 through TC 255 are used
(operation will be normal for TC 004 through TC 007).
10 ms or longer
TIMH(15) may be inaccurate when TC 004 through TC 255 are used (operation will be normal for TC
000 through TC 003).
20 ms or longer
Programming using the 0.02-second Clock Bit (SR 25401) may be inaccurate.
100 ms or longer
TIM may be inaccurate. Programming using the 0.1-second Clock Bit (SR 25500) may be inaccurate.
A CYCLE TIME OVER error is generated (SR 25309 will turn ON).
120 ms or longer
The FALS 9F monitoring time SV is exceeded. A system error (FALS 9F) is generated, and operation
stops.
200 ms or longer
Programming using the 0.2-second Clock Bit (SR 25501) may be inaccurate.
Process
Calculation method
Time when peripheral
port is used
Time when peripheral
port is not used
1. Overseeing
---
0.3 ms
0.3 ms
2. Wait for completion of CompoBus/S
communications
---
0
0.5 ms
3. CompoBus/S input refreshing
---
0.02 ms
0.02 ms
4. Program execution
1.26
×
500 (
µ
s)
0.6 ms
0.6 ms
5. Cycle time calculation
---
0
0
6. CompoBus/S output refreshing
---
0.05 ms
0.05 ms
7. I/O refreshing
---
0.06 ms
0.06 ms
8. DeviceNet I/O refreshing
---
0.1 ms
0.1 ms
9. Peripheral port servicing
---
0.55 ms
0
10. RS-232C port servicing
---
0
0
11. DeviceNet communications servicing
---
0
0
Total cycle time
(1) + (2) + (3) + - - - + (11) 1.68 ms
1.63 ms
Содержание CPM2C-S100C
Страница 2: ......
Страница 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 14: ...xiv ...
Страница 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Страница 222: ...200 Programming Example Section 8 3 ...
Страница 250: ......
Страница 256: ......
Страница 258: ......
Страница 260: ...238 Support Software Appendix C ...
Страница 268: ......