![Omron CVM1D Operation Manual Download Page 359](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532359.webp)
(172)
CCL
0000
01
354
Wd 0500
89AB
D00000
1234
$2000
D00001
5678
$2001
D00002
ABCD $2002
D00003
EF13 $2003
D00004
89AB $2004
D00005
8860
$2005
D00006
90CD $2006
D00007
00FF $2007
D00008
89AB $2008
D00009
810C $2009
Memory
address
10 words
Same data
Same data
5-28 Flag/Register Instructions
The Flag/Register Instruction and used to save or reload the contents of the
Arithmetic Flags or the index/data registers.
5-28-1 LOAD FLAGS: CCL(172)
(172)
CCL
Variations
j
CCL(172)
Ladder Symbol
When the execution condition is OFF, CCL(172) is not executed. When the ex-
ecution condition is ON, CCL(172) changes the Arithmetic Flags to the status
recorded by the last CCS(173) instruction.
The following table shows the Arithmetic Flags affected by CCL(172).
Bit
Arithmetic Flag
A50003
Instruction Execution Error Flag
A50004
Carry Flag
A50005
Greater Than Flag
A50006
Equals Flag
A50007
Less Than Flag
A50008
Negative Flag
A50009
Overflow Flag
A50010
Underflow Flag
CCL(172) should not be executed unless CCS(173) has been executed earlier.
Arithmetic Flags are changed to the status recorded by the last CCS(173) in-
struction.
Example
When CIO 000001 is ON in the following example, the status of the arithmetic
flags are all restored to the status they had the last time CCS(173) was
executed.
Address
Instruction
Operands
00000
LD
000001
00001
CCL(172)
Description
Precautions
Flags
Flag/Register Instructions
Section 5-28
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...