Arithmetic And Logical Operation (+, −, ×, ÷) – Fnc 20 To Fnc 29 - Mitsubishi FX3G Series Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
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.
FNC No.
Mnemonic
20
21
22
23
24
25
26
WAND
27
WOR
28
WXOR
29
Floating point operation instructions
FX
, FX
FX
3G
3U,
3GC
operation instructions in the floating point format.
FNC No.
120
121
122
123
For details, refer to the explanation of each instruction.
264
Series
Symbol
ADD
ADD
SUB
SUB
MUL
MUL
DIV
DIV
INC
DEC
WAND
WOR
WXOR
NEG
and FX
PLCs offer not only arithmetic operation instructions in binary format but also arithmetic
3UC
Instruction mnemonic
[D]EADD
[D]ESUB
[D]EMUL
[D]EDIV
10 Arithmetic and Logical Operation (+, −, ×, ÷) – FNC 20 to FNC 29
Addition
S1
S2 D
Subtraction
S1
S2 D
Multiplication
S1
S2 D
Division
S1
S2 D
Increment
INC
D
Decrement
DEC
D
Logical Word AND
S1
S2
D
Logical Word OR
S1
S2
D
Logical Exclusive OR
S1
S2
D
Negation
NEG
D
Addition of binary floating point
Subtraction of binary floating point
Multiplication of binary floating point
Division of binary floating point
→ For the floating point operation, refer to Chapter 18.
Function
Contents of processing
Reference
Section 10.1
Section 10.2
Section 10.3
Section 10.4
Section 10.5
Section 10.6
Section 10.7
Section 10.8
Section 10.9
Section
10.10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents