Delta Electronics VFD007CB21A-21 Руководство по эксплуатации онлайн [331/363] 459973

Delta Electronics VFD037CB43A-20 Руководство по эксплуатации онлайн [331/363] 460064
Chapter 14 PLC Function |C200 Series
14-46
API
15
BMOV
P
S D
n
Block Move
Bit Devices Word Devices
X Y M K H KnX KnY KnM T C D
S
D
n
Operand:
Range of n 1~512
16-bit command (7 STEPS)
BMOV
BMOVP
32-bit command
Flag signal: None
Explanation
1. S: Start of source devices D: Start of destination devices n: Number of data to be
moved
2. The contents in n registers starting from the device designated by S will be moved to n
registers starting from the device designated by D. If n exceeds the actual number of
available source devices, only the devices that fall within the valid range will be used.
Example
1
When X10 = On, the contents in registers D0 ~ D3 will be moved to the 4 registers D20 ~ D23.
X10
D20 K4
D0
D1
D2
D3
D20
D21
D22
D23
n=4
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
D0
D20
K4
M0
M1
M2
M3
M4
M5
M6
M7
M8
M9
M10
n=3
M11
Y10
Y11
Y12
Y13
Example
3
To avoid coincidence of the device numbers to be moved designated by the two operands and
cause confusion, please be aware of the arrangement on the designated device numbers.
When S > D, the BMOV command is processed in the order as 123
X10
D20
BMOV
D19 K3
D20
D21
D22
D19
D20
D21
1
2
3
When S < D, the BMOV command is processed in the order as 321
D10
D11
D12
D11
D12
D13
1
2
3
X11
D10
BMOV
D11 K3

Содержание

Скачать