- Posts: 14
- Thank you received: 1
Online Forums
Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.
Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.
Do not use the Contact page for technical issues.
- Forum
- Discussions
- QuickOPC-Classic in .NET
- Reading, Writing, Subscriptions, Property Access
- ReadMultipleItem return an error with OPC DA Schneider
ReadMultipleItem return an error with OPC DA Schneider
I tryed with the 5.62.484.1 version and now working without error. Solved!!!
Thank you a lot.
Best regards.
Valter
Please Log in or Create an account to join the conversation.
I have made a modification to detect the problem and fall back to zero.
Please download the recent QuickOPC version (it should identify itself as 5.62.484.1 or later) from our Web page, rebuild your project with updated assemblies, and retest.
Best regards
Please Log in or Create an account to join the conversation.
I have received the email with the trace file (posted a copy here). Thank you.
And yes, it appears the error is there. Will let you know here when I know more.
Best regards
Please Log in or Create an account to join the conversation.
Sent: Thursday, November 25, 2021 9:31 AM
To: Z.
Subject: I: OPC Analyzer link
Hi Zbynek,
this is the log trace of DataAnalyzer.
I think in the log above is present the error.
I try read without subscrition and only with ReadMultipleItems function with 0 in AgeValue parameter.
Thanks.
V.
Please Log in or Create an account to join the conversation.
Please read: kb.opclabs.com/Collecting_information_for_troubleshooting
Best regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Will you be willing to use OPC Analyzer as per article here: kb.opclabs.com/How_to_use_OPC_Analyzer for troubleshooting?
Regards
Please Log in or Create an account to join the conversation.
P.S. Update rate is the string on our log but is "valueAge" paramter
Best regards
Please Log in or Create an account to join the conversation.
thanks for clarification. I do not not know the cause yet, but there is one thing that is confusing me: The meaning of the last parameter to the DAReadItemArguments is actually a "value age", not an update rate. But, of course, 10000 is still a valid value age, so it should normally work. Can you, however, for the purpose of the investigation, use zero instead? This would cause the Read be always performed from the device.
Best regards
Please Log in or Create an account to join the conversation.
sorry for point 1 of your answer, is our error on code, the value returned is last reading ok. Solved.
For second point I adding more informations:
1 - the parameter passing to the function are:
- SERVER-MachineName: <empty string>
- SERVER-ServerClass: Schneider-Aut.OFS.2
- ITEM-Id: PLCMAIN!MCC02_COMP_02_HL
- ITEM-UpdateRate: 10000
2 - the problem is only when we try to read with ReadMultipleItems for receive last values on PLC. The polling reading with subscription is ok, return the value on event ItemChanged.
Our Log with ItemChanged:
23/11/2021 08.45.54 570 - [Admin] - [Administrator] - 20211123084554000 TAG: PLCMAIN!MCC02_COMP_02_HL VALORE: 842 STATO: GoodNonspecific (192)
23/11/2021 08.45.54 575 - [Admin] - [Administrator] - 20211123084554000 TAG: PLCMAIN!MCC02_MIS_Q_RIC_01.Valore VALORE: 107,4 STATO: GoodNonspecific (192)
Log with ReadMultipleItems:
23/11/2021 08.47.23 204 - [Admin] - [Administrator] - 20211123084723000 - ERRORE lettura del tag DA PLCMAIN!MCC02_MIS_Q_RIC_01.Valore ERROR Id: System.ArgumentException - Parametro non corretto. + The client method called (or event/callback invoked) was 'ReadMultipleItems[2]'.
23/11/2021 08.47.23 204 - [Admin] - [Administrator] - 20211123084723000 - ERRORE lettura del tag DA PLCMAIN!MCC02_COMP_02_HL ERROR Id: System.ArgumentException - Parametro non corretto. + The client method called (or event/callback invoked) was 'ReadMultipleItems[2]'.
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-Classic in .NET
- Reading, Writing, Subscriptions, Property Access
- ReadMultipleItem return an error with OPC DA Schneider