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