beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 238

background image

6 Application Instructions API 00-49

DVP-PLC Application Manual

6-26

API Mnemonic

Operands

Function

16

D FMOV P

Fill Move

Controllers

ES/EX/SS SA/SX/SC EH/SV

Bit Devices

Word Devices

Program Steps

Type

OP

X Y M S K H

KnX

KnY

KnM KnS T C D E F

S

* *

*

*

*

*

*

*

*

*

*

D

*

*

*

*

*

*

n

*

*

FMOV, FMOVP: 7 steps

DFMOV, DFMOVP: 13 steps

PULSE 16-bit 32-bit

ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV

Operands:

S

: Source of data D: Destination of data n: Number of data to be moved

Explanations:

1. If

S

is used in device F, only 16-bit instruction is applicable.

2. Range

of

n

: 1~ 512 (16-bit instruction); 1 ~ 256 (32-bit instruction).

3.

See the specifications of each model for their range of use.

4.

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.

5.

ES/EX/SS do not support the use of KnX, KnY, KnM, KnS and E, F index register modification.

Program Example:

When X10 = On, K10 will be moved to the 5 consecutive registers starting from D10.

X10

D10

K5

FMOV

K10

K10

K10

K10

K10

K10

K10

D10

D11

D12

D13

D14

n=5