DeviceNet VIs

NI-Industrial Communications for DeviceNet 18.0 Help

Edition Date: April 2018

Part Number: 372945J-01

»View Product Info
Download Help (Windows Only)

Use the DeviceNet VIs to control and configure DeviceNet devices on a DeviceNet network.

Palette ObjectDescription
Close ObjectCloses a DeviceNet object. When you use this VI to close an open DeviceNet object, the NI-Industrial Communications for DeviceNet software stops all DeviceNet communication on that object.
Convert For DeviceNet WriteConverts LabVIEW data to DeviceNet data for writing on a DeviceNet network.
Convert From DeviceNet ReadConverts DeviceNet data from the DeviceNet network to LabVIEW data.
Easy IO CloseCloses an Interface Object and multiple device objects.
Easy IO ConfigConfigures and starts an Interface Object and multiple I/O Objects. This VI also returns the Interface Object and device object handles for all the other objects.
Get DeviceNet AttributeGets an attribute value from a DeviceNet device using an Explicit Messaging Object and executes the Get Attribute Single service on a remote DeviceNet device.
Open DeviceNet Explicit MessagingConfigures and opens an Explicit Messaging Object and returns a handle of this object.
Open DeviceNet InterfaceConfigures and opens an Interface Object and returns a handle of this object.

You must open an Interface Object before you start any application on the real-time CompactRIO controller. Before you open the interface, a delay occurs due to a loading process for a few seconds. This process establishes communications between the controller and the NI-Industrial Communications for DeviceNet module.
Open DeviceNet IOConfigures and opens an I/O Object and returns a handle of this object.
Operate DeviceNet InterfacePerforms an operation on an Interface Object.
Read DeviceNet IOReads input data from an I/O Object.
Set DeviceNet AttributeSets an attribute value for a DeviceNet device using an Explicit Messaging Object and executes the Set Attribute Single service on a remote DeviceNet device.
Wait For StateWaits for the Established state or the Read Avail state of an Explicit Messaging Object, an I/O Object, or a CAN Frame Read Object.
Write DeviceNet IOWrites output data to an I/O Object.


SubpaletteDescription
Advanced VIsUse the Advanced VIs to read and write the DeviceNet Explicit Messages and to set and get driver attributes.

WAS THIS ARTICLE HELPFUL?

Not Helpful