![background image](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532179.webp)
174
5-14-24 ONE DIGIT SHIFT RIGHT: SRD(069)
(069)
SRD
St
E
E: End word
CIO, G, A, DM
St: Starting word
CIO, G, A, DM
Operand Data Areas
Ladder Symbol
Variations
j
SRD(069)
When the execution condition is OFF, SRD(069) is not executed. When the ex-
ecution condition is ON, SRD(069) shifts data between St and E (inclusive) by
one digit (four bits) to the right. 0 is written into the leftmost digit of E and the right-
most digit of St is lost.
2
E
3
1
St
4 5
C
8
F
0
...
Lost data
St must be less than or equal to E. St and E must be in the same data area.
The shift operation might not be completed if a power interruption occurs during
execution of the instruction.
Note Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
Content of
*
DM word is not BCD when set for BCD.
The St and E words are in different areas, or St is greater
than E.
Example
When CIO 000000 is ON in the following example, 0 is shifted into digit 3 of
D00012, the contents of all digits in D00012 are shifted one digit to the right, the
content of digit 0 of D00012 is shifted to digit 3 of D00011, the contents of all dig-
its in D00011 are shifted one digit to the right, the content of digit 0 of D00011 is
shifted to digit 3 of D00010, the contents of all digits in D00010 are shifted one
digit to the right, and the content of digit 0 of D00010 is lost.
Address
Instruction
Operands
00000
LD
000000
00001
SRD(069)
D00010
D00012
1
2
3
4
5
6
7
8
9
A
B
C
0
1
2
3
4
5
6
7
8
9
A
B
16
3
16
2
16
1
16
0
16
3
16
2
16
1
16
0
16
3
16
2
16
1
16
0
16
3
16
2
16
1
16
0
16
3
16
2
16
1
16
0
16
3
16
2
16
1
16
0
E: D00012
St+1: D00011
E: D00012
St: D00010
St+1: D00011
“0”
Lost data
St: D00010
Description
Precautions
Shift Instructions
Section 5-14
0000
00
(069)
SRD
D00010 D00012
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...