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.

Device Failure

More
24 Nov 2012 16:33 #1116 by support
Replied by support on topic Re: Device Failure
Hello,
the various SubscribeItem/SubscribeMultipleItems differ only in the fact that some offer "shortcut" way to specify the full set of parameters, so really there is no performance or functional difference in the outcome, so you are free to choose anything that best suites your input parameters.
Using the Callback, or just event handlers, is probably the only relevant decision to be made here, so you have asked the right question.
I would use the Callback if you have completely different processing algorithm for different items (or sets of items). Using the callback makes it straightforward to associate the processing code with the items. If you used event handler in such case, you would probably end up with some kind of big 'switch' statement at the core of the event handler, just to differentiate between the incoming item notifications, which only complicates things.
Best regards,

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

More
22 Nov 2012 11:47 #1110 by empir
Replied by empir on topic Re: Device Failure
Hi!
I think it's that version but I will check again tomorrow.
This phenomena is observed when no production is occuring so there are only subscriptions, no Reads.
This can be the explanation of the first events iI get, but perhaps not the events which occurs after 10 minutes.
One other question. There are several overloaded versions of SubscribeItem.
Which one do yoy recommend when there are several stations which are triggering events simultaneously?
The one with Callback?
Regards Owe

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

More
21 Nov 2012 19:06 #1108 by support
Replied by support on topic Re: Device Failure
Hello,
Short answer: Most likely, this has to be resolved with the OPC server vendor. It may even be a correct behavior. The fact that other OPC client does not see the isse may be due to timing, and other factors.
Details: The Quality values are never generated or modified inside the EasyOPC component. They simply pass through. And, the OPC client side has no way of "mismanaging" the OPC server to generate improper qualities.
Some OPC Server provide Bad quality as first notification each time a new OPC item is added, and only then start supplying the Good quality values. That is correct behavior as well, and may be behind what you are observing.
If you are using repeated reads (not subscriptions), EasyOPC could, in background, move items between OPC groups, and in such case the Bad quality will appear not only at startup, but also later. This should not happen if you are using subscriptions, though. Some old version of EasyOPC could do it with subscriptions as well; are you sure that your version is indeed 5.0.1377.1?

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

More
21 Nov 2012 15:40 #1107 by empir
Device Failure was created by empir
Hi!
I'm using EasyOpcDANet, 5.0.1377.1, in a service running in win2008 server R2. When starting the service I get the following error
Bad DeviceFailure LimitOk (12)
which is a dump of the quality tag. It reoccurs after a couple of minutes again on some tags.
Do you have any clue of what it can be?
Running Matrikon OPC Explorer and subscribing on the same tags doesn't seem to gernerate the same problem.
The OPC server is Beijer OPC.
Regards Owe

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

Moderators: support
Time to create page: 0.044 seconds