maroctrading Posted December 19, 2008 Report Share Posted December 19, 2008 Hello forum, I'm Mounir from Morocco,it is my first debate in this forum,I have small worries at the level of the LabView and AllenBradley : -how to link OPC of AllenBradley with LabView with the intention of supervising such program in AllenBradley ? somebody represents stages me Quote Link to comment
osvaldo Posted December 24, 2008 Report Share Posted December 24, 2008 QUOTE (maroctrading @ Dec 19 2008, 02:10 AM) Hello forum,I'm Mounir from Morocco,it is my first debate in this forum,I have small worries at the level of the LabView and AllenBradley : -how to link OPC of AllenBradley with LabView with the intention of supervising such program in AllenBradley ? somebody represents stages me Hi, in order to communicate with AllenBradley PLC, you have to install their OPC server named RSLinx and setup it for the CPU you want to communicate with. Then, in RSLinx you can configure the tags representing the internal PLC variable you want to read/write from you labview program. When the tags are defined, you can access them or via Datasocket (using the OPC protocol... see the labview on line manual or search on NI web site) or by binding the controls on your front panel to the desired tag: to do that, open the properties window of the control/indicator and go to the page Data Binding... select Datasocket from the sources, set the access type (Read o Write or both) and select the source using the button on rigth side of the path control. The path is the same for the Datasocket API... Databinding is all automatic but Datasocket API give you more control over the communication. Refer to the on line help for detailed information... and search on the AllenBradley web site for RSLinx software and how to configure it. This is all my knowledge about.... sorry! Regards Osvaldo Quote Link to comment
Louis Manfredi Posted January 7, 2009 Report Share Posted January 7, 2009 Hi Mounir: Osvaldo's advice works, I did it this way a few years back. I'm not certain that RSLinx is the only OPC server you can use for the job, might even be servers available with LabVIEW? But certainly the RSLinx path worked and was straightforward to set up. Best, Louis Quote Link to comment
Francois Normandin Posted January 7, 2009 Report Share Posted January 7, 2009 I haven't worked with this, but you might be interested to know there are some experimental drivers that can be found on NI Labs for Allen Bradley PLC's. Quote Link to comment
David Wisti Posted January 7, 2009 Report Share Posted January 7, 2009 QUOTE (normandinf @ Jan 6 2009, 09:55 AM) I haven't worked with this, but you might be interested to know there are some experimental drivers that can be found on NI Labs for Allen Bradley PLC's. There are some VIs here on lava too that are more open then the NI ones. They are not OPC but communicate with the Ethernet IP protocol which is what most OPC servers would be using. 1 Quote Link to comment
osvaldo Posted January 13, 2009 Report Share Posted January 13, 2009 QUOTE (David Wisti @ Jan 6 2009, 05:17 PM) There are some http://forums.lavag.org/Industrial-EtherNet-EtherNet-IP-t9041.html' target="_blank">VIs here on lava too that are more open then the NI ones. They are not OPC but communicate with the Ethernet IP protocol which is what most OPC servers would be using. Hi to all, Ok... I never used this VI libraries because they use the Ethernet interface and I needed to use an RS232 serial link... If you use the Ethernet interface module, probably you can use this libraries in more efficient way than the OPC interface... In my latest work, I used Siemens S7 PLC with Ethernet interface module and I communicate via TCP/IP Fetch/Write protocol without the need for an OPC server or other driver software... RSLinx is the only secure way to interact with AllenBradley PLC if you use the serial link or you want to use a generic method to connect to PLC tags via OPC (because RSLinx is the only official sw that implement the PLC protocol that I know)... than, to connect to tags you can use Datasocket or the OPC Server (that in facts are OPC clients) library from NI, or even Labview DSC... Osvaldo Quote Link to comment
pjackson59 Posted October 15, 2010 Report Share Posted October 15, 2010 QUOTE (normandinf @ Jan 6 2009, 09:55 AM) There are some VIs here on lava too that are more open then the NI ones. They are not OPC but communicate with the Ethernet IP protocol which is what most OPC servers would be using. Hi All, I'm trying to find this code, (http://forums.lavag.org/Industrial-EtherNet-EtherNet-IP-t9041.html) but the link just redirects to the home page. Does anyone know where it might be hiding? Thanks, Paul Quote Link to comment
David Wisti Posted October 15, 2010 Report Share Posted October 15, 2010 Is this what you are looking for? Hi All, I'm trying to find this code, (http://forums.lavag....t-IP-t9041.html) but the link just redirects to the home page. Does anyone know where it might be hiding? Thanks, Paul Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.