EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 997

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
964
Other Instructions Section 3-29
Precautions WDT(094) can be used more than once in a cycle. When WDT(094) is exe-
cuted more than once the cycle time extensions are added together, although
the total must not exceed 40,000 ms. If WDT(094) cannot be executed again if
the cycle has already been extended to 40,000 ms.
Examples The default maximum cycle time (1,000 ms) is used in this example.
1,2,3... 1. When CIO 0.00 turns ON, the first WDT(094) instruction extends the max-
imum cycle time by 300 ms (30
× 10 ms). Thus, the maximum cycle time
is 1,300 ms at this point.
2. When CIO 0.01 turns ON, the second WDT(094) instruction attempts to
extend the maximum cycle time by another 39,000 ms. Since the new max-
imum cycle time (40,300 ms) exceeds the upper limit of 40,000 ms, the ex-
tra 300 ms is ignored. As a result, the second WDT(094) instruction
actually extends the maximum cycle time by 38,700 ms.
3. When CIO 0.02 turns ON, the third WDT(094) instruction attempts to ex-
tend the maximum cycle time by another 1,000 ms. Since the maximum cy-
cle time has already reached the upper limit of 40,000 ms, the third
WDT(094) instruction is not executed.
3-29-4 SAVE CONDITION FLAGS: CCS(282)
Purpose Saves the current status of the Condition Flags in a separate area within the
CPU Unit. The current status of the Flags is preserved so that it can be read
(restored) with CCL(283) at a different location in the program, in a different
task, or even in a later cycle.
Ladder Symbol
Variations
Maximum Cycle
Time
A262 and
A263
These words contain the maximum cycle time in
32-bit binary. This value is updated every cycle.
Present Cycle Time A264 and
A265
These words contain the present cycle time in 32-
bit binary. This value is updated every cycle.
Name Address Operation
1
2
3
0.00
0.01
0.02
CCS(282)
Variations Executed Each Cycle for ON Condition CCS(282)
Executed Once for Upward Differentiation @CCS(282)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.

Table of Contents

Related product manuals