Siemens SIMATIC CM35 User manual

Foreword, Table of Contents
User’s Information
Product Overview 1
Function Description 2
Commissioning 3
Operating Modes
Data Communication with the
CM35 4
Pulse Counter Operating Mode 5
Period Duration Measurement
Operating Mode 6
Timer Operating Mode 7
Positioning Operating Mode 8
Appendices
Literature A
EC Declaration of Conformity B
Glossary
Release 06/2000
(4) J31069-D0416-U001-A5-7618
Counter Module
Manual
This manual describes
the counter module with
order no. 6AT1 735-0AA01-0AA0
CM35

This manual contains notes which you must adhere to for your own personal safety and to
avoid property damage. These notes are highlighted with a warning triangle showing the
degree of danger as shown below.
!Danger
Means death, severe personal injury or significant property damage will occur when the
appropriate precautionary measures are not taken.
!Warning
Means death, severe personal injury or significant property damage may occur when the
appropriate precautionary measures are not taken.
!Caution
Means minor personal injury or property damage may occur when the appropriate precautio-
nary measures are not taken.
Note
Highlights important information about the product, its handling or a particular portion of
the documentation which requires special attention.
Only qualified personnel may commission and operate the device. For the purpose of the
safety notes in this manual, qualified personnel are those persons who are authorized to com-
mission, ground and tag devices, systems and electrical circuits in accordance with safety
standards.
Adhere to the following.
!Warning
The device may only be used for the individual applications included in the catalog and
technical description. When used with devices and components of other manufacturers,
these devices and components must be approved or recommended by Siemens.
Correct and safe operation of the product is dependent on proper transportation, storage,
setup and installation and careful operator control and maintenance.
SIMATICRis a registered brand of SIEMENS AG.
The other designations in this publication may be brands whose use by third parties may
violate the rights of the owners.
Although we have checked the contents of this manual for agree-
ment with the hardware and software described, full agreement can-
not be guaranteed. The information in this manual is checked at
regular intervals and necessary corrections included in the next
release.Your ideas and suggestions are welcome.
Disclaimer of liabilityCopyright ESiemens AG 1997--2000, All rights reserved
Passing on to third parties, reproduction, utilization and revelation of
this document is not permitted without express permission.Violators
will be liable for damages.All rights are reserved, in particular rights
created by a patent grant or registration of a utility model or design.
Siemens AG
Automation and Drives
Motion Control Systems
Frauenauracher Strasse 80
D-91056 Erlangen
ESiemens AG 1997--2000
Subject to change without prior notice
Siemens Aktiengesellschaft
Notes on safety
Qualified
personnel
Use as intended
Brands

i
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
Foreword
This manual describes all steps required for the effective use of the CM35
counter module. It presents the functionality of the CM35 concisely and log-
ically while you are familiarizing yourself with the module.
This manual describes the hardware and software of the CM35. It provides an
introduction and can also be used as a reference work.
This manual has been written for the following circles of readers.
SMaintenance personnel
SProgrammers
SCommissioning personnel
SService personnel
This manual describes the functions of the CM35 counter module as they
were at the time this manual was published. We reserve the right to modify
the functionality of the CM35. These changes will be described in product
information sheets.
This manual describes:
SThe CM35 counter module (order no. 6AT1 735-0AA01-0AA0)
SThe configuration package (order no. 6AT1 735-0DA01-0YA0)
If you are using the previous version of the CM35 counter module (order no.
6AT1 735-0AA00-0AA0), please use the configuration package with the or-
der number 6AT1 735-0DA00-0YA0.
Caution:
The CM35 counter module (order no. 6AT1 735-0AA01-0AA0) is not com-
patible with the CM35 counter module (order no. 6AT1 735-0AA00-0AA0).
The appendix lists additional sources of information on the subject of
SIMATIC S7--300.
Purpose of this
manual
Contents of this
manual
Target readers
Area of validity of
this manual
Hardware and soft-
ware prerequisites
for this manual
Additional source
of information

ii CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
This manual offers the following aids to help you find the special information
you want.
SA comprehensive table of contents is located at the beginning of the
manual.
SAll chapters provide a left--hand column with an overview of the contents
of the particular section.
SAt the end of the manual, you will find a glossary defining important
terms as they are used in the manual.
The SIMATIC S7--300 programmable controller meets the requirements of
standard IEC 1131.
Contact your Siemens representative at your nearest Siemens office or the
SIMATIC hotline (telephone no. 0911/895-7000 or fax no. 0911/895-7002)
for questions on the products described in this manual for which you are un-
able to find answers.
For questions or comments on the manual itself, please fill out the response
sheet at the end of the manual, and return it to the address indicated. We
would also appreciate your including your personal opinion of the manual on
the response sheet.
We offer courses to make it easier to get started with the SIMATIC automa-
tion system. Please contact your regional training center or the central train-
ing center in Nuremberg (tel. no. 0911/895-3154).
Aids to finding
information in this
manual
Standards
F
o
r
ewo
r
d

