Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Use a PC as an NI EtherCAT master

Solved!
Go to solution

Greetings,

 

I have a PC that I would like to make an NI EtherCAT master so that I can program and communicate with an NI 9144. I would like the PC itself to be the master, I do not want to use anther chassis (cRIO, PXI, etc.).

 

I see hints that I should be able to do this with LV 2010 RT and NI-Industrial Communications for EtherCAT 2.1 installed, which I have. But I cannot find any documentation on how to get the master set up on my PC.

 

Are there any tutorials or instructions on how to do this?

0 Kudos
Message 1 of 18
(32,240 Views)
Solution
Accepted by topic author Smrgol

Hello,

 

To use a Desktop PC as EtherCAT master, we would need to set up the PC as RT target at first. The following two links should be able to provide more detailed information about the system requirements and the setup steps:

 

  • Requirements for Desktop PCs as LabVIEW Real-Time Targets

http://zone.ni.com/devzone/cda/tut/p/id/8239?OpenDocument

 

  • Using Desktop PCs as RT Targets with Real-Time Module

http://www.ni.com/pdf/manuals/371857f.pdf

 

 

Now with a Desktop PC running LabVIEW Real-Time OS, we need a second Ethernet adapter to work as EtherCAT master. Please refer to the Supported Hardware section in the link below for our recommended adapter list for real-time desktop target:

http://ftp.ni.com/support/softlib/embedded%20networks/NI-Industrial%20Communication/ethercat/2.1/rea...

 

The Desktop PC now can work as any other RT controller (cRIO, PXI, etc.) that supported by NI-IndComm EtherCAT driver. You can discover this target in MAX, install the real-time software to it, set the 2nd Ethernet adapter to EtherCAT mode, and use this target in LabVIEW.

 

Hope it help!

 

0 Kudos
Message 2 of 18
(31,820 Views)

Sweet! Thank you for those documents they are exactly what I was looking for. It's clear that I wasn't thinking about this problem correctly.

 

Thanks again.

 

Dan

0 Kudos
Message 3 of 18
(31,811 Views)

We offer a EtherCAT Master Library for LabVIEW, that allows to control a NI-9144 directly from a Windows PC via EtherCAT on a normal Ethernet port. The library can be used to:
- Read and write cyclic process data with a deterministic bus rate
- Read and write configurations (SDO) by CoE
- Download firmware and fpga projects
- Change EtherCAT Bus state

More information can be found here:
http://www.ackermann-automation.de/ecatlv_en.htm

0 Kudos
Message 4 of 18
(31,525 Views)

I would like to have PC as EtherCAT Master and Development Software is CVI. Can someone give me some guidence.

Message 5 of 18
(31,094 Views)

What NI Software I need to be able to use your VIs. I am able to talk Beckhoff Ethercat slaves using their TwinCat Software and a third party network card. Do I need any hardware to use your programs? 

0 Kudos
Message 6 of 18
(30,389 Views)
Hello, We have just started working on the EtherCAT protocol communication. And We want our PC to be a real time LabVIEW Master which will communicate to any slave. so is there any kind of solution to this ? any solutions appreciated. thanks.
0 Kudos
Message 7 of 18
(30,197 Views)

Your question should be answered by what JZhou wrote earlier in this thread. The LabVIEW EtherCAT master driver requires an RT OS running on a PC, PXI or cRIO target. CVI is not supported. Only certain ethernet chipsets are supported for PC ETS Rt targets:

 

  • Intel 82540EM
  • Intel 82572EI
  • Intel 82572

DirkW

0 Kudos
Message 8 of 18
(30,174 Views)

Hello,

Thanks for your valuable reply!!.

 

I m planning to develop a custom application in LabVIEW RT with EtherCAT library on my PC.

So is it possible to communicate to any slave hardware irrespective of the manufacturer from my Master application. ?   or is it restricted to only specific slave hardware. ?

 

Because I want to develop a generic Master application which should communicate to different slaves of different manufacturer.

 

 

Chetan.

0 Kudos
Message 9 of 18
(30,152 Views)

EtherCAT is an open standard and therefore you can use it with all slaves out there if they are compliant.

 

DirkW

0 Kudos
Message 10 of 18
(30,140 Views)