Siemens SIMATIC Manual page 101

Hide thumbs Also See for SIMATIC:
Table of Contents

Advertisement

3.12 Digital input module SM 321; DI 16 x DC 24/125 V; with hardware and diagnostic interrupts (6ES7321-7EH00-0AB0)
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.
S7-300 Module data
Manual, 06/2017, A5E00105505-AJ
Digital modules
101

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-300S7-300 module data

Table of Contents