EasyManuals Logo
Home>Siemens>Controller>CPU 315-2 DP

Siemens CPU 315-2 DP Hardware And Installation Guide

Siemens CPU 315-2 DP
238 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 #177 background imageLoading...
Page #177 background image
7HVWLQJ)XQFWLRQV'LDJQRVWLFVDQG)DXOW(OLPLQDWLRQ
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
A5E00105492-03
11-21
 ,QWHUUXSWVRQWKH'30DVWHU
,QWHUUXSWVZLWK6'3PDVWHU
3URFHVVLQWHUUXSWVE\,6ODYHZLWK6)&
If the CPU 31x-2 is used as the DP slave, you can trigger a process interrupt on
the DP master from the user program.
When you call SFC 7 “DP_PRAL”, you trigger an OB40 in the user program on the
DP master. The SFC 7 allows you to forward interrupt information to the DP master
in a double word. This information can then be evaluated in the
OB40_POINT_ADDR variable in the OB40. The interrupt information can be freely
programmed as required. The 6\VWHP6RIWZDUHIRU66\VWHPDQG
6WDQGDUG)XQFWLRQV - Reference Manual contains a detailed description of SFC 7
“DP_PRAL”.
6HWWLQJXVHUGHILQHGLQWHUUXSWVE\,6ODYHVZLWKWKH6)%
In the CPU 31x-2 operated as a DP slave, you can trigger user-defined interrupts
from the DP master from the user program. SFB 75 "SALRM" is used to send a
process or diagnostic interrupt from a slot in the transfer area (virtual slot) to the
associated DP master from the user program on an intelligent slave. This starts the
associated OB on the DP master.
Interrupt-specific additional information may be sent at the same time. You can
read all this additional information in the DP master using SFB 54 "RALRM".
,QWHUUXSWVZLWKDQRWKHU'3PDVWHU
When CPU 31x-2 operates with another DP master, an image of these interrupts is
created in the device-specific diagnostic data of CPU 31x-2. You must post-
process the relevant diagnostic events in the DP master's user program.
1RWH
Before you can evaluate diagnostic and process interrupts using the device-
specific diagnostics function on another DP master, you must make sure that:
The DP master is able to store the diagnostic messages, i.e. the diagnostic
messages should be stored in a ring buffer on the DP master. For example, if the
DP master can not store diagnostic messages, only the last incoming diagnostic
message would be stored.
In your user program, you must query the relevant bits in device-specific dia
g
nostic
data. Here you must take the PROFIBUS DP cycle time into account, for example,
to be able to query these bits at least once and in synchronism to bus cycle time.
With an IM 308-C operating as DP master you cannot utilize process interrupts in
device-specific diagnostics, because only incoming events are reported rather than
outgoing events.

Table of Contents

Other manuals for Siemens CPU 315-2 DP

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CPU 315-2 DP and is the answer not in the manual?

Siemens CPU 315-2 DP Specifications

General IconGeneral
BrandSiemens
ModelCPU 315-2 DP
CategoryController
LanguageEnglish

Related product manuals