![]() Can not continue!")Īt RE: PLC Interfacing using Visual Basic and RSLinx jlada (Electrical) 4 Oct 02 11:50 ![]() 'tell VB to get the data from the PLC NOW! 'set the DDE mode to COLD Link, we will request the data manually 'set the Address of the PLC we want to read TxtStat1Status.LinkTopic = "RSLinx|" & DDETOPIC TxtStat1Force.LinkTopic = "RSLinx|" & DDETOPIC 'I might use a configuration file later and let the user set this 'DDETOPIC is a Public Constant in MainSubs Module 'set the Application and Topic of the Control Property 'make sure the DDE Channel is Closed before we define a Topic channel I asked alot of questions and most of the leg work I am telling you know, I just found out myself. Will only work in Excel or you have to enable Excel reference in your library to use that call in VB 6.0.
0 Comments
Leave a Reply. |