6-10
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
6.6
Reading the Measured Values
You can read the current measuring values of the CM35 in
²
period duration
measurement
²
mode.
To ensure data consistency, the read access must be performed with
one
load
command (L PIW).
When an overflow occurs, the hex value FFFDH (65533) is transferred (fre-
quency below the minimum frequency, encoder interrupted, and so on).
Measuring channels which have not yet been started are transferred with the
value 0000H regardless of whether or not pulses are present on the input.
Table 6-8 shows the addresses of the individual channels for reading the mea-
sured value.
Table 6-8
Assignment of the output area for reading the measured values
Offset to the
Module Start Address
Meaning
Value Range
+0
Period duration average value, chan. 1
0 to 65532
+2
Period duration average value, chan. 2
+4
Period duration average value, chan. 3
+6
Period duration average value, chan. 4
+8
Period duration average value, chan. 5
+10
Period duration average value, chan. 6
+12
Period duration average value, chan. 7
+14
Period duration average value, chan. 8
Example:
²
Period duration measurement
²
mode
-- Read the measured value of channel 2
-- The CM35 has the module start address 256.
L
PIW 258
// Address = 256 + 2, measured value
channel 2
T
MW16
// Save the counting value
Period Duration Measurement Operating Mode
Содержание SIMATIC CM35
Страница 1: ...SIMATIC Counter Module CM35 Manual Release 06 2000 ...
Страница 9: ...vi CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Table of Contents ...
Страница 10: ...1 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Product Overview 1 ...
Страница 20: ...2 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Function Description 2 ...
Страница 23: ...2 4 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Function Description ...
Страница 47: ...3 24 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Commissioning ...
Страница 48: ...4 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Data Communication with the CM35 4 ...
Страница 70: ...5 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Pulse Counter Operating Mode 5 ...
Страница 88: ...6 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Period Duration Measurement Operating Mode 6 ...
Страница 98: ...7 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Timer Operating Mode 7 ...
Страница 112: ...8 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Positioning Operating mode 8 ...
Страница 131: ...8 20 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Positioning Operating mode ...
Страница 133: ...A 2 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Literature ...
Страница 134: ...B 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 EC Declaration of Conformity B ...
Страница 135: ...B 2 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 EC Declaration of Conformity ...
Страница 141: ...Glossary 6 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Glossary ...