Professional OPC
Development Tools

logos

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.

ReadMultipleItem return an error with OPC DA Schneider

More
26 Nov 2021 08:48 #10399 by v.parma
Hi,
I tryed with the 5.62.484.1 version and now working without error. Solved!!!
Thank you a lot.
Best regards.

Valter
The following user(s) said Thank You: support

Please Log in or Create an account to join the conversation.

More
26 Nov 2021 06:40 #10397 by support
It looks like that the Schneider Factory Server rejects any non-zero percent deadband - which is what we use.
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.

More
25 Nov 2021 12:45 #10396 by support
Hello.

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.

More
25 Nov 2021 12:43 #10395 by support
From: V.
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.
Attachments:

Please Log in or Create an account to join the conversation.

More
24 Nov 2021 15:55 #10392 by support
Yes, I am aware of that. I will send you the link to the email you have used to register with the forums.

Please read: kb.opclabs.com/Collecting_information_for_troubleshooting

Best regards

Please Log in or Create an account to join the conversation.

More
23 Nov 2021 14:21 #10387 by v.parma
Yes, but you must send me a link for download, the download from OPC Foundation website is only for Corporate Members.

Please Log in or Create an account to join the conversation.

More
23 Nov 2021 12:30 #10385 by support
Hello.

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.

More
23 Nov 2021 10:49 #10382 by v.parma
I tryed with zero, but same result with same error.

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.

More
23 Nov 2021 08:23 #10380 by support
Hello,

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.

More
23 Nov 2021 08:12 #10379 by v.parma
Hi,
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.

Moderators: support
Time to create page: 0.066 seconds