FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Program examples
1. When the seven-segment display unit has 1 digit
X000
FNC 18
BCD
2. When the seven-segment display unit has 2 to 4 digits
X000
FNC 18
BCD
In the case of 2 digits: K2
In the case of 3 digits: K3
In the case of 4 digits: K4
3. When the seven-segment display unit has 5 to 8 digits
X000
FNC 18
DBCD
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
D0
K1Y000
D0
K2Y000
Output
destination
D0
K5Y000
D1,D0
Output
destination
9 Move and Compare – FNC 10 to FNC 19
9.9 FNC 18 – BCD / Conversion to Binary Coded Decimal
PLC
PLC
K4
K3
K2
K1
PLC
K8
K7
K6
K5
K4
K3
K2
K1
265
1
2
3
4
5
6
7
8
9
10