Specifications
IP 240 Direct Data Interchange with the IP 240
SYNC =1 Reference point approach was terminated with synchronization
DRBR =1 Wirebreak/short-circuit in lines for encoder for symmetrical pulse trains
NPUE =1 Change in number of pulses between two zero mark signals
REFn =1 Actual value lies within track n (including track limits)
=0 Actual value not within track n
UEBL =1 Actual value out of range
(
<- 99,999 or>99,999)
SG =1 Actual value is negative
=0 Actual value is positive
Read interrupt request bytes
The IP 240 makes the interrupt request bytes for both channels available when you transfer job
number 31
H
to the IP 240's job request register.
Table 11-4. Contents of the Transfer Buffer on Reading Interrupt
Request Bytes, Position Decoding Mode
Decoding Mode
Interrupt request bytes for
channel 2
0 . . . 0 0 . . . 0
Bit
76543210
Description
0
1
2
3
4 to 14
Offset
transfer
buffer
Interrupt request bytes for
channel 1
RF8 RF7 RF6 RF5 RF4 RF3 RF2 RF1
00000DRB NPUUEB
00000DRB NPUUEB
RF8 RF7 RF6 RF5 RF4 RF3 RF2 RF1
Description of the interrupt bits
RFn =1 The interrupt was triggered when the relevant reference bit REFn went to ”1”
DRB =1 The interrupt was triggered by the line monitor
NPU =1 The interrupt was triggered by the zero mark monitor
UEB =1 The interrupt was triggered by an overflow
Note
To prevent the interrupt service OB from being invoked twice when using an
S5-150U or S5-155U (150U mode), you must reset the relevant bit in system data 0
immediately after reading the interrupt request bytes. For this the FB 42 is available
to you.
EWA 4NEB 811 6120-02a
11-11