5
Categories and Use of Basic Application Instructions
DVP-PM Operation Instruction
5-30
API Mnemonic
Operands
Function
15
BMOV P
Block Move
Controllers
20PM
10PM
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX
KnY
KnM KnS T C D E F
S
*
*
*
*
*
*
*
D
*
*
*
*
*
*
n
* *
*
*
*
BMOV, BMOVP: 7 steps
Operands:
S
: Start of source devices
D
: Start of destination devices
n
: Number of data to be moved
Explanations:
1.
The program copies a specified block of devices to another destination. Contents in
n
registers starting from
S
will be moved to
n
registers starting from
D
. If
n
exceeds the actual number of available source devices, only
the devices that fall within the valid range will be used
2. When BMOV is used as 16-bit instruction, Z device cannot be adopted; when BMOV is used as 32-bit
instruction, V device cannot be adopted.
3.
When specifying the bit device of KnX(Y/M/S), the starting No. should be a multiple of 16 in octal or decimal
format. For example, K1X0, K4Y20 (octal); K1M0, K4S16 (decimal).
4. Range
of
n
: 1 ~ 512.
Program example 1:
When X20 = ON, the contents in registers D0 ~ D3 will be moved to the 4 registers D20 ~ D23
X20
D20
K4
D0
D1
D2
D3
D20
D21
D22
D23
n=4
D0
BMOV
Program example 2:
Assume the bit devices KnX, KnY, KnM and KnS are designated for moving, the number of digits of
S
and
D
has to
be the same, i.e. their
n
has to be the same.
M1000
K1M0
K1Y0
K3
M0
M1
M2
M3
M4
M5
M6
M7
M8
M9
M10
n=3
M11
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Y10
Y11
Y12
Y13
BMOV
Summary of Contents for DVP-10PM
Page 1: ......
Page 45: ...2 Hardware Specifications and Wiring DVP PM Application Manual 2 30 MEMO...
Page 125: ...3 Functions of Devices in DVP PM DVP PM Application Manual 3 80 MEMO...
Page 341: ...8 Application Examples DVP PM Application Manual 8 2 Trajectory 3 Trajectory 4...
Page 427: ...9 Electrical CAM DVP PM Application Manual 9 74...
Page 437: ...10 Encrypting User Program DVP PM Application Manual 10 10 MEMO...
Page 458: ...11 G code Application DVP PM Application Manual 11 21 B O100 main program...
Page 561: ...14 Appendix DVP PM Application Manual 14 4 MEMO...