NI Scan Engine Mode

NI-Industrial Communications for DeviceNet 18.0 Help

Edition Date: April 2018

Part Number: 372945J-01

»View Product Info
Download Help (Windows Only)

Overview

The NI Scan Engine has two modes described in the following table.

ModeDescription
ConfigurationThe required mode for configuring NI Scan Engine settings and hardware on the DeviceNet network. The I/O variables are not updated with real data in this mode.
ActiveIn this mode, the NI Scan Engine actively updates I/O variables with real data from the DeviceNet network.

NI Scan Engine Mode Transition Impact on DeviceNet

When the Scan Engine mode changes from Configuration mode to Active mode, the NI-Industrial Communications for DeviceNet software connects the DeviceNet interface master device to the network and writes Scan Engine data to the DeviceNet slave devices.

When the Scan Engine mode changes from Active mode to Configuration mode, the NI-Industrial Communications for DeviceNet software disconnects the DeviceNet interface master device from the network.

Note Note  For each VI that uses DeviceNet I/O variables or function blocks, you must ensure the following:
  • The VI calls the Set Scan Engine Mode VI before it uses any I/O variables or function blocks.
  • If the VI uses a function block to access a slave device, the DeviceNet master interface item must be added to the VI's LabVIEW project.

Changing the NI Scan Engine Mode

You can change the NI Scan Engine mode manually or programmatically.

  • To change the NI Scan Engine mode manually, right-click the target item in the LabVIEW project explorer and select Utilities»Scan Engine Mode»Switch to Active (or Switch to Configuration).
  • Change the mode programmatically with the Set Scan Engine Mode VI in the Measurement I/O»NI Scan Engine palette.

Complete the following steps to receive notification of all NI Scan Engine mode transitions.

  1. Right-click the target item in the LabVIEW project explorer and select Properties.
  2. Check the Report automatic scan mode transitions as conflicts option on the Scan Engine page.

WAS THIS ARTICLE HELPFUL?

Not Helpful