Jump to content

Recommended Posts

Posted
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
Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...