Sign in to follow this  
Followers 0
Matt.C

Verifying OPC Write was successful

2 posts in this topic

I am using Excel w/ VBA code to read and write to a CLX thru RSLinx. (with AB's rsiopcauto.dll) My question is does anyone have a good idea for verifying that the write was ok? When I read the tags I check the error and qualities to make sure I have valid values. What can I do when I write to the plc? So far my only idea is to read all the tags again, and compare them to what I just wrote. Just wondering if anyone has something more elegant in mind... Thanks

Share this post


Link to post
Share on other sites
Those are pretty much your two options - do a read back and monitor the OPC quality code. Something more elegant - write your OPC code using the .NET client wrapper as supplied by the foundation instead of relying on an old tool on a shaky platform (automatic running Excel VBA macros aren't exactly ideal). Better yet, find a suitable software application that does the nasty work for you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0