Save Condition Flags: Ccs(282) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Other Instructions
Examples
1,2,3...

3-31-5 SAVE CONDITION FLAGS: CCS(282)

Ladder Symbol
Variations
Applicable Program Areas
Description
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 000000 turns ON, the first WDT(094) instruction extends the
maximum cycle time by 300 ms (30
time is 1,300 ms at this point.
2. When CIO 000001 turns ON, the second WDT(094) instruction attempts
to extend the maximum cycle time by another 39,000 ms. Since the new
maximum cycle time (40,300 ms) exceeds the upper limit of 40,000 ms, the
extra 300 ms is ignored. As a result, the second WDT(094) instruction ac-
tually extends the maximum cycle time by 38,700 ms.
3. When CIO 000002 turns ON, the third WDT(094) instruction attempts to
extend the maximum cycle time by another 1,000 ms. Since the maximum
cycle time has already reached the upper limit of 40,000 ms, the third
WDT(094) instruction is not executed.
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.
This instruction is supported by CS1-H, CJ1-H, CJ1M, and CS1D CPU Units
only.
CCS(282)
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
When the execution condition is ON, CCS(282) stores the current status of
the Condition Flags (except for the ALWAYS ON and ALWAYS OFF Flags) in
10 ms). Thus, the maximum cycle
Step program areas
OK
OK
Section 3-31
1
2
3
CCS(282)
@CCS(282)
Not supported.
Subroutines
Interrupt tasks
OK
1171

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents