Fnc112 - Emov / Floating Point Move - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
18.3
FNC112 – EMOV / Floating Point Move
Outline
This instruction transfers binary floating point data.
1. Instruction format
FNC 112
D
EMOV
2. Set data
Operand Type
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
D
: This function is supported only in FX
Explanation of function and operation
1. 32 bit operation (DEMOV and DEMOPV)
The contents (binary floating point data) of the transfer source [
]. A real number (E) can be directly specified as
D
Command
input
FNC112
DEMOV
Program examples
1. In the program example shown below, a real number stored in D11 and D10 is transferred to
D1 and D0 when X007 turns ON
X007
2. In the program shown below, a real number "-1.23" is transferred to D11 and D10 when X007
turns ON
X007
510
Mnemonic
16-bit Instruction
P
Binary floating point data (transfer source) or device number storing data
Device number receiving floating point data
Digit Specification
3U
S
D
FNC112
D10
D0
DEMOVP
END
FNC112
E−1.23
D10
DEMOVP
END
→ For handling of floating point, refer to Subsection 5.1.3.
Operation Condition
32-bit Instruction
Description
Word Devices
Special
System User
Unit
/FX
PLCs.
3UC
S
.
S
S
+1
S
4.23542
Binary floating point
(real number)
D11
D10
36.475
−1.23
18 Floating Point – FNC110 to FNC139
18.3 FNC112 – EMOV / Floating Point Move
Mnemonic
Operation Condition
DEMOV
9 steps
DEMOVP
Real number (binary)
Others
Con-
Real
Index
stant
Number
V Z Modify K H
E
+1,
] are transferred to [
S
D
+1
Transfer
4.23542
Binary floating point
(real number)
D1
D11
Continuous
Operation
Pulse (Single)
Operation
Data Type
Charac-
Pointer
ter String
" "
P
+1,
D
D
D0
36.475
D10
−1.23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents