8-18
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
8.5
Hardware Interrupt Evaluation
In positioning mode, the CM35 can trigger a hardware interrupt when a set-
point position is reached. If this is used, the CPU
must
have a hardware inter-
rupt OB (OB 40).
The start information of OB 40:
-- Variable OB40_MDL_ADDR contains the base address of the module
which triggered the interrupt.
-- Variable OB40_POINT_ADDR contains information on the event
which triggered the interrupt.
Variable OB40_POINT_ADDR consists of four bytes. The hardware interrupt
information of the CM35 in positioning mode is entered in the low byte (lo-
cal byte 11 of OB 40).
You can evaluate local byte 11 to determine which axis triggered the inter-
rupt. Remember that more than one bit can be set.
Table 8-7
Assignment of the hardware interrupt information (OB 40/local byte 11)
Local Byte
Bit
Meaning
Value Range
11
0
Axis 1 has reached setpoint position.
0/1
1
Reserved
2
Axis 2 has reached setpoint position.
3
Reserved
4
Axis 3 has reached setpoint position.
5
Reserved
6
Axis 4 has reached setpoint position.
7
Reserved
Positioning Operating mode
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 ...