NI VeriStand Add-Ons Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

NI VeriStand Add-On: Ethernet/IP Custom Device

NI VeriStand Add-on: Ethernet/IP Custom Device

 

Overview

The Ethernet/IP custom device allows users to ommunicate with targets that support Logix tag names over EtherNet/IP.  This functionality is commonly used for communicating with industrial PLCs.

 

Instructions for Use

To use the Ethernet/IP add-on right click the Custom Devices section in the System Explorer and select National Instruments >> Ethernet IP Custom Device. On the main page you can configure the communication settings for the PLC and optionally import an L5K file describing the communication tags.  You can also manually add tags by clicking the "Inputs" or "Outputs" section and clicking the "Add Channel" button.

 

EIP.png

Installing the Ethernet/IP Custom Device

To use the Ethernet/IP custom device, copy the contents of the folder named "Built" into <Public Documents>\National Instruments\VeriStand 20xx\Custom Devices and restart NI VeriStand.

 

Add-on Requirements to Run the Ethernet/IP Custom Device

All attempts have been made to provide an add-on comptible with the NI VeriStand shipping examples.  The nature of some add-ons requires additional software or hardware to function.

 

Software

This device was created for use with NI VeriStand <version>.  To use this custom device you must have the following software installed:

 

Hardware

This add-on requires the following hardware.

  • A PLC compatible with Logix tags over Ethernet/IP

Add-on Requirements to Modify the Ethernet/IP Custom Device

 

Release notes for the Ethernet/IP custom device

<2.2>

  • If the custom device throws an error at initialization this will now prevent the system definition from deploying
  • Multiple devices in a single system definition will now have improved behavior and performance
  • Fixed a bug where an update rate of 1, 3, or 4 ms would cause the custom device to shut down
  • If the custom device throws an error while running, it will no longer shut down. it will simply report the error to the console and attempt to recover

<2.1>

  • default values can now be set for tags from System Explorer pages
  • all tags now written when the custom device starts

<2.0>

  • first public release

Support and Contact

This add-on is provided as open-source software.  If it does not meet your exact specification, you are encouraged to modify the source code to meet your needs.  It is not officially supported by National Instruments.

 

Do not call National Instruments for support for this add-on.

 

National Instruments does not support this code or guarantee its quality in any way. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).

Comments
BenGTD
Member
Member
on

Looks like there is a download for 2013, but the documentation above doesn't reflect this. Please update.

161344
Member
Member
on

Download the nivs2013 zip and copy the built and source to Custom Devices folder but it happen an error(-307603).

Possible reason(s): The requested custom device does not have a main page specified. Contact the creator of the custom device to correct this error.

how can i do to solve that??

StephenB
Active Participant
Active Participant
on

Hello!

The installation instructions on the website were wrong. I just fixed them. I apologize. Delete the folder you installed to the custom devices directory and follow the new instructions. That should fix it

Stephen B
161344
Member
Member
on

I retry it and can work now. Thanks.

stoneadam
Member
Member
on

Following error occured after moving contents of "Build" folder to Custom Devices folder for the 2013 version of the code:Possible reason(s), unsure of path forward:

"LabVIEW:  File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.
=========================
NI-488:  Nonexistent GPIB interface.

VI Path: C:\Users\Public\Documents\National Instruments\NI VeriStand 2013\Custom Devices\Ethernet IP Custom Device\Ethernet IP Custom Device Configuration.llb\Ethernet IP Custom Device Initialization VI.vi

Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared library.

LabVIEW Real-Time: VIs built into executables cannot be accessed through VI Server calls. Use Source Distributions to dynamically call VIs on Real-Time targets."