![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423153.webp)
140
5-14-11 MOVE DIGIT – MOVD(83)
S: Source word
IR, SR, AR, DM, HR, TC, LR, #
Di: Digit designator (BCD)
IR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
D: Destination word
IR, AR, DM, HR, TC, LR
MOVD(83)
S
Di
D
@MOVD(83)
S
Di
D
Limitations
The rightmost three digits of Di must each be between 0 and 3.
When the execution condition is OFF, MOVD(83) is not executed. When the
execution condition is ON, MOVD(83) copies the content of the specified
digit(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 desig-
nated 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)
Not used.
Digit number:
3 2 1 0
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
Flags
ER:
At least one of the rightmost three digits of Di is not between 0 and 3.
Indirectly addressed DM word is non-existent. (Content of
*
DM word
is not BCD, or the DM area boundary has been exceeded.)
Description
Digit Designator
Data Movement
Section 5-14
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...