12-11
12 CPU Unit Cycle Time
CJ2 CPU Unit Software User’s Manual
12-2 Computing the Cycle Time
12
12-2-4 Cycle Time Calculation Example
z Example 1: Application Based on Basic Instructions and Basic I/O Units
The following example shows the method used to calculate the cycle time when only Basic I/O Units
are connected in the PLC and the program consists of 20K steps of basic and data movement
instructions. Here, a CJ2H-CPU6@-EIP CPU Unit is used.
Conditions
Calculation Example
12-2-4 Cycle Time Calculation Example
Item Details
CPU Unit CJ2H-CPU6@-EIP
CJ-series CPU Rack CJ1W-ID261 64-point Input
Units
2 Units
CJ1W-OD261 64-point Out-
put Units
2 Units
User program 20 Ksteps LD instructions: 10 Ksteps
MOV instructions: 10 Ksteps
(LD: Each instruction is 1 step.
MOV: Each instruction is 3 steps.)
Peripheral USB port connection Yes and no
Fixed cycle time processing No
Serial port connection No
Peripheral servicing with other
devices (Special I/O Units, CPU
Bus Units, and file access)
No
Process name Calculation
Processing time
Programming
Device connected to
peripheral USB port
Programming Device
not connected to
peripheral USB port
(1) Overseeing --- 0.20 ms 0.20 ms
(2) Program execution 0.016 µs × 10,000 + 0.14 µs/
3 steps × 10,000
0.63 ms 0.63 ms
(3) Cycle time calculation
for minimum cycle time
(Fixed cycle time not set) 0 ms 0 ms
(4) I/O refreshing 0.0039 ms × 2 + 0.0039 ms × 2 0.0164 ms 0.0164 ms
(5) Peripheral servicing (Peripheral USB port connec-
tion only)
0.1 ms 0 ms
Cycle time (1) + (2) + (3) + (4) + (5) 0.95 ms 0.85 ms