![Mitsubishi Electric MELSEC FX3G Скачать руководство пользователя страница 283](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083283.webp)
281
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
9.10 FNC 19 – BIN / Conversion to Binary
1
Int
roduct
ion
2
O
ver
view
3
In
str
uc
tion
Li
st
4
D
evices
in D
etail
5
Spec
ified t
he
D
evice &
C
onst
ant
6
Bef
ore
Pr
ogr
am
m
ing
7
B
asic
In
st
ru
ct
io
n
8
FN
C
00-FN
C
09
P
rogr
am
F
low
9
FN
C
10
-FN
C
19
Mo
ve
&
Co
mp
are
10
FNC2
0-F
NC2
9
Ar
ith.
&
Logic
O
per
ation
Program examples
1. When the digital switch has 1 digit
2. When the digital switch has 2 to 4 digits
3. When the digital switch has 5 to 8 digits
FNC 19
BIN
K1X000
D0
X000
MOV instruction can be used instead.
PLC
FNC 12
MOV
K1X000
D0
X000
6
In the case of 2 digits: K2
In the case of 3 digits: K3
In the case of 4 digits: K4
FNC 19
BIN
K2X000
D0
PLC
K4
K3
K2
K1
9
7
8
6
Digital switch
input
Output
destination
X000
PLC
9
7
8
6
5
3
4
2
K4
K3
K2
K1
K8
K7
K6
K5
FNC 19
DBIN
K5X000
D0
X000
Digital switch
input
Output
destination
In the case of 5 digits: K5
In the case of 6 digits: K6
In the case of 7 digits: K7
In the case of 8 digits: K8