Dear Users,
First and foremost I would like to greet every single one of you, for this is my first post on this forum
What I have is a system consisting of:
a) Several S5 and several S7 PLCs;
b) WinCC V7.0, as an OPC DA Server, communicating with mentioned PLCs via Simatic S5 Ethernet Layer 4, S5-Transport (CP1413-1);
c) External OPC Client that reads values from both S5 and S7.
The CP used is CP1430 TF.
Below I will post the questions I have about the S5 <-> WinCC (working as an OPC Server):
1) If I use Write/Fetch job type and configure WinCC as 'active', does it mean that I can read from every single memory area of my PLC without 'preparing' the data in a specified DB? For example - can I read hardware inputs, outputs or flags directly?
2) Is the action of adding a tag to WinCC enough to enable reading from PLC, given that the communication was configured properly?
3) When going through Com1430 manuals I noticed that Handling Data Block - FB120 is used to 'send' data for both job types: Send and Write. But if it is true that while using Write/Fetch one does not have to specify any data area and one can access the data directly, then what was the point of using FB120(HDB:SEND) or FB122 (HDB: FETCH) with job type: Write/Fetch?
4) Is there any way to communicate with WinCC (working as OPC Server) using job type: Send/Receive? If yes, then how to configure WinCC to act as an initiator of the action (WinCC reads from PLC).
5) Is it possible for gathering all the data to be used in a job type: Write/Fetch in a specified DB to reduce the load on the communication? For example: instead of reading I20.0, F45.0, I23.0, I transfer their values to some DB and use these DB tags on WinCC.
And now the most important!!
6) All the questions lead to the main problem I've been having lately. The communication with all the S7, S5 PLCs, WinCC and some other visualization system (which I don't have access to) seems to be configured fine - data exchange between PLCs works good, data exchange on the line S7 - WinCC works good, but there are some problems with communication S5 - WinCC.
Some tag values read S5 on WinCC simply don't appear or appear only sometimes. For example: I have several Hot Metal Detector sensors and when they detect said hot metal, they give logical '1'. The values are correct on the S5, but when being transfered to WinCC, not only do they not work correctly, but also they come intermittently.
Knowing all that, do you guys have any idea about where to even start looking for a solution? Is there a chance to solve this problem on the 'programming and configuration' level or does it look like more of a hardware problem?
Hoping you can help me find a solution, I remain
Truly yours,
Nattana
First and foremost I would like to greet every single one of you, for this is my first post on this forum
What I have is a system consisting of:
a) Several S5 and several S7 PLCs;
b) WinCC V7.0, as an OPC DA Server, communicating with mentioned PLCs via Simatic S5 Ethernet Layer 4, S5-Transport (CP1413-1);
c) External OPC Client that reads values from both S5 and S7.
The CP used is CP1430 TF.
Below I will post the questions I have about the S5 <-> WinCC (working as an OPC Server):
1) If I use Write/Fetch job type and configure WinCC as 'active', does it mean that I can read from every single memory area of my PLC without 'preparing' the data in a specified DB? For example - can I read hardware inputs, outputs or flags directly?
2) Is the action of adding a tag to WinCC enough to enable reading from PLC, given that the communication was configured properly?
3) When going through Com1430 manuals I noticed that Handling Data Block - FB120 is used to 'send' data for both job types: Send and Write. But if it is true that while using Write/Fetch one does not have to specify any data area and one can access the data directly, then what was the point of using FB120(HDB:SEND) or FB122 (HDB: FETCH) with job type: Write/Fetch?
4) Is there any way to communicate with WinCC (working as OPC Server) using job type: Send/Receive? If yes, then how to configure WinCC to act as an initiator of the action (WinCC reads from PLC).
5) Is it possible for gathering all the data to be used in a job type: Write/Fetch in a specified DB to reduce the load on the communication? For example: instead of reading I20.0, F45.0, I23.0, I transfer their values to some DB and use these DB tags on WinCC.
And now the most important!!
6) All the questions lead to the main problem I've been having lately. The communication with all the S7, S5 PLCs, WinCC and some other visualization system (which I don't have access to) seems to be configured fine - data exchange between PLCs works good, data exchange on the line S7 - WinCC works good, but there are some problems with communication S5 - WinCC.
Some tag values read S5 on WinCC simply don't appear or appear only sometimes. For example: I have several Hot Metal Detector sensors and when they detect said hot metal, they give logical '1'. The values are correct on the S5, but when being transfered to WinCC, not only do they not work correctly, but also they come intermittently.
Knowing all that, do you guys have any idea about where to even start looking for a solution? Is there a chance to solve this problem on the 'programming and configuration' level or does it look like more of a hardware problem?
Hoping you can help me find a solution, I remain
Truly yours,
Nattana