iii
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
Table of Contents
1 Product Overview 1-1.......................................................
1.1 Overview 1-2.......................................................
1.2 Use on Programmable Controllers and Automation
Systems 1-3.......................................................
1.3 Hardware 1-6......................................................
1.4 Software 1-8.......................................................
1.5 Technical Data 1-9..................................................
2 Function Description 2-1....................................................
2.1 Function Overview 2-2...............................................
2.2 Pulse Counter 2-3..................................................
2.3 Period Duration Measurement 2-3.....................................
2.4 Timer 2-3..........................................................
2.5 Positioning 2-3.....................................................
3 Commissioning 3-1.........................................................
3.1 Installation of the CM35 3-3..........................................
3.1.1 Mounting the CM35 3-3..............................................
3.1.2 Mounting and Demounting the CM35 3-6...............................
3.2 Wiring the CM35 3-8................................................
3.2.1 Connection Allocation of the 25--Pin Sub D Socket 3-10...................
3.2.2 Connection Allocation of the 15--Pin Sub D Socket 3-12...................
3.3 Configuration and Parameterization 3-13................................
3.3.1 Installation of the Object Manager for STEP 7 3-14.......................
3.3.2 Central Integration into the SIMATIC S7-300 3-15........................
3.3.3 Distributed Integration into the SIMATIC S7 3-16.........................
3.3.4 Distributed Integration into the SIMATIC S5 3-17.........................
3.3.4.1 Hardware Prerequisites 3-17..........................................
3.3.4.2 Configuration 3-18...................................................
3.4 Reactions during Startup and in Case of Errors 3-23......................
4 Data Communication with the CM35 4-1......................................
4.1 Overview 4-2.......................................................
4.2 Parameterization 4-3................................................
4.2.1 Parameterization with SFC 55 (Only SIMATIC S7) 4-6...................
4.2.2 Parameterization via Direct I/O Accesses (Only SIMATIC S5) 4-8..........
4.3 Programming 4-11...................................................

iv CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
4.3.1 Controlling the Channels 4-11.........................................
4.3.2 Controlling the Digital Outputs 4-13.....................................
4.3.3 I/O Write Accesses 4-14..............................................
4.3.4 Reading the Data 4-15................................................
4.3.5 Evaluating a Hardware Interrupt in OB 40 4-17...........................
4.4 Overview of the Allocation of the Address Area and
Sequence of the Evaluation 4-19.......................................
5 Pulse Counter Operating Mode 5-1..........................................
5.1 Function Description 5-2.............................................
5.2 Parameterization 5-4................................................
5.2.1 Description of the Parameterization Data 5-4...........................
5.2.2 Structure of the Parameter Blocks 5-11.................................
5.3 Starting and Stopping the Counting Channels 5-14.......................
5.4 Controlling the Digital Outputs 5-15.....................................
5.5 Hardware Interrupt Evaluation 5-17.....................................
5.6 Reading the Counting Values 5-18.....................................
6 Period Duration Measurement Operating Mode 6-1............................
6.1 Function Description 6-2.............................................
6.2 Parameterization 6-4................................................
6.2.1 Description of the Parameter Data 6-5.................................
6.2.2 Structure of the Parameter Block 6-6..................................
6.3 Starting and Stopping the Measuring Channels 6-7......................
6.4 Controlling the Digital Outputs 6-8.....................................
6.5 Hardware Interrupt Evaluation 6-9.....................................
6.6 Reading the Measured Values 6-10.....................................
7 Timer Operating Mode 7-1..................................................
7.1 Function Description 7-2.............................................
7.2 Parameterization 7-3................................................
7.2.1 Description of the Parameter Data 7-4.................................
7.2.2 Structure of the Parameter Blocks 7-6.................................
7.3 Starting and Stopping the Timers 7-9..................................
7.4 Controlling the Digital Outputs 7-10.....................................
7.5 Hardware Interrupt Evaluation 7-12.....................................
7.6 Reading the Status 7-14..............................................
8 Positioning Operating mode 8-1.............................................
8.1 Function Description 8-2.............................................
8.2 Parameterization 8-7................................................
8.2.1 Description of the Parameter Data 8-8.................................
8.2.2 Structure of the Parameter Blocks 8-10.................................
T
a
b
l
e of Content
s

