Mitsubishi Electric MELSEC FX3U Programming Manual page 298

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 example
X010
M 1
X011
296
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
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents