Siemens IP-Module Especificaciones Pagina 51

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 417
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 50
Operation IP 240
Additional programming in the organization blocks for the S5-115U:
a) The interrupt service routine must be programmed in an FB so that it may execute several
times.
I/O byte 0 must be read once at the beginning of interrupt processing to determine which IP
triggered the interrupt.
I/O byte 0 must also be read at the end of the interrupt service routine. If a new interrupt
request is pending, it must be serviced without exiting the interrupt OB.
Warning
Failure to include these steps in the STEP 5 program will block all further interrupt
generation on this circuit should a single interrupt fail to be serviced.
b) So that the CPU does not go to the stop state with a time-out, the following sequence of
statements must be inserted into OB21 and OB22.
STL OB21 and O 22 STL FBn Explanation
JU FBn
NAME: XYZ
...
BE
LRS16
L KH FEFF
AW
T RS16
BE
This sequence of instructions prevents upda-
ting of word 0 in the process input image.
5.2 Output Inhibit (BASP)
If the S5 CPU goes to the stop mode, this does not affect the IP 240 firmware; the module
continues to run in the specified mode and can also activate the digital outputs when the
programmable controller is at stop. However, all digital outputs on the IP 240 can be deenergized
with an output inhibit (BASP) signal generated by the S5 CPU in the STARTUP and STOP states.
The behaviour of the outputs when an output inhibit is applied can be selected via switches 3 and
4 on bank S4 to suit the process. When the BASP signal is revoked, the outputs assume the state
stipulated by the IP 240.
Fig. 5-5. Setting the Command Output Inhibit ”BASP” on Switchbank S4
Switchbank S4
43
Digital outputs D1 and D2 of Channel 1
on
off
on: Output inhibit (BASP) switches the digital outputs to the inactive state
off: Output inhibit (BASP) does not affect the states of the outputs
Digital outputs D1 and D2 of Channel 2
5-6
EWA 4NEB 811 6120-02a
Vista de pagina 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 416 417

Comentarios a estos manuales

Sin comentarios