Save Flags: Ccs(173); Load Register: Regl(175) - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Flag/Register Instructions

5-28-2 SAVE FLAGS: CCS(173)

Ladder Symbol
Description
Precautions
Flags
Example
0000
00

5-28-3 LOAD REGISTER: REGL(175)

Ladder Symbol
Variations
j REGL(175)
Description
Precautions
Flags
Example
0000
00
Variations
j CCS(173)
(173)
CCS
When the execution condition is OFF, CCS(173) is not executed. When the ex-
ecution condition is ON, CCS(173) records the current status of the Arithmetic
Flags in the CPU for later retrieval by the CCL(172) instruction.
Refer to the table in 5-28-1 LOAD FLAGS: CCL(172) for the Arithmetic Flags
recorded by CCS(173).
When CCS(173) is executed, it records over the data recorded by the previous
CCS(173) instruction.
No flags are affected by CCS(173).
When CIO 000000 is ON in the following example, the status of all the arithmetic
flags is stored in memory for possible later retrieval.
(173)
CCS
Operand Data Area
(175)
S: 1
REGL
S
When the execution condition is OFF, REGL(175) is not executed. When the ex-
ecution condition is ON, REGL(175) copies the data from S, S+1, and S+2 to
data registers DR0, DR1, and DR2, and copies the data from S+3, S+4, and S+5
to index registers IR0, IR1, and IR2.
Refer to page 115 for general precautions on operand data areas.
Content of *DM word is not BCD when set for BCD.
ER (A50003):
When CIO 000000 is ON in the following example, the contents of words
D10000 through D10005 is copied to the data and index registers.
(175)
REGL D10000
D10000
3 5 2 A
D10001
C 7 3 9
D10002
1 D A 2
D10003
E 5 2 A
D10004
0 E 7 3
D10005
5 1 B 0
st
source word
CIO, G, A, DM
3 5 2 A
DR0
C 7 3 9
DR1
1 D A 2
DR2
E 5 2 A
IR0
0 E 7 3
IR1
5 1 B 0
IR2
Section 5-28
Address Instruction
Operands
00000
LD
000000
00001
CCS(173)
Address Instruction
Operands
00000
LD
000000
00001
REGL(175)
D10000
367

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents