5-5
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
When you specify the counting direction, you determine how the comparison
value/start value parameter will be used.
Counting up:
The transferred value is the comparison value.The following happens when a
counter is started.
-- Counting begins with the start value
²
0.
²
-- The counting value is incremented with each encoder pulse.
When the counting value reaches the specified comparison value, the para-
meterized reactions are triggered (e.g., reset digital output, trigger hardware
interrupt).
Counting down:
The transferred value is the start value. The following happens when a count-
ing procedure is started.
-- The counting value is set to the specified start value.
-- The counting value is decremented with each encoder pulse.
When the counting value reaches the comparison value
²
0,
²
the parameter-
ized reactions are triggered (e.g., reset digital output, trigger hardware inter-
rupt).
The comparison value/start value can be specified for a specific channel.
Table 5-3
Comparison and start value
Variable:
Comparison or Start Value
(Depending on Direction of
Counting)
Parameter
Block
Offset
Data
Type
Value
Range
Cmp_Start_Value_Chan_1
1
2.0
Word
0 to 65535
Cmp_Start_Value_Chan_2
1
4.0
Word
Cmp_Start_Value_Chan_3
1
6.0
Word
Cmp_Start_Value_Chan_4
1
8.0
Word
Cmp_Start_Value_Chan_5
1
10.0
Word
Cmp_Start_Value_Chan_6
1
12.0
Word
Cmp_Start_Value_Chan_7
2
2.0
Word
Cmp_Start_Value_Chan_8
2
4.0
Word
Comparison value/
start value
Pulse Counter Operating Mode
Summary of Contents for SIMATIC CM35
Page 1: ...SIMATIC Counter Module CM35 Manual Release 06 2000 ...
Page 9: ...vi CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Table of Contents ...
Page 10: ...1 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Product Overview 1 ...
Page 20: ...2 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Function Description 2 ...
Page 23: ...2 4 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Function Description ...
Page 47: ...3 24 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Commissioning ...
Page 48: ...4 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Data Communication with the CM35 4 ...
Page 70: ...5 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Pulse Counter Operating Mode 5 ...
Page 98: ...7 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Timer Operating Mode 7 ...
Page 112: ...8 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Positioning Operating mode 8 ...
Page 131: ...8 20 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Positioning Operating mode ...
Page 133: ...A 2 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Literature ...
Page 134: ...B 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 EC Declaration of Conformity B ...
Page 135: ...B 2 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 EC Declaration of Conformity ...
Page 141: ...Glossary 6 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Glossary ...