EasyManua.ls Logo

Siemens 6DD1607-0AA2 - Initiating a Process Interrupt on SIMATIC-CPU

Siemens 6DD1607-0AA2
210 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
Loading...
Configuring
4-8 Application Module FM 458-1 DP - User Manual
A5E01078222-02 Edition 03.2009
4.3.2 Initiating a process interrupt on SIMATIC-CPU
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)
FM 458 (CFC program)
P bus
memory
of the FM 458
W#16#200
Info memory
for process
interrupt
(4 Bytes)
OB40
"Hardware interrupt"
//Load alarm source
//(which module?):
L #OB40_MDL_ADDR
T MW20
//Load alarm info:
L #OB40_POINT_ADDR
T MW22
0:
1:
2:
3:
DW IFO
BO I
PAS7
16#ABCD1234
Trigger (0/1)
DW#16#ABCD1234
512dec =
200hex
2.
Select number of the OB
(e.g. 40)
as well as possibly the.
peripheral address(es)
(Default: 512)
1.
Select interrupt source:
"Process"
(or "Hardware")
via "Edit/Properties" menu
HW Config
Fig. 4-3 Data transfer to the S7-CPU with process interrupt
PAS7

Table of Contents

Related product manuals