beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 427

background image

8 Application Instructions API 100-149

DVP-PLC Application Manual

8-25

API Mnemonic

Operands

Function

112

D MOVR P

Move Floating Point Data

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

*

*

*

*

*

*

DMOVR, DMOVRP: 9 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 floating point data D:Destination device

Explanations:

1.

S

can only be in floating point (FX.XX).

2.

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

3.

This instruction is able to enter floating point values directly in S.

4.

When the instruction is executed, the content in S is moved directly into D.

When the instruction is not executed,

the content in D will not be modified.

Program Example:

1.

User DMOVR instruction to move 32-bit floating point data.

2.

When X0 = Off, the content in (D11、D10) remains unchanged. When X0 = On, the present value

F1.20000004768372 will be moved to data registers (D11, D10).

X0

DMOVR F1.20000004768372

D10

Remarks:

This instruction only supports ES V6.1, SA/SX_V1.1, SV_V1.2, EH_V1.2, EH2/SV_V1.0 and above versions.