Initiating A Process Interrupt On Simatic-Cpu - Siemens SIMATIC FM 458-1 DP User Manual

Application module
Hide thumbs Also See for SIMATIC FM 458-1 DP:
Table of Contents

Advertisement

Configuring

4.3.2 Initiating a process interrupt on SIMATIC-CPU

PAS7
4-8
Function block PAS7 initiates, when triggered, a process interrupt to the
assigned S7-CPU. Supplementary interrupt info of 4 bytes is configured
at the IFO input, which contains net data information.
When an interrupt is initiated, the interrupt OB, which should be
configured in HW Config, is called in the SIMATIC S7-CPU. The
supplementary interrupt info, taking up 4 bytes, is written into the local
data of the interrupt OBs.
The start address of the input/outputs of the sending FM 458-1 DP (to be
configured in HW Config; in the example 512dec = 200hex) is also saved
in the local data of the OB 40.
SIMATIC S7-CPU
(SL program)
OB40
"Hardware interrupt"
//Load alarm source
//(which module?):
L
#OB40_MDL_ADDR
T MW20
W#16#200
//Load alarm info:
L
#OB40_POINT_ADDR
T MW22
DW#16#ABCD1234
Fig. 4-3
Data transfer to the S7-CPU with process interrupt
512dec =
200hex
P bus
FM 458
(CFC program)
memory
of the FM 458
Info memory
for process
interrupt
(4 Bytes)
0:
1:
2:
PAS7
3:
16#ABCD1234
DW IFO
Trigger (0/1)
BO
Application Module FM 458-1 DP - User Manual
A5E01078222-02
HW Config
via "Edit/Properties" menu
1.
Select interrupt source:
"Process"
(or "Hardware")
2.
Select number of the OB
(e.g. 40)
as well as possibly the.
peripheral address(es)
(Default: 512)
I
Edition 03.2009

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

6dd1607-0aa16dd1607-0aa2

Table of Contents