Siemens SIMATIC S7 System Manual page 323

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

ATCH, DTCH, and CEVENT
LAD / FBD
STL
ATCH INT, EVNT
DTCH EVNT
CEVENT EVNT
Non-fatal errors with ENO = 0
0002H Conflicting assignment of
inputs to an HSC
0016H Attempt to use HSC or edge
interrupt on input channel that is al-
ready allocated to a motion control
function
0019H Attempt to use a signal
board function without a signal
board installed and configured
0090H Invalid operand (illegal event
number)
Input / output
Data type
INT
BYTE
EVNT
BYTE
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
Description
The attach interrupt instruction associates an interrupt event EVNT with an inter-
rupt routine number INT and enables the interrupt event.
The detach interrupt instruction disassociates an interrupt event EVNT from all
interrupt routines and disables the interrupt event.
The clear interrupt event instruction removes all interrupt events of type EVNT
from the interrupt queue. Use this instruction to clear the interrupt queue of un-
wanted interrupt events. If this instruction is being used to clear out spurious
interrupt events, then you should detach the event before clearing the events
from the queue. Otherwise new events will be added to the queue after the clear
event instruction has been executed.
SM bits affected
None
Operand
Constant: interrupt routine number (0 to 127)
Constant: interrupt event number
CPUs CR20s, CR30s, CR40s, and CR60s: 0-13, 16-18, 21-23, 27, 28, and 32
CPUs SR20/ST20, SR30/ST30, SR40/ST40, and SR60/ST60: 0-13 and 16-44
Program instructions
7.10 Interrupt
323

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents