beautypg.com

D.5.9 description of the application commands – Delta Electronics AC Motor Drive VFD-E User Manual

Page 328

background image

Appendix D How to Use PLC Function|

Revision June 2008, 04EE, SW--PW V1.11/CTL V2.11

D-45

Program Example:

Ladder diagram:

Command code: Operation:

LD

X0

Load A contact of X0

PLF M0

M0 falling-edge output

LD

M0

Load the contact A of M0

X0

M0

PLF

M0

Y0

SET

Timing Diagram:

a scan time

X0

M0

Y0

SET Y0

Y0 latched (ON)

Mnemonic Function

END Program

End

Operand

None

Explanations:

It needs to add the END command at the end of ladder diagram program or command program. PLC

will scan from address o to END command, after executing it will return to address 0 to scan again.

D.5.9 Description of the Application Commands

Mnemonic

Codes

Steps

API

16 bits

32 bits

P

Command

Function

16-bit 32-bit

10 CMP

--

Compare 7

--

11 ZCP

--

Zone compare

9

--

12 MOV

--

Data Move

5

--

Transmission

Comparison

15 BMOV

--

Block move

7

--

20 ADD

--

Perform the addition of
BIN data

7 --

Four

Fundamental

Operations of

Arithmetic

21 SUB

--

Perform the subtraction
of BIN data

7 --