Sign in to follow this  
Followers 0
Datman

visual basic DDE

4 posts in this topic

Hi Guys Im having a play at the moment with visual basic 6, using DDE with RS Linx OEM to read tag values from a micrologix 1500. I managed to set up the DDE topic and get it working ok, however my visual basic methods are a bit hit and miss. I'm a bit confused as to what project references one would need to use in VB to achieve this. I used Microsoft Excel 9.0 Object library and it seems to work. Just wondering if anyone knows what libraries achieve what. Thanks guys.

Share this post


Link to post
Share on other sites
Read this: http://forums.mrplc.com/index.php?showtopic=5420&hl=

Share this post


Link to post
Share on other sites
And the answer is... None... VB6 supports DDE right out of the box... You can create a blank textbox and set it's linkTopic to RSLinx|whatever (whatever being the name of your topic), and it's linkItem to the value you'd like to read from the PLC (ex:n37:10). Then depending on how you use the linkMode you can update the value with a button's click event or, just have it autoUpdate. (To autoUpdate, just set the linkMode to 1-Automatic)

Share this post


Link to post
Share on other sites
So true! Fantastic, thanks for the help guys

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