Delta Electronics VFD-E Power Supply User Manual


 
Appendix D How to Use PLC Function|
Revision June 2008, 04EE, SW--PW V1.11/CTL V2.11 D-51
M1000
D0
D20
K4
M0
M1
M2
M3
M4
M5
M6
M7
M8
M9
M10
n=3
M11
Y10
Y11
Y12
Y13
Program 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
X1
1
D10
BMOV
D11 K3
API Mnemonic Operands Function
20
ADD P S
1
, S
2
,
D Addition
Bit Devices Word devices Program Steps Type
OP
X Y M K H KnX KnY KnM T C D
S
1
* * * * * * * *
S
2
* * * * * * * *
D
* * * * *
ADD, ADDP: 7 steps
Operands:
S1: Summand S2: Addend D: Sum