Omron SYSMAC C200HS Operation Manual page 177

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

Data Movement
Description
Bi
1
MSB
Destination bit (00 to 15)
Flags
5-16-9 MOVE DIGIT – MOVD(83)
Limitations
Description
When the execution condition is OFF, MOVB(82) is not executed. When the exe-
cution condition is ON, MOVB(82) copies the specified bit of S to the specified bit
in D. The bits in S and D are specified by Bi. The rightmost two digits of Bi desig-
nate the source bit; the leftmost two bits designate the destination bit.
Bi
2
0
1
LSB
S
Source bit (00 to 15)
D
ER:
C is not BCD, or it is specifying a non-existent bit (i.e., bit specification
must be between 00 and 15).
Indirectly addressed DM word is non-existent. (Content of ∗DM word is
not BCD, or the DM area boundary has been exceeded.)
Ladder Symbols
MOVD(83)
S
Di
D
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 exe-
cution 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 re-
ceive 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
Bit
15
0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1
1
2
Bit
15
0 1 0 1 0 1 0 0 0 1 1 1 0 0 0 1
Bit
15
0 1 0 0 0 1 0 0 0 1 1 1 0 0 0 1
@MOVD(83)
S
Di
D
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.
Section 5-16
Bit
00
0
1
Bit
00
Bit
00
Operand Data Areas
S: Source word
IR, SR, AR, DM, HR, TC, LR, #
Di: Digit designator (BCD)
IR, SR, AR, DM, HR, TC, LR, #
D: Destination word
IR, SR, AR, DM, HR, TC, LR
167

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents