Configuration Example For The Address Areas In Intermediate Memory - Siemens SIMATIC S7-300 Hardware And Installation Manual

Hide thumbs Also See for SIMATIC S7-300:
Table of Contents

Advertisement

Commissioning
Table 8-10
Type
1
E
2
A
:
32
Address areas in the
DP master CPU
Sample program
Below you will see a small sample program for data exchange between DP master
and DP slave. The addresses used in the example are found in the table above.
In the DP Slave CPU
L
2
T
MB
6
L
IB
0
T
MB
7
L
MW
6
T
PQW
310
8-32

Configuration example for the address areas in intermediate memory

Master
Type
address
222
A
310
0
E
13
Address areas in the
DP slave CPU
In the DP Master CPU
Data pre-
processing in
the
DP Slave
Passing data
to the
DP master
L
T
L
L
+
T
L
+
T
CALL
S7-300 Programmable Controller Hardware and Installation
Slave
Lengt
Unit
address
h
2
Byte
10
Word
These address area parameters
must be identical for DP master and
DP slave
PIB
222
MB
50
PIB
223
B#16#3
I
MB
51
10
3
MB
60
SFC
15
LADDR:= W#16#0
RECORD:= P#M60.0 Byte
20
RET_VAL:=MW 22
Consistency
Unit
Total length
// processing
data received
in the DP Master
//Data pre-
processing in the
DP master
//send Data
to DP slave
A5E00105492-01

Advertisement

Table of Contents
loading

Table of Contents