Online Editing Cycle Time Extension - Omron CJ - 09-2009 Operation Manual

Programmable controllers
Table of Contents

Advertisement

Computing the Cycle Time
Item
User program
Peripheral port connection
Fixed cycle time processing
RS-232C port connection
Peripheral servicing with other
devices (Special I/O Units, CPU
Bus Units, and file access)
Calculation Example
Process name
(1) Overseeing
(2) Program execution
(3) Cycle time calculation (Fixed cycle time not set)
(4) I/O refreshing
(5) Peripheral servicing
Cycle time

10-4-5 Online Editing Cycle Time Extension

468
20 Ksteps
Yes and no
No
No
No
Calculation
---
0.016 µs × 12,000 + 0.14 µs/
3 steps × 6,000 + 0.24 µs/
4 steps × 2,000
0.0041 ms × 2 + 0.0041 ms × 2
+ 0.05 ms × 2 + 0.19 ms × 2
(Peripheral port connected only) 0.1 ms
(1) + (2) + (3) + (4) + (5)
When online editing is executed from a Programming Device (such as Pro-
gramming Console or CX-Programmer) while the CPU Unit is operating in
MONITOR mode to change the program, the CPU Unit will momentarily sus-
pend operation while the program is being changed. The period of time that
the cycle time is extended is determined by the following conditions.
• Editing operations (insert/delete/overwrite).
• Types of instructions used.
The cycle time extension for online editing will be negligibly affected by the
size of task programs.
The following table shows the maximum expected cycle time extension due to
online editing when the maximum program size for each task is 64 Ksteps.
CPU Unit
CJ1-H-R CPU Unit (CPU6@H-R) 8 ms
CPU6@H CJ1-H Unit (CPU6@)
CPU4@H CJ1-H Unit (CPU4@)
CJ1M CPU Unit
CJ1 CPU Unit
Details
LD instructions: 12 Ksteps
MOV instructions: 6 Ksteps
+F instructions: 2K steps
Note:
• LD: Each instruction is 1 step.
• MOV: Each instruction is 3 steps.
• +F: Each instruction is 4 steps
Processing time
With Programming
Device
0.13 ms
0.59 ms
0 ms
0.4964 ms
1.3164 ms
Increase in cycle time for online editing
8 ms
11 ms
14 ms (Program size: 20 steps)
12 ms
Section 10-4
Without Programming
Device
0.13 ms
0.59 ms
0 ms
0.4964 ms
0 ms
1.2164 ms

Advertisement

Table of Contents
loading

Table of Contents