4-13
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
4.3.2
Controlling the Digital Outputs
The digital outputs of the CM35 can be controlled by the user program, based
on the parameterization selected.
The status of the digital outputs can be specified by writing the DO pattern
(DO byte) to I/O output byte
²
module start a 0.
²
Table 4-7
Allocation of the DO byte for controlling the digital outputs
Bit
Address
Description
Allocation
0
Digital output 1
0: Digital output off
1 Di it l
t t
1
Digital output 2
1: Digital output on
2
Digital output 3
3
Digital output 4
4
Digital output 5
5
Digital output 6
6
Digital output 7
7
Digital output 8
Example (S7):
Set outputs 1 and 5 of the
²
pulse counter
²
operating mode.
- Parameterize DO mode with CPU control.
- The CM35 has the module start address 256.
L
2#0001_0001_0000_0000 // Load DO byte to set outputs 1 and 5
T
PQW 256
// Module start address = 256
Note
Remember that only word--accesses to even addresses are permitted.
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 ...