Sitrain - India: Simatic Net
Sitrain - India: Simatic Net
Sitrain - India: Simatic Net
D I A
-
ƒ Profibus FDL CommunicationI N
A I N
IT R
Unrestricted
S © Siemens INDIA (I-CS-VS-TRG). All Rights Reserved.
D I A
FDL connection
- I N "AS2"
Unspecified
connection
N
Log. FDL connection
"AS1" configured
I
Unspecified
Station1 connection
A
configured CP
CPU
IT R CPU
CP
Station2
MPI=2
PROFIBUS=3
S
MPI=2 Physical connection
via PROFIBUS
PROFIBUS=2
"AG_SEND" "AG_RECEIVE"
"AG_RECEIVE" "AG_SEND"
1
Field Data Link connections (FDL)
D I A
- I N
A I N
IT R
S
Page 3 © Siemens INDIA (I-CS-VS-TRG). All Rights Reserved.
D I A
Basic procedure
- I N
A I N
IT R Configuring
CP 342-5 DP
Use of
S
library blocks
2
Configured FDL connections
D I A
- I N
A I N
IT R
S
Page 5 © Siemens INDIA (I-CS-VS-TRG). All Rights Reserved.
Operating principle:
D I A
AG-SEND and AG-RECEIVE
- I N
A I N
IT R
S
Page 6 © Siemens INDIA (I-CS-VS-TRG). All Rights Reserved.
3
Send block: AG-SEND
Library
SIMATIC_NET_CP
D I A
- I N
A I N
IT R
S
Page 7 © Siemens INDIA (I-CS-VS-TRG). All Rights Reserved.
D I A
Receive block: AG-RECEIVE
- I N
A I N
IT R
S
Page 8 © Siemens INDIA (I-CS-VS-TRG). All Rights Reserved.
4
DONE, ERROR and STATUS parameters
Job
D I A
Job executed
no error
with =
Job runs
- I N
with =
Job done
A I N
8181H no receive
data available
receiving station cannot process received data
quickly enough or has not prepared any receive
resources.
8311H The destination station cannot be obtained at the
R
specified PROFIBUS address or the service used is
not possible for the specified PROFIBUS address.
IT
80C3H Resources (memory) occupied.
S
80D2H Module start address incorrect.
Network/project variant:
D I A
One subnet - multiple projects
- I N
A
Part 1
I N Part 2
IT R
S PROFIBUS Subnet 1
5
FDL connection (in every station)
D I A
- I N
A I N
IT R
S
Page 11 © Siemens INDIA (I-CS-VS-TRG). All Rights Reserved.
D I A
Load connection configuration (general)
- I N
A I N
IT R
S Selected stations and partners can be
loaded
6
Properties of the FDL connection
D I A
- I N
A I N
IT R "Free Layer 2 access"
S
Page 13 © Siemens INDIA (I-CS-VS-TRG). All Rights Reserved.
D I A
Configuration results
- I N
A I N
IT R
S
Page 14 © Siemens INDIA (I-CS-VS-TRG). All Rights Reserved.
7
User programs: AG-SEND and AG-RECEIVE (for both CPUs)
D I A
- I N
A I N
IT R
S
Page 15 © Siemens INDIA (I-CS-VS-TRG). All Rights Reserved.
D I A
FDL connection For 3 Station
station 1
- I
station 2
N station 3
CPU
A I N
CP
MPI=2
CPU
MPI=2
CP CPU CP
MPI=2
R
PROFIBUS
IT
FDL FDL FDL
connection connection connection
configured configured configured
S "AG_SEND"
"AG_RECEIVE"
"AG_RECEIVE"
"AG_RECEIVE"
"AG_RECEIVE"
"AG_SEND"