v
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
8.3 Starting and Stopping the Axes 8-14....................................
8.4 Controlling the Digital Outputs 8-16.....................................
8.5 Hardware Interrupt Evaluation 8-18.....................................
8.6 Reading the Actual Positions 8-19......................................
A Literature A-1..............................................................
B EC Declaration of Conformity B-1............................................
Glossary Glossary-1..........................................................
T
a
b
l
e of Content
s

vi CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
T
a
b
l
e of Content
s

1-1
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
Product Overview 1

1-2 CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
1.1 Overview
The CM35 is a multi--channel counter module which can be used to imple-
ment various tasks in the following operating modes.
SPulse counter
SPeriod duration measurement
STimer
SPositioning With 4 axes
The selected operating mode applies to all channels of the CM35. The func-
tion parameters can be set separately for each channel.
The counter module has eight floating digital inputs and outputs which are
used for the inputs and outputs of the counting channels. The signals are led
out via two sub D sockets on the front.
When not used for the operating mode, the outputs can be used as desired by
the user program as process I/O.
The module can be used for position encoding and positioning as well as in
the following systems.
-- Proportioning systems
-- Filling systems
-- Packaging systems
-- Sorting systems
-- Systems with defined time intervals
The counter module can be used centrally on the SIMATIC S7--300 and as
distributed I/O on the modular ET 200M I/O device on the SIMATIC S7 and
SIMATIC S5. The conventional configuration procedures of STEP 7 or
COM PROFIBUS (for SIMATIC S5) are used for the configuration.
Function scope
Digital inputs and
outputs
Application areas
Use with program-
mable controllers
and automation
systems
P
r
oduct Ove
r
view
With 8 channels

1-3
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
1.2 Use on Programmable Controllers and Automation
Systems
The full function scope of the module can be utilized. System function
SFC 55 is available for the parameterization. See reference manual /235/.
Possible
Modules Sample Configuration
Example:
CPU 312 IFM
CPU 313
CPU 314
:
CPU 614
PS CM35
CPU
The full function scope of the module can be utilized. Parameterization is
performed with system function SFC 55.
Possible
Modules Sample Configuration
Master:
-- S7-CPU with
DP interface
-- CP 443-5 Ext.
-- IM 467
Slave:
-- IM 153-1
-- IM 153-2
PS
CPU 315-2 DP
PS CM35IM 153-1
S7-300
ET 200M
PROFIBUS-DP
Central integration
into the
SIMATIC S7-300
Distributed in-
tegration into the
SIMATIC S7
P
r
oduct Ove
r
view

1-4 CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
Since no hardware interrupts are triggered on the SIMATIC S5 by
PROFIBUS--DP, the function scope is limited. Only the operating modes
²period duration measurement²and ²timer²can be used.
Parameterization is performed via I/O direct accesses.
Possible
Modules Sample Configuration
Master:
-- P L C
S5-95U(-MA)
-- PLC S5-115U
-- PLC S5-135U
-- PLC S5-155U
via IM 308-C
Slave:
-- IM 153-1
-- IM 153-2
PS CM35IM 153-1
ET 200M
PROFIBUS-DP
IM 308-C
S5-115U
Prerequisites for the coupling are an IM 153--1 (MLFB no. 6ES7
153--1AA02--0XB0 or later) and CM35 modules (MLFB no. 6AT1
735--0AA01--0AA0, release status 4 or later).
Up to 7 CM35 modules can be connected with each IM 153--1 interface.
Exception: Maximum of one CM35 per IM 153--1 when distributed
connection to a SIMATIC S5--95U/master DP is used
Maximum of 8 CM35s per IM 153--1 when distributed
connectiontoaSIMATICS7(CPU318--2DP,
CPU 417--4 DP, CP 443--5 Ext., IM 467) is used
Distributed in-
tegration into the
SIMATIC S5
IM 153-1
P
r
oduct Ove
r
view

1-5
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
Prerequisites for the coupling are an IM 153--2 (MLFB no. 6ES7
153--2AA01--0XB0, release status 2 or later) and CM35 modules (MLFB no.
6AT1 735--0AA01--0AA0).
CM35 modules (MLFB no. 6AT1 735--0AA01--0AA0, release status 4 or
later) are required for the IM 153--2 interfaces (MLFB no. 6ES7
153--2AA02--0XB0, release status 5 or later).
Up to 7 CM35 modules can be connected to each IM 153--2 interface.
Exception: Maximum of one CM35 per IM 153--2 when distributed
connection to a SIMATIC S5--95U/master DP is used
Maximum of 8 CM35s per IM 153--2 when distributed
connectiontoaSIMATICS7(CPU318--2DP,
CPU 417--4 DP, CP 443--5 Ext., IM 467) is used.
The present version of the CM35 does not support:
SThe setup with active bus modules for ET 200M
SUse on high--availability programmable controllers with redundant setup
(SIMATIC S7-400H)
SUse with SIMATIC PCS 7
For additional information, contact the SIMATIC hotline.
IM 153-2
SIMATIC S7-400H
and active back-
plane bus,
SIMATIC PCS 7
P
r
oduct Ove
r
view

