beautypg.com

Delta Electronics AC Motor Drive VFD-E User Manual

Page 318

background image

Appendix D How to Use PLC Function|

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

D-35

Explanations:

To save contents of the accumulative register into the operation result. (the result operation pointer

pluses 1)

Mnemonic Function

MRD

Reads the current result of the internal PLC operations

Operand None

Explanations:

Reading content of the operation result to the accumulative register. (the pointer of operation result

doesn’t move)

Mnemonic Function

MPP

Reads the current result of the internal PLC operations

Operand None

Explanations:

Reading content of the operation result to the accumulative register. (the stack pointer will decrease

1)

Program Example:

Ladder diagram:

Command code: Operation:

LD

X0

Load contact A of X0

MPS

Save in stack

AND

X1

Connect to contact A of X1 in
series

OUT

Y1

Drive Y1 coil

MRD

Read from the stack (without
moving pointer)

AND

X2

Connect to contact A of X2 in
series

OUT

M0

Drive M0 coil

MPP

Read from the stack

OUT

Y2

Drive Y2 coil

X0

Y1

X1

M0

X2

Y2

END

MPP

MRD

MPS

END

End

program