6-6
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
6.2.2
Structure of the Parameter Block
Table 6-4 shows the data structure of the parameter block and how to transfer
it to the CM35 using SFC 55 calls or I/O direct accesses.
The first word of the parameter block contains the control word. The struc-
ture shows the required assignment as an initial value.
When I/O direct accesses are parameterized (only possible with the
SIMATIC S5), the acceptance structure must be transferred after the data
structure. See table 6-5. The table shows the required assignment of the ac-
ceptance structure as an initial value.
Adhere to the specifications in chapter 4.2 which apply to transmission of the
data.
Parameter block 1
contains the following information.
-- The period numbers for channels 1 to 8
-- The factor for reference frequency (measuring range)
Table 6-4
Parameter block 1, data structure
Address
Name
Type
Initial Value
Commentary
Para_Block_1_Data
STRUCT
+0.0
Control_word
WORD
W#16#12
Parameter block no. 1/
²
period duration measurement
²
mode
+2.0
PeriodNumber_Chan_1
BYTE
B#16#1
Period number, channel 1
+3.0
PeriodNumber_Chan_2
BYTE
B#16#1
Period number, channel 2
+4.0
PeriodNumber_Chan_3
BYTE
B#16#1
Period number, channel 3
+5.0
PeriodNumber_Chan_4
BYTE
B#16#1
Period number, channel 4
+6.0
PeriodNumber_Chan_5
BYTE
B#16#1
Period number, channel 5
+7.0
PeriodNumber_Chan_6
BYTE
B#16#1
Period number, channel 6
+8.0
PeriodNumber_Chan_7
BYTE
B#16#1
Period number, channel 7
+9.0
PeriodNumber_Chan_8
BYTE
B#16#1
Period number, channel 8
+10.0
F_RefFrequency
BYTE
B#16#0
Factor for reference frequency
+ 12.0
Res_12
WORD
W#16#0
In reserve
= 14.0
END_STRUCT
Table 6-5
Parameter block 1, acceptance structure (only with SIMATIC S5)
Address
Name
Type
Initial Value
Commentary
Para_Block_1_Accept
STRUCT
+0.0
Control_word
WORD
W#16#52
Consistency bit = 1/
parameter block no. 1/
²
period duration measurement
²
mode
=2.0
END_STRUCT
Period Duration Measurement 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 ...