Siemens SIMATIC CM35 Manual page 129

Table of Contents

Advertisement

Positioning Operating mode
8.5
Hardware Interrupt Evaluation
8-18
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
11
0
Axis 1 has reached setpoint position.
1
2
Axis 2 has reached setpoint position.
3
4
Axis 3 has reached setpoint position.
5
6
Axis 4 has reached setpoint position.
7
Meaning
Reserved
Reserved
Reserved
Reserved
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
Value Range
0/1

Advertisement

Table of Contents
loading

Table of Contents