4-9
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
Table 4-5
Sample allocation for a data block (DB 20)
DB Ad-
dress
Name
Type
Initial
Value
Commentary
0
Control_word
WORD
W#16#13 Parameter block 1/
²
timer
²
operating mode
2
Timebase_Timer_1
BYTE
B#16#01
Time base for timer 1
3
Timebase_Timer_2
BYTE
B#16#01
Time base for timer 2
4
Timebase_Timer_3
BYTE
B#16#01
Time base for timer 3
5
Timebase_Timer_4
BYTE
B#16#01
Time base for timer 4
6
Timebase_Timer_5
BYTE
B#16#01
Time base for timer 5
7
Timebase_Timer_6
BYTE
B#16#01
Time base for timer 6
8
Timebase_Timer_7
BYTE
B#16#01
Time base for timer 7
9
Timebase_Timer_8
BYTE
B#16#01
Time base for timer 8
10
Factor_Timer_1
WORD
W#16#01 Factor for timer 1
12
Factor_Timer_2
WORD
W#16#01 Factor for timer 2
14
Control_word
WORD
W#16#53 C bit = 1/parameter block 1/
²
timer
²
operating mode
A DB20
// Open data block.
L DBW0
// Load control word with C bit=0.
T PW 130
// Module start a 2
L DBW2
// Load time base for timers 1 and 2.
T PW 132
// Module start a 4
L DBW4
// Load time base for timers 3 and 4.
T PW 134
// Module start a 6
...
L DBW12
// Load factor for timer 2.
T PW 140
// Module start a 14
L DBW14
// Load control word with C bit = 1.
T PW 130
// Module start a 2
Transfer next parameter block.
Data Communication with the CM35
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 ...