Mitsubishi Electric MELSEC FX3U Programming Manual page 124

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
• Write the following program to "reset only the current value of a high speed counter (and does not turn OFF
the contact)".
1) Program example
X010
*
* When the driving contact is the continuous execution type, the current value of the counter is reset to "0"
at each scan while X010 remains ON.
2) Timing chart
X000
Current
value of C235
X010
Because X010 turns ON,
"FNC12 DMOV" is executed.
The current value of C235 is
reset to "0".
• Write the following program to "turn OFF the contact and reset the current value of a high speed counter".
1) Program example
X010
*
* When the driving contact is the continuous execution type, the current value of the counter is reset to "0"
and the counter reset status is cleared at each scan while X010 remains ON.
2) Timing chart
X000
Current
value of C235
X010
RST
C235
122
FNC 12
K0
C235
DMOV
3
2
1
1
RST
M8001
RST
RUN Monitor
(normally OFF)
3
2
1
1
Counter reset instruction is
Counter is reset
deactivated
(part A in above
(part B in above program).
program).
4.7 High Speed Counter [C] (FX3U/FX3UC PLC)
The current value of C235 is cleared (to "0").
4
3
2
Because the driving contact is the
pulse execution type, C235 executes
counting normally after that.
- - - - - A
C235
- - - - - B
C235
4
3
2
4 Devices in Detail
Because the reset instruction
is deactivated, C235 executes
counting.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents