5/22/2016 11:32 PM | |
Joined: 2/24/2016 Last visit: 9/6/2024 Posts: 32 Rating: (7) |
Hi All I have a small automation network and I am trying to log data from two PLCs via OPC. I have detailed my setup below. Automation Task Read data from two PLCs and log to csv file. This will later be upgraded to an SQL server. Software
PLCs
PC stations
PLC Software configuration. Both PLC’s have a mixture of “Optimised” data blocks and S7300 (non-optimised) types. OPC protocols On the OPC server, I have enabled all OPC protocols/services. Observations The PLCs have different firmware revisions. When creating an S7 connection to the OPC server in Step7, the older PLC creates two connections (send and receive?). The newer PLC creates only 1 connection (see attached screenshot). I am unable to change the parameters of the newer connection. Using OPC scout on the OPC Server, I can successfully browse tags and read/write to both PLCs. Data from the older PLC is only accessible via OPCSimaticNET.S7. Even though the CPU contains some optimised blocks, these do not even show in the OPCSimaticNET.S7OPT tree. For the newer PLC, I can only read/write via OPCSimaticNET.S7OPT (optimised). This shows me all tags/blocks including non-optimised blocks for this PLC. The folders appear in OPCSimaticNET.S7 but the tags are not shown. The problem In OPC data logger, I can only browse and log data from the older PLC. This means I can only log data from non-optimised blocks. This is no problem. I can easily create a non-optimised transfer DB in each plc and send this to the OPC server. This works for the older PLC but since the data from the newer PLC is not available in the non-optimised connection, I cannot send it to the data logger. The question Can I force the newer CPU to communicate with SIMATIC NET OPC via the same (non-optimised?) protocol/method as the older CPU? I will shortly be adding a third PLC which is of the newer type, so I need to get this sorted ASAP. Let me know if you need any more info. I've been looking at this for a few days and I'm stuck. I have tried another OPC data logger from a different vendor with no luck. Thanks! |
Last edited by: j.w.eichler at: 5/22/2016 11:33:00 PMLast edited by: j.w.eichler at: 5/22/2016 11:34:02 PMLast edited by: j.w.eichler at: 5/22/2016 11:34:29 PMLast edited by: j.w.eichler at: 5/23/2016 1:10:35 AM |
|
5/24/2016 9:02 AM | |
Posts: 3 Rating: (0) |
Hi. I am using SIMATIC NET OPC server V13 SP1. If I switch the OPC server to KepServerEX v5.20 everything works fine. Thanks |
Follow us on