[?]: CP342-5 FDL Connection - data exchange between 3 S7-CPU

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
Homeroid_BL
Posts: 258
Joined: Fri Apr 03, 2009 3:24 pm
Location: Bosnia and Herzegovina

[?]: CP342-5 FDL Connection - data exchange between 3 S7-CPU

Post by Homeroid_BL »

I need to implement FDL data exchange between 3 S7-CPU, each has a CP342-5 CP.
I can use connections following configurations:

A) Each PLC communicates to others
Example:
PLC_1 sends and receives data from PLC_2
PLC_1 sends and receives data from PLC_3
PLC_2 sends and receives data from PLC_1
PLC_2 sends and receives data from PLC_3
PLC_3 sends and receives data from PLC_1
PLC_3 sends and receives data from PLC_2

B) Each PLC broadcasts his own data, each other PLC receives broadcasted data.

Can anyone (expert, expirienced in FDL) post a link to a WORKING project so I can see/learn how to configure connections and use communication functions FC5/FC6? Configuration can be A) or B), does not matter for me, but MUST include at least 3 PLCs.
Thanks.
sania
Site Admin
Posts: 1387
Joined: Sat Aug 13, 2005 6:15 am

Re: [?]: CP342-5 FDL Connection - data exchange between 3 S7-CPU

Post by sania »

try use sample project :D
simatic manager -> open -> sample project - > project profibus
see simatic 300-station ( 1-3 )

for add samples see http://support.automation.siemens.com/W ... n/20982954
Homeroid_BL
Posts: 258
Joined: Fri Apr 03, 2009 3:24 pm
Location: Bosnia and Herzegovina

Re: [?]: CP342-5 FDL Connection - data exchange between 3 S7-CPU

Post by Homeroid_BL »

Thanks, but not good/transparent enough. PLCs in sample project have only one FDL connection each, but I need minimum two connections in one PLC. If you define another connection, you will have a different ID for LOCAL and for PARTNER. I want to know, if LOCAL ID is used in SUB AG_SEND, which ID (loacal or partner) is used in SUB AG_RCV?
Further more, I crated a system (compiler shows no error) ih which one PLC has two FDL connections with the same ID for BOTH partners. If I use this ID for AG_RCV, how could I know from which partner PLC receives data, since both connection have the same partner ID?

I still do not know how it work. FDL connection is not working in PLCSIM so I can not verify my configuration, Any idea?
sania
Site Admin
Posts: 1387
Joined: Sat Aug 13, 2005 6:15 am

Re: [?]: CP342-5 FDL Connection - data exchange between 3 S7-CPU

Post by sania »

sorry for delay :oops:
this very simple
Image Image
Homeroid_BL
Posts: 258
Joined: Fri Apr 03, 2009 3:24 pm
Location: Bosnia and Herzegovina

Re: [?]: CP342-5 FDL Connection - data exchange between 3 S7-CPU

Post by Homeroid_BL »

Thanks, sania. I shall try it :)