Siemens SIMATIC CM35 Manual page 79

Table of Contents

Advertisement

Pulse Counter Operating Mode
Scanning rate
5-10
You can use the scanning rate factor to specify that the counting value does
not change until the stated number of encoder pulses has occurred.
This increases the counting range of the encoder pulses by a multiple of the
scanning rate factor.
Evaluation of the channel- - specific scanning rate factors must be enabled
with the ²scanning rate² group bit.
When a counting procedure starts, the scanning rate factor is always started
again. The remaining pulses are not carried over from the previous counting
procedure.
Counting
value
1
Encoder pulses
0
Counting pulses
Counter start
Figure 5-8
Generation of the counting value with a scanning rate factor of 3
(counting up)
Enabling of a scanning rate factor applies to all channels.
Table 5-7
Scanning rate
Variable
Parameter
Block
Scanning
2
Rate
The scanning rate factor can be specified for each channel.
If you specify ²0² or ²1,² the channel does not use the scanning rate.
Table 5-8
Scanning rate factor
Variable:
Scanning Rate Factor
ScanRate_F_Chan_1
ScanRate_F_Chan_2
ScanRate_F_Chan_3
ScanRate_F_Chan_4
ScanRate_F_Chan_5
ScanRate_F_Chan_6
ScanRate_F_Chan_7
ScanRate_F_Chan_8
0
0
1
1
1
Counter stop
Offset
Data
Type
7.7
Bool
0: Scanning rate not enabled
1: Scanning rate enabled
Parameter
Offset
Data
Block
Type
2
8.0
Byte
2
9.0
Byte
2
10.0
Byte
2
11.0
Byte
2
12.0
Byte
2
13.0
Byte
3
2.0
Byte
3
3.0
Byte
(4) J31069-D0416-U001-A5-7618
1
0
0
1
1
Counter start
Value Range
Value Range
0 to 255
CM35 Counter Module

Advertisement

Table of Contents
loading

Table of Contents