EasyManuals Logo

Siemens SIMATIC User Manual

Siemens SIMATIC
648 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 #101 background imageLoading...
Page #101 background image
Digital modules
3.12 Digital input module SM 321; DI 16 x DC 24/125 V; with hardware and diagnostic interrupts (6ES7321-7EH00-0AB0)
S7-300 Module data
Manual, 06/2017, A5E00105505-AJ
101
Enabling interrupts
There is no default interrupt setting, i.e. interrupts are disabled if parameters are not set
accordingly. You can enable interrupts in STEP 7 (see the chapter Parameters of
SM 321; DI 16 x DC 24 V ).
Diagnostic interrupt
When diagnostic interrupts are enabled, incoming error events (initial occurrence) and
outgoing error events (error is cleared) are reported by means of an interrupt.
The CPU interrupts user program execution in order to process diagnostic interrupt OB82.
You can call SFC51 or 59 in OB82 in the user program to view detailed diagnostics data
output by the module.
Diagnostics data remain consistent until the program exits OB82. The module acknowledges
the diagnostic interrupt when the program exits OB82.
Hardware interrupt
SM 321; DI 16 x DC 24 V/125V can trigger a hardware interrupt for each channel group at
the positive, negative, or both edges of a signal transition.
You perform parameter assignment for each channel separately. The parameters can be
changed at any time (in RUN mode in the user program.)
Active hardware interrupts trigger hardware interrupt processing in the CPU (OB40) and
interrupt execution of the user program or of object classes with lower priority in the CPU.
You can define the response of the AS to signal edge transitions in the user program of
hardware interrupt OB40. The module acknowledges the hardware interrupt when the
program exits the hardware interrupt OB.
The module can save one interrupt per channel to the stack. If no higher priority classes are
pending processing, the CPU processes the buffered interrupts (of all modules) in the order
of their occurrence.
Hardware interrupt lost
A "Hardware interrupt lost" diagnostic interrupt is generated if a successive interrupt is
triggered at the channel previously saved to the stack and which has not yet been processed
by the CPU.
The CPU does not register any further interrupts at this channel unless it has completed
processing of the queued interrupts of the same channel.

Table of Contents

Other manuals for Siemens SIMATIC

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC and is the answer not in the manual?

Siemens SIMATIC Specifications

General IconGeneral
Product type designationSIMATIC
CPUVaries by model
MemoryVaries by model
Input/OutputVaries by model
CommunicationVaries by model
Programming LanguageSTEP 7
Operating Temperature0°C to 60°C (varies by model)
Protection ClassIP20
CategoryProgrammable Logic Controller (PLC)

Related product manuals