Posted 4 Jul 2006 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
Posted 4 Jul 2006 Read this: http://forums.mrplc.com/index.php?showtopic=5420&hl= Share this post Link to post Share on other sites
Posted 5 Jul 2006 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
Posted 6 Jul 2006 So true! Fantastic, thanks for the help guys Share this post Link to post Share on other sites