5
Categories and Use of Basic Application Instructions
DVP-PM Application Manual
5-27
SMOV
M1168
D10
K2
D20
K3
K4
10
3
10
2
10
1
10
0
10
3
10
2
10
1
10
0
No variation
No variation
D10(BIN 16bit)
D10(BCD 4 digits)
D20(BIN 16bit)
D20(BCD 4 digits)
Shift move
Auto conversion
Auto conversion
M1001
X0
If D10 = K1234, D20 = K5678 before execution, D10 remains unchanged and D20 = K5128 after execution.
Program example 2:
When M1168 = ON (in BIN mode) and SMOV instruction is in use, D10 and D20 will not be converted in BCD format
but be moved in BIN format (4 digits as a unit)..
SMOV
M1168
D10
K2
D20
K3
K4
No variation
No variation
D10(BIN 16bit)
D20(BIN 16bit)
Shift move
M1000
X0
Digit 4
Digit 3
Digit 2
Digit 1
Digit 4
Digit 3
Digit 2
Digit 1
If D10 = H1234, D20 = H5678 before execution, D10 remains unchanged and D20 = H5128 after execution
Program example 3:
1.
This instruction can be used to combine the DIP switches connected to the input terminals without continuous
numbers.
2.
Move the 2 digits of the right DIP switch (X27~X20) to the 2 digits of D2, and the 1 digit of the DIP switch
(X33~X30) to the 1
st
digit of D1.
Содержание DVP-10PM
Страница 1: ......
Страница 45: ...2 Hardware Specifications and Wiring DVP PM Application Manual 2 30 MEMO...
Страница 125: ...3 Functions of Devices in DVP PM DVP PM Application Manual 3 80 MEMO...
Страница 341: ...8 Application Examples DVP PM Application Manual 8 2 Trajectory 3 Trajectory 4...
Страница 427: ...9 Electrical CAM DVP PM Application Manual 9 74...
Страница 437: ...10 Encrypting User Program DVP PM Application Manual 10 10 MEMO...
Страница 458: ...11 G code Application DVP PM Application Manual 11 21 B O100 main program...
Страница 561: ...14 Appendix DVP PM Application Manual 14 4 MEMO...