![Mitsubishi Electric FX3G SERIES Скачать руководство пользователя страница 271](http://html.mh-extra.com/html/mitsubishi-electric/fx3g-series/fx3g-series_programming-manual_238902271.webp)
269
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
10 Arithmetic and Logical Operation (
+
,
−
,
×
,
÷
) – FNC 20 to FNC 29
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction
Li
st
4
D
evices
in Det
ail
5
Specifi
ed the
De
vice
&
C
onst
ant
6
Bef
ore
Pr
og
ra
mmi
ng
7
Bas
ic
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
c
Operati
on
10. Arithmetic and Logical Operation (
+
,
−
,
×
,
÷
) –
FNC 20 to FNC 29
FNC 20 to FNC 29 provide instructions for arithmetic operations and logical operations of numeric data.
Floating point operation instructions
FX
3G
, FX
3U
and FX
3UC
PLCs offer not only arithmetic operation instructions in binary format but also arithmetic
operation instructions in the floating point format.
For details, refer to the explanation of each instruction.
→
For the floating point operation, refer to Chapter 18.
FNC No.
Mnemonic
Symbol
Function
Reference
20
ADD
Addition
Section 10.1
21
SUB
Subtraction
Section 10.2
22
MUL
Multiplication
Section 10.3
23
DIV
Division
Section 10.4
24
INC
Increment
Section 10.5
25
DEC
Decrement
Section 10.6
26
WAND
Logical Word AND
Section 10.7
27
WOR
Logical Word OR
Section 10.8
28
WXOR
Logical Exclusive OR
Section 10.9
29
NEG
Negation
Section
10.10
FNC No.
Instruction mnemonic
Contents of processing
120
[D]EADD
Addition of binary floating point
121
[D]ESUB
Subtraction of binary floating point
122
[D]EMUL
Multiplication of binary floating point
123
[D]EDIV
Division of binary floating point
ADD
S2 D
S1
SUB
S2 D
S1
MUL
S2 D
S1
DIV
S2 D
S1
D
INC
D
DEC
D
WAND
S2
S1
D
WOR
S2
S1
D
WXOR
S2
S1
D
NEG
Содержание FX3G SERIES
Страница 1: ...FX3G FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic Applied Instructions Edition ...
Страница 2: ......
Страница 947: ......