4-17
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
4.3.5
Evaluating a Hardware Interrupt in OB 40
Depending on the set operating mode and the selected parameterization, you
can specify that a hardware interrupt is to be triggered when certain events
occur. In this case, a hardware interrupt OB (OB 40) must exist on the CPU.
When a hardware interrupt occurs, the user program is interrupted, the data
of the module are transferred to the start information of OB 40, and OB 40 is
called. The hardware interrupt is acknowledged when OB 40 is exited.
The following local data are located in the start information of OB 40.
-- OB 40_MDL_ADDR: The base address of the module which trig-
gered the interrupt
-- OB 40_POINT_ADDR: Information on the event which triggered the
interrupt
Variable OB40_POINT_ADDR consists of four bytes. The process
interrupt information of the CM35 is entered in the low word (local data
bytes 10 and 11 of OB 40). For the allocation and description of this interrupt
information, see the description of the particular operating mode.
For a description of OB 40, see STEP 7 reference manual /235/.
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 ...