Fnc110 - Ecmp / Floating Point Compare - 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.1
FNC110 – ECMP / Floating Point Compare
Outline
This instruction compares two data (binary floating point), and outputs the result (larger, same or smaller) to
three single bit devices.
1. Instruction format
FNC 110
D
ECMP
2. Set data
Operand Type
S
1
S
2
D
*1.
When a constant (K or H) is specified, it is automatically converted from binary into binary floating
point (real number) when the instruction is executed.
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
1
S
2
D
1: "D .b" is available only in FX
2: This function is supported only in FX
Explanation of function and operation
1. 32-bit operation (DECMP and DECMPP)
The comparison value [
floating point data, and either bit among
(smaller, same or larger).
506
Mnemonic
16-bit Instruction
P
Device number storing binary floating point data to be compared
Device number storing binary floating point data to be compared
Head bit device number to which the comparison result is output (Three devices
are occupied.)
Digit Specification
1
/FX
3U
3UC
+1,
S
S
1
1
18.1 FNC110 – ECMP / Floating Point Compare
→ For handling of floating point, refer to Subsection 5.1.3.
Operation Condition
32-bit Instruction
Description
Word Devices
Special
System User
Unit
2
2
PLCs, and cannot be indexed with index registers (V and Z).
/FX
PLCs.
3U
3UC
] is compared with the comparison source [
,
+1 and
D
D
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
DECMP
13 steps
DECMPP
Others
Con-
Real
Index
stant
Number
V Z Modify K H
E
S
2
+2 turns ON according to the result
D
Continuous
Operation
Pulse (Single)
Operation
Data Type
Real number
*1
(binary)
Bit
Charac-
Pointer
ter String
" "
P
+1,
] as
S
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents