5-18
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
5.6
Reading the Counting Values
In
²
pulse counter
²
mode, you can read the current counting values from the
CM35.
To ensure data consistency, the read--access must be performed with
one
load
command (L PIW).
Table 5-15 shows the addresses of the individual channels for reading the
counting value.
Table 5-15
Assignment of the output area for reading the counting values
Offset to the
Module Start Address
Meaning
Value Range
+0
Counting value,
channel 1
0 to 65535
+2
Counting value,
channel 2
+4
Counting value,
channel 3
+6
Counting value,
channel 4
+8
Counting value,
channel 5
+10
Counting value,
channel 6
+12
Counting value,
channel 7
+14
Counting value,
channel 8
Example:
²
Pulse counter
²
mode
- Read counting value of counting channel 4
- The CM35 has the module start address 256.
L
PIW 262
// Address = 256 + 6, counting value of
channel 4
T
MW16
// Save the counting 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 ...