Delta AS Series Programming Manual page 424

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

t h
rd
4 digit
3 digit
t h
rd
4 digit
3 digit
Unchanged
Suppose the number in D10 is 16#1234, and the number in D20 is 16#5678. After the instruction is executed, the
number in D10 is unchanged, and the number in D20 is 16#5128.
Example 3
1.
You can use the instruction to combine the values of the DIP switches that are connected to the input terminals
whose numbers are not consecutive.
2.
The two digits of the value of the DIP switch at the right are transferred to the two digits of the number which start
from the second digit of the number in D2, and the one digit of the value of the DIP switch at the left is transferred
to the first digit of the number in D1.
3.
You can use the SMOV instruction to transfer the first digit of the number in D1 to the third digit of the number in
D2. In other words, the two DIP switches can be combined into one DIP switch by means of the SMOV instruction.
2
10
6
8
1
8
X0.3~X0.0
PLC
nd
s t
2 digit
1 digit
D10 (
D20 (
nd
s t
2 digit
1 digit
Unchanged
1
0
10
10
4
2
1
8
1
X1.15~X1.0
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
16- bit binary number
)
T ransferring the digits
16- bit binary number
)
6_
6 - 1 4 5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents