Chapter 16 PLC Function Applications│CP2000
16-63
API
BMOV
S D
n
Send all
15
P
Bit device Word device
16-bit command (7 STEP)
BMOV Continuous
execution type
BMOVP Pulse
execution type
32-bit command
- - - -
Flag signal: none
X Y M K H KnX KnY KnM T C D
S
* * * * * *
D
* * * * *
n
* *
* *
Notes on operand usage:
n operand scope n = 1 to 512
S
: Initiate source device.
D
: Initiate destination device.
n
: Send block
length.
The content of n registers starting from the initial number of the device designated
by
S
will be sent to the n registers starting from the initial number of the
device designated by
n
; if the number of points referred to
n
exceeds the
range used by that device, only points within the valid range will be sent.
When X10=On, the content of registers D0~D3 will be sent to the four registers
D20 to D23.
If the designated bit devices KnX, KnY, and KnM are sent,
S
and
D
must
have the same number of nibbles, which implies that n must be identical.
In order to prevent overlap between the transmission addresses of two operands,
which would cause confusion, make sure that the addresses designated by the
two operands have different sizes, as shown below:
When
S
>
D
, send in the order → →.
X10
D20
BMOV
D19 K3
D20
D21
D22
D19
D20
D21
1
2
3
When
S
<
D
, send in the order → →.
D10
D11
D12
D11
D12
D13
1
2
3
X11
D10
BMOV
D11 K3