EasyManuals Logo

Mitsubishi FX2N-10GM Hardware / Programming Manual

Mitsubishi FX2N-10GM
274 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #168 background imageLoading...
Page #168 background image
FX Series Positioning Controllers Program format 5
5-58
5.10.17 FNC24 (INC): Increment, FNC25 (DEC): Decrement
5.10.18 FNC26 (WAND): Logical product, FNC27 (WOR): Logical sum,
FNC28 (WXOR): Logical equivalence
* The ring operations shown above are
performed, but the flags do not operate.
FNC 24
INC
Applicable models
Series name
Remarks
K,H KnX KnY KnM D V,Z
Applicable
devices
and basic
format
Word
devices
FNC 24
INC
FX
2N
-10GM
FX
2N
-20GM
INC
Increment/Decrement
+1
Drive
input
[D]INC
FNC 25
DEC
DEC
[D] DEC
Every time the instruction
is executed, "1" is added to
the value of .
FNC 25
DEC
-1
Drive
input
Every time the instruction is
executed, "1" is subtracted
from the value of .
Change to in a 16-bit operation
-32,768
+32,767
0
+1 (INC)
-1 (DEC)
Change to in a 32-bit operation
-2,147,483,648 +2,147,483,647
0
+1 (INC)
-1 (DEC)
INCREMENT
DECREMENT
16-bit operation
3 steps
32-bit operation
5 steps
FNC 26 WAND
Applicable models
Series name
Remarks
K,H KnX KnY KnM D V,Z
Applicable
devices
and basic
format
Word
devices
FNC 26
WAND
FX
2N
-10GM
FX
2N
-20GM
Logical product (AND)/Logical sum (OR)/Logical
equivalence (XOR)
Drive
input
S1· S2·
S1· S2·
Logical multiplication operation is executed between
each pair of bits.
1
1=1, 1
0=0, 0
1=0, 0
0=0
Convenient to set a certain bit to "0".
S1· S2·
FNC 27
WOR
Drive
input
S1· S2·
Logical addition operation is executed between each
pair of bits.
1
1=1, 1
0=1, 0
1=1, 0
0=0
Convenient to set a certain bit to "1".
S1· S2·
FNC 28
WXOR
Drive
input
S1· S2·
Logical equivalence operation is executed between
each pair of bits.
1
1=0, 1
0=1, 0
1=1, 0
0=0
Convenient to compare between certain bits to
evaluate Convenient to compare between certain bits
to evaluate
S1· S2·
FNC 27 WOR
FNC 28 WXOR
WAND
WOR
WXOR
[D]AND
[D]OR
[D]XOR
16-bit operation
7 steps
32-bit operation
11 steps

Table of Contents

Other manuals for Mitsubishi FX2N-10GM

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX2N-10GM and is the answer not in the manual?

Mitsubishi FX2N-10GM Specifications

General IconGeneral
BrandMitsubishi
ModelFX2N-10GM
CategoryController
LanguageEnglish

Related product manuals