How Can I Improve Determinism of EtherNet/IP Implicit Communication?

Updated Sep 4, 2018

Reported In

Software

  • LabVIEW

Driver

  • NI-Industrial Communications for Ethernet/IP

Issue Details

I am trying to establish the EtherNet/IP implicit communication between a PLC and a LabVIEW system. The PLC works as an I/O scanner and the LabVIEW system works as an I/O adapter. I am using the example program named EtherNetIP Adapter lvproj >> Create Assembly Instance VI. But I noticed that the transmitted data rate from the LabVIEW system has a large variance. How can the LabVIEW system send data more deterministically?

Solution

To improve determinism, you should use a LabVIEW real-time system. Then if you set the priority of EthernetIP Add Assembly Instance VI on the transmission side to time critical, the determinism of the transmission task from the LabVIEW system will be improved because the background process of the communication will run as time critical. To do so, you can create a sub VI including the EthernetIP Add Assembly Instance VI and set the priority of the sub VI to time critical through VI properties.

WAS THIS ARTICLE HELPFUL?

Not Helpful