Omron SYSMAC CPM2B-S001M-DRT Operation Manual page 131

Table of Contents

Advertisement

Cycle Time
8-1-2
Cycle time
1 ms or longer
10 ms or longer
20 ms or longer
100 ms or longer
120 ms or longer
200 ms or longer
8-1-3
1. Overseeing
2. Wait for completion of CompoBus/S
communications
3. CompoBus/S input refreshing
4. Program execution
5. Cycle time calculation
6. CompoBus/S output refreshing
7. I/O refreshing
8. DeviceNet I/O refreshing
9. Peripheral port servicing
10. RS-232C port servicing
11. DeviceNet communications servicing
Total cycle time
120
Downloaded from
Elcodis.com
electronic components distributor
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.
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).
TIMH(15) may be inaccurate when TC 004 through TC 255 are used (operation will be normal for TC
000 through TC 003).
Programming using the 0.02-second Clock Bit (SR 25401) may be inaccurate.
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).
The FALS 9F monitoring time SV is exceeded. A system error (FALS 9F) is generated, and operation
stops.
Programming using the 0.2-second Clock Bit (SR 25501) may be inaccurate.
Cycle Time Example
In this example, the cycle time is calculated for a Unit. The I/O is configured as
follows:
6 inputs:
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:
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.
Process
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)
Operation conditions
1 word (00000 to 00005)
Variable (no minimum set)
Calculation method
Time when peripheral
---
0.3 ms
---
0
---
0.02 ms
1.26 × 500 (µs)
0.6 ms
---
0
---
0.05 ms
---
0.06 ms
---
0.1 ms
---
0.55 ms
---
0
---
0
(1) + (2) + (3) + - - - + (11) 1.68 ms
Section 8-1
Time when peripheral
port is used
port is not used
0.3 ms
0.5 ms
0.02 ms
0.6 ms
0
0.05 ms
0.06 ms
0.1 ms
0
0
0
1.63 ms

Advertisement

Table of Contents
loading

Table of Contents