Move Digit: Movd(043) - Omron SYSMAC CVM1 Series Operation Manual

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Data Movement Instructions

5-15-13 MOVE DIGIT: MOVD(043)

Ladder Symbol
(043)
MOVD
S
Variations
j MOVD(043)
Description
Digit Designator
Precautions
Flags
0000
00
Di
D
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.
Digit number: 3 2 1 0
The following show examples of the data movements for various values of Di.
Di: 0010
S
0
1
2
3
Di: 0031
S
0
1
2
3
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.
Content of *DM word is not BCD when set for BCD.
ER (A50003):
At least one of the rightmost three digits of Di is not between
0 and 3.
(043)
MOVD D00000
#0201
Operand Data Areas
S: Source word
CIO, G, A, T, C, #, DM, DR, IR
Di: Digit designator
CIO, G, A, T, C, #, DM, DR, IR
D: Destination word
CIO, G, A, T, C, DM, DR, IR
First digit in S (0 to 3)
Number of digits (0 to 3)
First digit in D (0 to 3)
Not used.
D
0
1
2
3
D
0
1
2
3
D00003
Section 5-15
0: 1 digit
1: 2 digits
2: 3 digits
3: 4 digits
Di: 0030
S
D
0
0
1
1
2
2
3
3
Di: 0023
S
D
0
0
1
1
2
2
3
3
Address
Instruction
00000
LD
00001
MOVD(043)
Operands
000000
D00000
#0201
D00003
189

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents