Mitsubishi Electric MELSEC FX3U Programming Manual page 283

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Program examples
1. When the digital switch has 1 digit
X000
FNC 19
BIN
MOV instruction can be used instead.
X000
FNC 12
MOV
2. When the digital switch has 2 to 4 digits
X000
FNC 19
BIN
In the case of 2 digits: K2
In the case of 3 digits: K3
In the case of 4 digits: K4
3. When the digital switch has 5 to 8 digits
X000
FNC 19
DBIN
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
K1X000
D0
K1X000
D0
K4
K2X000
D0
6
Output
destination
Digital switch
input
K8
K5X000
D0
2
Output
destination
Digital switch
input
9 Move and Compare – FNC 10 to FNC 19
9.10 FNC 19 – BIN / Conversion to Binary
6
PLC
K3
K2
K1
7
8
9
PLC
K7
K6
K5
K4
K3
3
4
5
6
7
PLC
K2
K1
8
9
281
1
2
3
4
5
6
7
8
9
10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents