Siemens IP-Module Especificaciones Pagina 202

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 417
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 201
Positioning IP 240
When using an S5-150U or S5-155U (150 mode), note that the ABIT parameter must also be
initialized. In these programmable controllers, an interrupt service OB is invoked at the next block
boundary when the associated bit in PY 0 (I/O byte 0) changes its signal state. By initializing the
ABIT parameter accordingly, you can indicate whether the interrupt service OB is to be invoked
every time the signal state of the interrupt bit changes, or only when the bit goes from ”0” to ”1”.
Initializing the ABIT parameter:
: JU FB 167
NAME : STRU.POS
:
:
ABIT : Ky x,y x>0 : The interrupt service OB is to be invoked on every
signal change
x=0 : The interrupt service OB is to be invoked only on a
signal change from ”0” to ”1”
y=0 to 7 : y is the number of the bit in PY 0 that was set on
switchbank S1
Masking interrupts
You can mask all channel bits with interrupt capability by setting control bit AMSK (mask
interrupts) to ”1” and transferring it to the IP 240. Masked interrupts do not trigger an interrupt
request and are not stored in the interrupt request bytes, i.e. they are lost.
Refer to Section 10.13.4 for information on how to transfer the control bits to the IP 240.
10.11 Error Processing after Configuring
If an error occurs during configuring,
configuring of the channel is aborted and
the error is flagged in the PAFE byte ( Section 6.4).
Errors in FB parameters are detected by the FB, and are described in more detail in DW 13 of the
specified data block.
Hardware, communications and data errors are flagged by the IP 240, and are read out from the
IP automatically by FB 167 and entered in KH format in data words 8 to 10 of the data block. Data
word 10 always contains the code of the last error detected.
After the error flags have been processed, you must erase the contents of data words 8 to 10 and
DW 13 via the STEP 5 program.
Old communications and data errors are cleared by the configuring FB.
You will find a list of all error codes in Chapter 14.
Note
The PAFE byte should be evaluated after every FB 167 call.
10-36
EWA 4NEB 811 6120-02a
Vista de pagina 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 416 417

Comentarios a estos manuales

Sin comentarios