Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 997

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Other Instructions
Precautions
Examples
1,2,3...
3-29-4 SAVE CONDITION FLAGS: CCS(282)
Purpose
Ladder Symbol
Variations
964
Name
Address
Maximum Cycle
A262 and
Time
A263
Present Cycle Time
A264 and
A265
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.
The default maximum cycle time (1,000 ms) is used in this example.
1. When CIO 0.00 turns ON, the first WDT(094) instruction extends the max-
imum cycle time by 300 ms (30
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.
0.00
0.01
0.02
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.
CCS(282)
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
These words contain the maximum cycle time in
32-bit binary. This value is updated every cycle.
These words contain the present cycle time in 32-
bit binary. This value is updated every cycle.
10 ms). Thus, the maximum cycle time
1
2
3
Section 3-29
Operation
CCS(282)
@CCS(282)
Not supported.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents