5-14
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
5.3
Starting and Stopping the Counting Channels
After the module has been parameterized, you can start and stop the individ-
ual counting channels of the CM35. To do this, write the start/stop block to
the address
²
module start a 2.
²
Table 5-12 shows the contents of the start/stop block. The required assign-
ment of the coordination byte is entered as the initial value in the structure.
For a description of the bit assignment of the coordination byte, see chapter
4.3.1.
Write--accesses to the start/stop block must be programmed as word--
accesses.
Table 5-12
Start/stop block
Address
Name
Type
Initial Value
Commentary
Start_Stop_Block
STRUCT
+0.0
Start_Stop_Chan_1
BOOL
FALSE
0: Stop channel
1 S
h
l
+0.1
Start_Stop_Chan_2
BOOL
FALSE
1: Start channel
+0.2
Start_Stop_Chan_3
BOOL
FALSE
+0.3
Start_Stop_Chan_4
BOOL
FALSE
+0.4
Start_Stop_Chan_5
BOOL
FALSE
+0.5
Start_Stop_Chan_6
BOOL
FALSE
+0.6
Start_Stop_Chan_7
BOOL
FALSE
+0.7
Start_Stop_Chan_8
BOOL
FALSE
+1.0
CoordinationByte
BYTE
B#16#81
Start/stop byte enable = 1
C bit = 0/counter mode
=2.0
END_STRUCT
Example:
The CM35 has module start address 256.
L
W#16#FF81
// Start all channels
T
PQW 258
// Module start a 2
...
...
L
W#16#0081
// Stop all channels
T
PQW 258
// Module start a 2
In DO mode
²
automatic,
²
the related output is switched on when a channel
starts. The output is switched off with stop even when the comparison value
has not yet been reached.
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 ...