Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
4 posts
• Page 1 of 1
pablo.chamorro
Posts:54
Joined: Mon Jan 27, 2020 1:42 pm
How to control which connections are used on each sub-project
Postby pablo.chamorro »
Hello,
Is there a control on WinCCOA to know which connections are used on each sub-project?
We have a master project with a few subprojects and we would like between other thinks, to control which connections are used in each sub-project.
From what I read on help documentation WinCCOA doesn't include a sub-projects control, these are joined to the master like a unique project thus not allowing a control by sub-projects .
Re: How to control which connections are used on each sub-project
Postby leoknipp »
I tried to understand what you have described.
What is a "connection" in your description?
What is a "sub project"?
Are you talking about distributed systems?
Best Regards
Leopold Knipp
Senior Support Specialist
Re: How to control which connections are used on each sub-project
Postby pablo.chamorro »
Hi leoknipp,
When I talk about connections I'm refering about driver connections ( Modbus, OPC UA, S7 and S7Plus in our case).
Here the fast question: How can I get the driver connection name from an _address config of a DPE?
The _address config doesn't save the driver connection name, and if I try to get it from _address_reference, if we use UDTs, the reference doesn't include the connection name.
Here the problem description:
We have a master project where we include other projects via project administration.
I know that doing that we are just including the panels of the sub-project into the master project. But for a better control of PARA, we put a prefix into DPTs to know at wich sub-project correspons each DPT.
We tried to do the same with the driver connections, but we saw it is not possible, because some drivers like modbus puts the name automaticaly (Mod_Plc_X).
So, now I'm trying to get the driver connection name of each _address config DPE. And knowing the DPT prefix of the DPE create a sub-project - driver connection relationship.
Re: How to control which connections are used on each sub-project
Postby leoknipp »
You have mentioned the Modbus driver in your explanation.
At the _address config the information for the PLC connection is saved at the information for the SPS number, which is a part of the adress reference. The SPS number is also saved at the Modbus connection datapoint.
With the information for the SPS number you can get the requested information.
Best Regards
Leopold Knipp
Senior Support Specialist