4-11
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
4.3
Programming
Parameterization must be correct before the channels and digital outputs can
be controlled and the actual values can be read.
With both the SIMATIC S7 and the SIMATIC S5, direct I/O accesses are al-
ways used. Only word or double--word accesses to even addresses can be
used for I/O accesses.
4.3.1
Controlling the Channels
The individual channels of the CM35 can be started and stopped by writing
the control word. The control word must be written to address
²
module start
a 2.
²
The control word is assigned as shown below to start and stop the channels.
15 14 13 12 11 10 9 8 7
1
6
X
5
0
4
0
3 2 1 0
Byte n
Start/stop byte
Byte n+1
Coordination byte
Oper. mode
Start/stop byte enable
Consistency bit (disregard)
Start/stop byte
Table 4-6 shows the permissible assignments of the control word.
Table 4-6
Allocation of the control word for controlling the channels
Bit Address
Description
Allocation
0 to 3
Identifier
for the operating mode set
0001:
²
Pulse counter
²
operating mode
0010:
²
Period duration measurement
²
operating mode
0011:
²
Timer
²
operating mode
0100:
²
Positioning
²
operating mode
4 to 5
Always 0
00:
Start/stop byte is written.
6
Disregard
0/1:
Consistency bit
7
Start/stop byte enable
0:
Evaluate parameter data
1:
Evaluate start/stop byte
8 to 15
Start/stop byte
Oper. mode: Pulse counter
Period duration meas.
Timer
Oper. mode: Positioning
Bit Address
8 to 15
9, 8; 11, 10;
13, 12; 15, 14
0:
Stop channel
1:
Start channel
01: Start axis
10: Stop axis
Layout of the
control word
Data Communication with the CM35
Содержание 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 ...