6/29/2006 11:23 AM | |
Joined: 8/31/2005 Last visit: 10/24/2024 Posts: 217 Rating: (41) |
Hi! AFAIK, there is no possibility to process data from a DB at the same time the input image gets processed. If you want to receive data from the OPC server (only) at the beginning of each cycle (and you are using the SIMATIC NET OPC Server), you could use the "Buffer-Oriented Services with the OPC Interface". This OPC communication is based on S7 communication protocol with the BSEND and BRCV blocks. By using this service, the OPC data is only received, when you call the BRCV block (e.g. at the beginning of the OB1 or in the OB35). For more informations have a look here: Industrial Communication with PG/PC (Chapter 2.14 Buffer-Oriented Services with the OPC Interface) This application also uses the "Buffer-Oriented Services with the OPC Interface": Mass Data Acquisition with an OPC Client in C# based on .NET (there you can have a look at the STEP 7 project with the BRCV calls) |
Last edited by: Chris at: 6/29/2006 11:26 AMLast edited by: Chris at: 6/29/2006 11:26 AMGreetings, Chris |
|
6/30/2006 1:58 AM | |
Posts: 101 Rating: (0) |
[quote user="Thijs"]Maybe instead off resetting all OPC data at the end off the OB1 scan. Try to reset the OPC command after procesing it. Another solution is at the start of OB1 copy all OPC command into a seperate DB and reset the OPC command DB. Then proces the DB in your PLC program. In the end of the OB1 scan you can than reset the PLC command DB. thanx Thijsyou were on the money |
6/30/2006 1:58 PM | |
Joined: 9/1/2005 Last visit: 11/7/2024 Posts: 4110 Rating: (195) |
Hello all, this is a technical forum for technical problems, whatever problems - easy or difficult problems. Please attend to your accent. [;)] Best regards CS Moderator |
My Forum is the place to personalize your profile, |
|
7/6/2006 9:09 AM | |
Joined: 9/1/2005 Last visit: 11/7/2024 Posts: 4110 Rating: (195) |
In this thread was a posting, which was unworthy for adult people. That is why I have deleted this posting and I write my posting regarding the accent. With my posting I meant also all users, which possibly read and write in this thread. Best regards CS Moderator |
My Forum is the place to personalize your profile, |
|
Follow us on