Delta AS Series Programming Manual page 422

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

10
Unchanged
10
Suppose the number in S is K1234, and the number in D is K5678. After the instruction is executed, the number in
S is 1234, and the number in D is 5128.
4.
When SM605 is ON, the data involved in the instruction is binary numbers.
4 digit
4 digit
Unchanged
Suppose the number in S is 16#1234, and the number in D is 16#5678. After the instruction is executed, the
number in S is 16#1234, and the number in D is 16#5128.
Example 1
1.
When SM605 is OFF, the data in S are binary-coded decimal numbers. When X0.0 is ON, the instruction transfers
two digits of the decimal number starting from the fourth digit of the decimal number (the digit in the thousands
place of the decimal number) in D10 to the two digits of the decimal number starting from the third digit of the
decimal number (the digit in the hundreds place of the decimal number) in D20. After the instruction is executed,
the digits in the thousands place of the decimal number (10
D20 are unchanged.
2.
When the binary-code decimal number is not between 0–9,999, the instruction is not executed, SM0 is ON, and the
error code in SR0 is 16#200D.
3
2
1
0
10
10
10
Unchanged
3
2
1
0
10
10
10
t h
rd
nd
s t
3 digit
2 digit
1 digit
t h
rd
nd
s t
3 digit
2 digit
1 digit
Unchanged
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
D10 (16- bit binary number)
Conversi on
D10 (4- digit binary -coded deci mal)
T ransferri ng the digits
D20 (
4- digit binary -coded deci mal
Conversi on
D20 (
16- bit binary number
)
D10 (
16- bit binary number
T ransferring the digits
D20 (
16- bit binary number
3
) and the ones place of the decimal number (10
)
)
)
0
) in
6 - 1 4 3
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents