Table of Contents

Advertisement

Data Communication with the CM35
4.1

Overview

Address area
Parameterization
Programming
4-2
The CM35 is located in the analog address area of the programmable control-
ler.
Central operation:
The address is assigned in one of the following ways, depending on the
S7- - 300 CPU being used.
- - Slot- - oriented
- - As desired
Use the module's start address from HW Config.
Distributed operation:
The address of the CM35 can be assigned as desired.
The start address of the module can be taken from one of the following.
- - HW Config with an S7 master (e.g., CPU 315- - 2 DP)
- - COM PROFIBUS with an S5 master (e.g., IM 308-C).
Use HW Config or COM PROFIBUS to set the operating mode for the
CM35 (e.g., pulse counter).
The data required to operate the module in the selected mode (e.g., counting
direction and comparison values for pulse counting mode) are transferred to
the CM35 with the parameterization.
The parameters must be transferred at least once to the CM35 after CPU
STOP ® RUN.
With centralized use of the CM35 and with distributed use on S7 masters, the
parameters are written with system function SFC 55 "WR_PARM."
With DP use with S5 masters, the parameters are written with direct I/O ac-
cesses (only in the permissible modes ²period duration measurement² and
²timer.²
After parameterization, you can
- - control operation of the individual channels via write accesses
- - read the data of the CM35 with read accesses
Depending on the selected operating mode and the parameterization, the
module supports the triggering of hardware interrupts with the SIMATIC S7.
OB 40 must be programmed for this.
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618

Advertisement

Table of Contents
loading

Table of Contents