Siemens SIMATIC CM35 Manual page 72

Table of Contents

Advertisement

Starting
or stopping the
counter
Counting edge
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
The individual counting channels are started and stopped by the user pro-
gram. After a counting channel is started, the encoder pulses are counted.
After a counting channel is stopped, the encoder pulses are no longer ac-
quired.
When a counter is started, the CM35 turns on the related digital output.
When the comparison value is reached, the digital output is switched off and
a hardware interrupt is triggered.
Comparison value
0
1
Digital
0
output
Counter start
Figure 5-2
Switching the digital output, counting direction up
The counting value is changed with every falling edge on the related counter
input.
0
Counting
value
1
Encoder pulses
0
Counter start
Figure 5-3
Evaluation of the encoder pulses, counting direction up
Pulse Counter Operating Mode
1
2
3
4
5
Counter stop
6
7
8
8
8
Counter stop
5-3

Advertisement

Table of Contents
loading

Table of Contents