2 Function List
2.4 Standard Bit Shift Functions
25
FXCPU Structured Programming Manual
(Application Functions)
1
O
utlin
e
2
Function Li
st
3
Functi
on
Cons
tructi
on
4
Ho
w t
o R
ea
d
Explanati
on of
Func
tions
5
Appl
ie
d
Functions
6
Stan
dard
Functi
on
Blocks
A
Correspondence
be
tw
een Dev
ice
s
an
d A
ddres
ses
2.4
Standard Bit Shift Functions
2.5
Standard Bitwise Boolean Functions
2.6
Standard Selection Functions
Function name
Function
Applicable PLC
Reference
FX
3U(C)
FX
3G
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(
S
)
SHL(_E)
Shifts bits leftward.
3
3
3
3
3
3
3
3
Subsection
5.4.1
SHR(_E)
Shifts bits rightward.
3
3
3
3
3
3
3
3
Subsection
5.4.2
Function name
Function
Applicable PLC
Reference
FX
3U(C)
FX
3G
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/F
X
2C
FX
0N
FX
0(S
)
AND_E
Obtains the logical product.
3
3
3
3
3
3
3
3
Subsection
5.5.1
OR_E
Obtains the logical sum.
3
3
3
3
3
3
3
3
Subsection
5.5.2
XOR_E
Obtains the exclusive logical sum.
3
3
3
3
3
3
3
3
Subsection
5.5.3
NOT(_E)
Obtains the logical not.
3
3
3
3
3
3
3
3
Subsection
5.5.4
Function name
Function
Applicable PLC
Reference
FX
3U(
C
)
FX
3G
FX
2N(
C
)
FX
1N(
C
)
FX
1S
FX
U
/F
X
2C
FX
0N
FX
0(S
)
SEL(_E)
Selects data in accordance with the input
condition.
3
3
3
3
3
3
3
3
Subsection
5.6.1
MAXIMUM(_E)
Searches the maximum value.
3
3
3
3
3
3
3
3
Subsection
5.6.2
MINIMUM(_E)
Searches the minimum value.
3
3
3
3
3
3
3
3
Subsection
5.6.3
LIMITATION(_E)
Judges whether data is located within the range
between the upper limit value and the lower limit
value.
3
3
3
3
3
3
3
3
Subsection
5.6.4
MUX(_E)
Selects data, and outputs it.
3
3
3
3
3
3
3
3
Subsection
5.6.5