Handling Of High-Speed Counters; 1-Phase 1-Count Input - Mitsubishi Electric MELSEQ FX3S Series User Manual

Hide thumbs Also See for MELSEQ FX3S Series:
Table of Contents

Advertisement

FX
Series Programmable Controllers
3S
User's Manual - Hardware Edition
10.5

Handling of High-speed Counters

10.5.1 1-phase 1-count input

These counters are 32-bit up-count/down-count binary counters.
Examples of program
1) For C235
X010
X011
X012
Count input
X000
Main unit
2) For C244
X010
X011
X012
Count input
X000
Example of operation
The above counter C235 operates as shown below.
X010
Up-count
X011
Reset input
X012
Start input
X000
Count input
3
C235
2
Current
1
value
0
When output has
operated
C235 output contact
Down-count/
M8235
Up-count
Reset
RST
C235
C235
K-5
Down-count/
M8244
Up-count
Reset
RST
C244
D0 (D1)
C244
The setting is (D1, D0)
External reset
External start
input
input
X001
X006
Main unit
Down-count
5
4
4
3
2
1
0
-1
-2
-3
-4
-5
• C235 counts the number of times the input terminal X000
switches from OFF to ON while X012 is on.
• While X011 is on, the counter resets when RST instruction
is executed.
• The counters C235 to C245 switch to the down-count or up-
count mode by turning on or off M8235 to M8245.
• C244 starts counting immediately when the input terminal
X006 turns on while X012 is on. The count input terminal is
X000. The setting for this example is the data of the
indirectly designated data register (D1, D0).
• C244 can be reset by X011 on the sequence. For C244,
X001 is allocated as the external reset input. The counter
resets immediately when X001 turns on.
• The counters C235 to C245 switch to the down-count or up-
count mode by turning on or off M8235 to M8245.
Up-count
0
-3
-4
-5
-6
-6
-7
-7
-8
10 Use of High-speed Counters
10.5 Handling of High-speed Counters
1
2
3
4
5
6
7
8
9
10
89

Advertisement

Table of Contents
loading

Table of Contents