FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Program example
X010
FNC 12
MOVP
M 1
FNC 18
BCDP
X011
FNC 24
INCP
FNC 10
CMPP
0 → (Z)
K 0
Z
(C 0Z) → (K4Y000)
C 0Z
K4Y000
BIN
BCD
Z
(Z) + 1 → (Z)
When Z is "10",
K 10
Z
M 0
M1 turns ON.
10 Arithmetic and Logical Operation (+, −, ×, ÷) – FNC 20 to FNC 29
10.5 FNC 24 – INC / Increment
Z is cleared by the reset input X010.
The current values of counters C0 to C9
are converted into BCD format, and
output to K4Y000.
Every time X011 is set to ON, the current
values of C0, C1 ... C9 are output one at
a time.
1
2
3
4
5
6
7
8
9
10
283