Siemens Simatic S5 IP 240 Manual page 228

Counter/positioning/position decoder module
Hide thumbs Also See for Simatic S5 IP 240:
Table of Contents

Advertisement

Positioning
Table 10-21. Contents of the DB and the Transfer Buffer on Reading the Interrupt Request Bytes
Data byte
in data
7
block
DL 20
0
DR 20
RICH
DL 21
0
DR 21
RICH
The bit that is "1" shows the cause of the interrupt. When evaluating the interrupt request bytes,
note that several bits may be "1".
Direction bit RICH has been included in the interrupt request bytes. This bit mirrors the current
state of the RICH bit in the status area. It does not relate to the state of this bit when the interrupt
occurred.
Interrupt bit
Bit is "1"
BE1
BE2
BE3
Positioning
BE1
Relevant range entered.
BE2
BE3
Preliminary contact reached.
Reference
BE1
point approach
Reference point reached.
BE2
The actual value has exited range BEE3 without a new position number ha-
ZBV
(Target range
ving been selected.
exited)
The actual value has exited range BEE2. A reversal of the direction of move-
RIU
(
Reversal of
ment is possible.
direction)
Note:
If backlash compensation was configured, interrupts BE2, BE3 and ZBV are generated during positioning only when
range BEE2 was entered from a positive direction.
10-62
Bit
6
5
4
3
0
RIU
ZBV
UBS
0
MES
BE3
BE2
0
RIU
ZBV
UBS
0
MES
BE3
BE2
BEE1
BEE2
BEE3
BEE3
ZBEV
Target
position
Offset
in transfer
2
1
0
buffer
0
DRB
NPU
UEB
1
BE1
0
0
2
DRB
NPU
UEB
3
BE1
0
0
BEE2
BEE1
BEE1
BEE2
RIUM
RIUM
BE1
BE2
BE3
ZBV
RIU
IP 240
Description
Interrupt request
bytes for channel 1
Interrupt request
bytes for channel 2
BEE3
BEE3
BEE2
BEE1
ZBEV
Target
position
EWA 4NEB 811 6120-02a

Advertisement

Table of Contents
loading

Table of Contents