Parallel OPC connection in 800xA.
I have 4 PM 573-Eth and central DCS plant.
I have to collect data from all 4 PLC to central DCS plant.
For that I have used OPC connection.
After uploading from OPC I get all variables.
But in quality of data it shows Bad ( not connected ) in 3 connection and Good quality 1 cnnection.
( I have appeded 4 PLC in single AE configurator and use Codesys OPC DA server,
In 800xA create new Generic OPC n/w and upload data )
Voted best answer
Check the data quality in the Codesys OPC Server, is it ok there? The Codesys OPC Server need some files that are created when you download your project to the AC500. Thats why it is a good solution to make that downlod from the same machine or use the machine with the OPC Server as gateway. Next thing is to configue all the blocks in the Codesys OPC well and to enable them. If you have errors check for datatype and arraylen.
/Erik
Answers
There is no explicit limitation of data in the Codesys OPC Server. You can have up to 30 AC500 connected. In 800xA i would recommend not more than 10000 Tags per CS.
For the performance of the OPC Server you should use arrays for the bool tags. That mean to define a STRUCT datatype in AC500 and access that as array of bool with the correct len e.g:
TYPE EP1MS :
STRUCT
AUTO:BOOL; (* SPS-Meldung: Betriebsart: Automatik *)
ZENTR:BOOL; (* SPS-Meldung: Betriebsort: Zentral *)
HALBAUTO:BOOL; (* SPS-Meldung: Betriebsart: Halbautomatik *)
WARTE:BOOL; (* SPS-Meldung: Betriebsort: Warte *)
RM:BOOL; (* SPS-Meldung: Rückmeldung Ein *)
V: BOOL; (* SPS-Meldung: Verriegelung allgemein *)
DB:BOOL; (* SPS-Meldung: Drahtbruch analoge Messung *)
NOTAUS: BOOL ; (* SPS-Meldung: Not-Aus *)
BIMET: BOOL; (* SPS-Meldung: Störung - Bimetall *)
RmF: BOOL; (* SPS-Meldung: Rückmeldefehler *)
SSTOER: BOOL; (* SPS-Meldung: Sammelstörung *)
SSTQUIT: BOOL; (* SPS-Meldung: quit. Sammelstörung *)
B12:BOOL; (* SPS-Meldung: Reserve *)
B13:BOOL; (* SPS-Meldung: Reserve *)
B14:BOOL; (* SPS-Meldung: Reserve *)
B15:BOOL; (* SPS-Meldung: Reserve *)
END_STRUCT
END_TYPE
In your OPC Section you build the instance:
KA11011ES00MS:ES1MS; (* RECH TB Absperrschieber - SPS-Meldungen *)
In Codesys OPC you define a Block KA11011ES00MS (BOOL, ARRAY, Len=16)
In 800xA you can refer to KA11011ES00MS Bit 0 .... 15
I have 8 AC500 on one Codesys OPC Server with a Summery of 5000 Tags and no performance problems. Maybe have a look at your network.
/Erik
known limits
/Erik
Did you solve this problem.
I've faced the same problem before, i could not achieve to use Generic OPC Network. After all, I've used Kepware,which is in same node with centreal DCS,and collect datas from sub PLC systems, and transfer them to DCS.
Add new comment