Fnc110 - Ecmp / Floating Point Compare - Mitsubishi FX3U Series Programming Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
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
: "D .b" cannot be indexed with index registers (V and Z).
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).
460
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,
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
] 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:

Fx3uc seriesMelsec-f

Table of Contents