Skip to content
English
  • There are no suggestions because the search field is empty.

Using Q.series XE EtherCAT modules with NI VeriStand

Requirements and setup

To use Q.series XE EtherCAT modules with NI VeriStand, connect them to a Q.series XE Bus Coupler, configure them in GI.bench, and export a configuration-specific EtherCAT Slave Information (ESI) file for each module. Import the files into NI’s Scan Engine and EtherCAT Custom Device on both the host and the real-time target, then auto-detect and deploy the slaves.

Software and hardware requirements

Install compatible software and driver versions on the host computer and real-time target. Check NI’s custom-device releases and third-party EtherCAT slave setup guide before installation.

1. Configure Q.series XE modules in GI.bench

Connect the Bus Coupler to the PC by USB. In GI.bench, select Read → Scan serial port for modules, then select the Bus Coupler’s COM port. GI.bench reads the connected modules and their current settings.

Configure the variables and write the settings back to the modules. For details, see Starting Your Q.series XE EtherCAT Slave Implementation.

2. Export module-specific ESI files

Q.series XE process data object (PDO) mappings can differ between module configurations. Export ESI files that match the configured modules:

  1. In GI.bench, select Export → EtherCAT ESI Files (Modules Separated).
  2. Choose a destination folder. GI.bench exports a separate ESI file for each module.
  3. Keep the files with the project configuration. If the PDO mapping changes, export new ESI files and update the device profiles in VeriStand.

The generic Gantner Instruments.xml file is intended for EtherCAT masters that can retrieve configuration-specific PDO mappings through CAN over EtherCAT (CoE). For this VeriStand workflow, use configuration-specific ESI files unless dynamic PDO mapping has been verified for the selected NI software versions.

3. Import and detect the modules in VeriStand

  1. Set the NI real-time controller as the deployment target for the VeriStand project.
  2. Add Scan Engine and EtherCAT Custom Device to the System Definition File.
  3. Right-click the custom device and select Add EtherCAT Master.
  4. Right-click the EtherCAT Master and select Manage 3rd-party EtherCAT Slaves.
  5. Browse to the exported ESI files. Import them for both the host and the real-time target.
  6. If prompted, restart the EtherCAT master.
  7. Close the import window. Right-click the custom device and select Auto-detect Modules. The connected slaves should appear in the System Definition File.
  8. Deploy the System Definition File to the NI real-time target.

If auto-detection returns error -356004, check that I/O Variable Remote Configuration Web Service is installed on the real-time target.

Configure Distributed Clock synchronisation

Q.series XE modules support EtherCAT Distributed Clocks. If your application requires Distributed Clock (DC) synchronisation, enable the distributed clock option for the slave in the VeriStand custom device and enable DC Sync0 on each relevant Gantner module before deployment. Confirm that the selected NI custom-device version supports the required configuration.

NI VeriStand compatibility and limitations

  • NI describes generic third-party EtherCAT slave support as limited to PDO access. Do not rely on CoE or File over EtherCAT (FoE) configuration or file-transfer functions unless these have been verified for your NI hardware, driver and custom-device versions.
  • Q.series XE supports XFC oversampling, but the EtherCAT master must also support the required oversampled PDO structure and data depth. Confirm this with NI before relying on oversampling in a test.

Frequently asked questions about Q.series XE and NI VeriStand

Why does VeriStand need configuration-specific ESI files?

Q.series XE PDO mappings can differ between module configurations. Export new ESI files when the mapping changes, then update the corresponding device profiles in VeriStand.

Can I use CoE or FoE configuration through NI’s custom device?

NI describes generic third-party EtherCAT slave support as limited to PDO access. Verify any required CoE or FoE functions with NI for the selected hardware, driver and custom-device versions before relying on them.

What should I check if Auto-detect Modules returns error -356004?

Check that I/O Variable Remote Configuration Web Service is installed on the NI real-time target.

Can I use Distributed Clock synchronisation?

Q.series XE modules support Distributed Clocks. Enable the option in the VeriStand custom device and enable DC Sync0 on the relevant Gantner modules. Check that the selected custom-device version supports the required configuration.

Can I use XFC oversampling with VeriStand?

Q.series XE supports XFC oversampling, but compatibility depends on the EtherCAT master’s support for the required PDO structure and data depth. Confirm the configuration with NI before using it in a test.

For further details, see Starting Your Q.series XE EtherCAT Slave Implementation and NI’s guide to setting up third-party EtherCAT slaves in VeriStand.