![background image](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532194.webp)
189
5-15-13 MOVE DIGIT: MOVD(043)
Variations
j
MOVD(043)
(043)
MOVD
S
Di
D
Operand Data Areas
Ladder Symbol
S: Source word
CIO, G, A, T, C, #, DM, DR, IR
D: Destination word
CIO, G, A, T, C, DM, DR, IR
Di: Digit designator
CIO, G, A, T, C, #, DM, DR, IR
When the execution condition is OFF, MOVD(043) is not executed. When the
execution condition is ON, MOVD(043) copies the content of the specified dig-
it(s) in S to the specified digit(s) in D. Up to four digits can be transferred at one
time. The first digit to be copied, the number of digits to be copied, and the first
digit to receive the copy are designated in Di as shown below. Digits from S will
be copied to consecutive digits in D starting from the designated first digit and
continued for the designated number of digits. If the last digit is reached in either
S or D, further digits are used starting back at digit 0.
First digit in S (0 to 3)
Number of digits (0 to 3)
0: 1 digit
1: 2 digits
2: 3 digits
3: 4 digits
First digit in D (0 to 3)
Digit number:
3 2 1 0
Not used.
The following show examples of the data movements for various values of Di.
0
1
2
3
0
1
2
3
0
1
2
3
0
1
2
3
S
Di: 0031
Di: 0023
Di: 0030
Di: 0010
S
S
S
0
1
2
3
D
0
1
2
3
D
0
1
2
3
D
0
1
2
3
D
The rightmost three digits of Di must each be between 0 and 3.
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.
At least one of the rightmost three digits of Di is not between
0 and 3.
Address
Instruction
Operands
00000
LD
000000
00001
MOVD(043)
D00000
#0201
D00003
Description
Digit Designator
Precautions
Data Movement Instructions
Section 5-15
(043)
MOVD D00000
#0201
D00003
0000
00
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...