Calling The Interrupt Obs In The S5-150U And S5-155U (150 Mode); Abit Parameter - Siemens Simatic S5 IP 240 Manual

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

Advertisement

Operation
I/O byte 0.0 to 0.7
Master or Slave
Enable for I/O byte 0
Fig. 5-3. Allocation of Coding Switches on Switchbanks S1 and S2
The coding switches on banks S1 and S2 shown in Fig. 5.3 have the following meaning:
on:
The corresponding bit of I/O byte 0 is set in response to an interrupt signal on the I/O
module. And on a master module: the corresponding bit of I/O byte 0
is not reserved by a slave module.
on:
The I/O module is operated as slave
off:
The I/O module is operated as master
on:
Enabling of interrupt generation over I/O byte 0
Note
No input module may be set to address IB 0 when I/O byte 0 is enabled with switch
S2.8.
In the S5-155U, process interrupt generation via I/O byte 0 must also be enabled in
DX 0.

Calling the interrupt OBs in the S5-150U and S5-155U (150 mode)

In the S5-150U and S5-155U (150 mode), a change in one of the bits in I/O byte 0 invokes the
corresponding interrupt OB at the next block boundary. When you initialize the module with
function blocks 167, 169, and 171 ( Sections 10.23.2, 7.3.1 and 8.3.1), you can set the ABIT para-
meter to specify whether the interrupt OB is to be invoked after every signal change or only when
the bit goes from 0 to1.

ABIT parameter:

ABIT
: KY x,y
x>0
: The interrupt OB is invoked on every signal change.
x=0, y=0 to 7
: The interrupt OB is invoked only on a signal change from 0 to 1.
5-4
Switchbank S1
1
2
3
4
PB 0.0
0.1
0.2
0.3
to Interrupt Generation with I/O Byte 0
Y is the number of the bit in I/O byte 0 which you have set on switchbank
S1.
5
6
7
8
on
off
0.4
0.5
0.6
0.7
IP 240
Switchbank S2
7
8
on
off
EWA 4NEB 811 6120-02a

Advertisement

Table of Contents
loading

Table of Contents