Communication between siemens 317 2pn/dp and cp343 over tcp

bara_hence

Member
Join Date
Aug 2007
Location
Ockelbo
Posts
225
Anyone got a working example??

What I want to do is simple but I find it hard to get it working..

I have a new CPU with a ethernet port built in and ive got a older one with a cp343-1 lean module. I want to have communication between these two over tcp.. I also want some communication between some more newer cpus with built in ports but this is already working..
 
Hej,
I have used Multicast with UDT. Only one send/PLC is needed where PLC sends one massage for all other (4) plc's. There are identical DB in every PLC 40 bytes for each, 5*40=200 bytes. If some PLC don't need information from some PLC, it not need AG_RECV function for that. So, one send/PLC and max 4 receive/PLC, 5 altogether.
This is not work with PN-type PLC's, they don't support multicasting. So I don't have time 'play' with PN-type PLC's.
 
Hi
I had the same problem last week. You cant just simply configure communication in NetPro using TCP when you have PN. You have to use in NetPro S7_connection, and in program use function GET. It is easy and is working. Remember that you need to take from library function GET for S7300 (for S7400 is different).
Regards
 
As Rafal but more philosophise..
In 400 they are SFB14 GET and SFB15 PUT. They works well but GET is 'slowlyer' than direct send. PUT/GET needs S7_connection only and only for 'master' PLC, slave needs nothing. If you put PUT function to both side, you need active S7_connection for both side. PUT (write) is faster than GET (fetch) for one-way trafic.
 

Similar Topics

I am trying to establish communication between Siemens PLC 1500 and Matlab. I followed a tutorial on youtube at this link: But when I got to the...
Replies
0
Views
342
Hi there, I am trying to communicate between Siemens 1214 that I have and a Micrologix 1400 on the other end through CIP protocol. I downloaded...
Replies
4
Views
2,037
i have TWO PLCS ( ONE PLC M258 SCHENEIDER ) AND OTHER PLC IS ( SIEMENS S7-300 CPU314C-2DP ) SOFTWARE USED FOR SIEMENS IS TIA PORTAL V13 AND...
Replies
3
Views
2,026
hi how can i Communication between Siemens S7-300 and Vijeo Citect 7.2 with Ethernet tcp/ip ? please help me!🤞🏻🤞🏻
Replies
1
Views
1,769
Hi, I would like to ask, does anyone of us have experience in communicating by ethernet between Simotion D435 and Wonderware InTouch? Is it even...
Replies
0
Views
1,340
Back
Top Bottom