Step 7 V5.5 - Dynamically Changing Configured Connections

jwilcoxson

Member
Join Date
Sep 2014
Location
Georgia
Posts
31
We are working on a project in which a few CP343s will be communicating with several hundred other S7-300 CPUs. It seems like NetPro only lets you configure a certain number of connections per CPU. Would there be a way to dynamically change the target IP address, in order to reuse the connections? The SP343 is the Active partner and we are just using Get/Put. We only need to communicate with the remote CPUs once every few hours or few days, so there isn't a need to be connected to all of them at once.
 
Actually I think I just found it (which is what always happens after you ask a question :) ), it looks like FB55 IP_CONFIG can dynamically modify the Connection Table.
 
The Cpu and the Cp both support a number of connections. If it is the cpu that is the limiting factor then you can aggregate many connections via the cp by activating "connection multiplexing".
 
I've knew you could use IP Config to change the IP address of the card, I never knew it could also change the settings of each connection. That's very interesting, very useful, and a little bit scary.

The way I've solved that in the past is using TSEND to send raw TCP data. These connections can be programmed right at the block, instead of having to be predefined in the HW config. This means that even though there is a limit on how many can be active at one time, I can take turns talking to different devices. However, it only works if you're using some of the newer CPU's.
 

Similar Topics

I am having a step7 v5.4 program where the blocks are encrypted and locked. And the manufacturer is stopped the support. Is there any ways to...
Replies
2
Views
175
Good Morning, Hoping someone with some Siemens experience can give me a hand with this one. Customer has a S7-200 cpu, which has a 6GK7...
Replies
0
Views
246
HI! HOW COULD I OBTAIN THE NAMES OF THE STEPS OF A ROUTINE IN SFC LANGUAGE IN STUDIO5000? Or is there a system variable that gives me those...
Replies
0
Views
339
I'm just trying to figure out the right method of adding a DO card to an existing rack. It's not the *next* open slot, but I have to move the AO...
Replies
5
Views
546
Hi Siemens Experts, I am hoping someone can shed some light on my issue. I have uploaded the code from a S7-300 (317-2PN/DP) using Step 7...
Replies
9
Views
668
Back
Top Bottom