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
Содержание SIMATIC CM35
Страница 1: ...SIMATIC Counter Module CM35 Manual Release 06 2000 ...
Страница 9: ...vi CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Table of Contents ...
Страница 10: ...1 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Product Overview 1 ...
Страница 20: ...2 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Function Description 2 ...
Страница 23: ...2 4 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Function Description ...
Страница 47: ...3 24 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Commissioning ...
Страница 48: ...4 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Data Communication with the CM35 4 ...
Страница 70: ...5 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Pulse Counter Operating Mode 5 ...
Страница 88: ...6 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Period Duration Measurement Operating Mode 6 ...
Страница 98: ...7 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Timer Operating Mode 7 ...
Страница 112: ...8 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Positioning Operating mode 8 ...
Страница 131: ...8 20 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Positioning Operating mode ...
Страница 133: ...A 2 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Literature ...
Страница 134: ...B 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 EC Declaration of Conformity B ...
Страница 135: ...B 2 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 EC Declaration of Conformity ...
Страница 141: ...Glossary 6 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Glossary ...