1-6 CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
1.3 Hardware
Module name
SF LED
Front door
Release status
Order number
(6AT1 735-0AA01-0AA0)
xxxxxxx
x2
34
SF
CM35
Counter Module
Figure 1-1 View of the front with front door closed
SF
Digital inputs
25--pin sub D socket
Digital outputs
15--pin sub D socket
Figure 1-2 View of the front with front door open
View of the
module with
front door
closed
View of the
module with
front door
open
P
r
oduct Ove
r
view

1-7
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
The CM35 is equipped with the following front plug connectors for connec-
tion of the process I/O.
S25--pin sub D socket for connection of the input signals (digital inputs)
The inputs are individually isolated from one another and can be used
with a 5 V or 24 V signal level.
S15--pin sub D socket with digital outputs and the connection for the exter-
nal supply voltage for the digital outputs
The outputs are isolated against the module logic, but are not isolated
among one another. They are powered with a supply voltage of 24 V DC.
The red SF LED on the front indicates that the module is not ready for opera-
tion. This LED goes off when a valid parameterization was transferred to the
module after a warm restart or hot restart and the BASP/OD signal is no lon-
ger active.
The CM35 does not support diagnostic alarms and the STEP 7 diagnostic
information.
Front plug
connector
SF LED
P
r
oduct Ove
r
view

1-8 CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
1.4 Software
The firmware of the module offers four different operating modes.
SPulse counter
Continuous counting with maximum counting frequencies of 10 kHz
SPeriod duration measurement
Measurement of period durations between 1 msec and 2.6 sec with a reso-
lution of 1% on all 8 channels (reference frequencies: 100 kHz, 50 kHz,
25 kHz)
STimer
8 separate switch--on times from 10 msec to 278 min
SPositioning
4 axes with a max. of 231 increments up to a top frequency of
2kHz
The desired operating mode is selected via the configuration user interface.
Note
The following applies when the CM35 is used to acquire frequencies.
SFor lower frequencies: ²period duration measurement²operating mode is
recommended (the period duration can be converted to a frequency).
SFor higher frequencies: ²pulse counting²operating mode is recom-
mended.
Depending on use on the SIMATIC S7 or decentralized on the SIMATIC S5,
configuration of the module is performed with the ²SIMATIC Manager²or
with ²COM PROFIBUS.²
Module
firmware
Software
P
r
oduct Ove
r
view

1-9
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
1.5 Technical Data
Type Pulse counter
Number 8
System Incremental
Limit frequency Max. of 10 kHz
Minimum pulse duration
(for high and low)
40 msec
Signal level S24 Volt signals:
-- Signal ²H²:15to30Volt
-- Signal ²L²:-3to+5Volt
S5 Volt signals:
-- Signal ²H²:2.4to6Volt
-- Signal ²L²: --0.6 to 0.8 Volt
Input current SFor 24 V and ²H²signal
-- Typical 4.7 mA
SFor 5 V and ²H²signal
-- Typical 10 mA
Potential isolation Yes
Maximum signal rise time From ²L²to ²H²: typ. 10 msec
From ²H²to ²L²: typ. 15 msec
Permissible cable length (shielded) For 24 V 25 m
For 5 V 5 m
Connection 25--pin sub D socket
Number 8
Signal level 24 Volt, P--switching
Output current (short--circuit proof) Per DO: Max. of 0.5 A
Total current: Max. of 4 A
Switching frequency Max. of 10 Hz with ohmic load
8 Hz with lamp load
Max. of 0.5 Hz with inductive load
Cable length Max. of 100 m
Connection 15--pin sub D socket
Digital inputs
Digital outputs
P
r
oduct Ove
r
view

1-10 CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
Input voltage +5 V via P bus
Current consumption Typ. 0.150 A
UL/CSA/FM No
CM 35 counter module: 6AT1 735-0AA01-0AA0 or later
Configuration package: 6AT1 735-0DA01-0YA0 or later
Other
MLFB no.
P
r
oduct Ove
r
view

2-1
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
Function Description 2
Table of contents
Other Siemens Cash Counter manuals
Popular Cash Counter manuals by other brands

Royal Sovereign
Royal Sovereign RBC-1002 owner's manual

Kübler
Kübler CODIX 541 operating instructions

Precision Digital Corporation
Precision Digital Corporation PROVU PD6300 Series instruction manual

SOMMY
SOMMY CN Series user manual

Velleman
Velleman ED7A025 user manual

impulse Automation
impulse Automation HENGSTLER tico 731.2 operating instructions