EasyManuals Logo

Siemens Simatic S7 Series System Manual

Siemens Simatic S7 Series
726 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #283 background imageLoading...
Page #283 background image
Program instructions
7.10 Interrupt
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
283
ATCH, DTCH, and CEVENT
LAD / FBD
STL
Description
ATCH INT, EVNT
The attach interrupt instruction associates an interrupt event EVNT with an inter-
rupt routine number INT and enables the interrupt event.
DTCH EVNT
The detach interrupt instruction disassociates an interrupt event EVNT from all
interrupt routines and disables the interrupt event.
CEVENT EVNT
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.
Non-fatal errors with ENO = 0
SM bits affected
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)
None
Input / output
Data type
Operand
INT
BYTE
Constant: interrupt routine number (0 to 127)
EVNT BYTE Constant: interrupt event number
CPU CR40, CR60: 0-13, 16-18, 21-23, 27, 28, and 32
CPU SR20/ST20, SR30/ST30, SR40/ST40, SR60/ST60: 0-13, 16-28, 32, and 34-
38

Table of Contents

Other manuals for Siemens Simatic S7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7 Series and is the answer not in the manual?

Siemens Simatic S7 Series Specifications

General IconGeneral
CPUVaries by model (e.g., S7-300, S7-400, S7-1200, S7-1500)
Communication InterfacesPROFIBUS, PROFINET, Ethernet, MPI
ProgrammingTIA Portal, STEP 7
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
I/O ModulesDigital, Analog, Specialty modules available
Operating Temperature0°C to 60°C (standard models)
MountingDIN rail mounting
Operating Voltage24V DC or 120/230V AC (varies by model)
Protection ClassIP20 (standard models)
MemoryVaries depending on the S7 model. Includes work memory (RAM) for program execution, load memory (EEPROM or Flash) for program storage, and system memory for operating system functions. Memory sizes range from kilobytes to megabytes.

Related product manuals