Configure Analog Vr Sensor; Configure Torque Sensor - Ametek DN VR-608 Series User Manual

8-channel variable reluctance sensor interface for the powerdna cube and rack series chassis
Table of Contents

Advertisement

4.5.1
Configure
Analog VR
Sensor
//Configure channel 0 to measure velocity every N teeth.
CUeiVRChannel* vr0 = vrSession.CreateVRChannel(
//Use Dual VR IC for zero crossing detection and adaptive peak threshold.
vr0->SetZCMode(UeiZCModeChip);
vr0->SetAPTMode(UeiAPTModeChip);
//Toothed wheel has N = 36 teeth (including the Z-tooth).
//Z-tooth is one missing tooth.
vr0->SetNumberOfTeeth(36);
vr0->SetZToothSize(1);
//Store raw counter data and time stamps into the FIFO.
vr0->SetFIFOMode(UeiFIFOModePosAndTS);
4.5.2
Configure
Torque Sensor
//Channel 2 reports rpm and channel 3 reports torque.
CUeiVRChannel* npulse_ch = vrSession.CreateVRChannel(
CUeiVRChannel* torque_ch = vrSession.CreateVRChannel(
//Use Dual VR IC zero crossing detection and adaptive peak threshold.
//ZC and APT are automatically set for channel 2 (npulse_ch).
torque_ch->SetZCMode(UeiZCModeChip);
torque_ch->SetAPTMode(UeiAPTModeChip);
//Odd channel leads even channel. Do not invert inputs.
torque_ch->SetTorqueLead(true);
torque_ch->InvertTorqueSignal(false);
//Store data after 36 teeth have been counted.
npulse_ch->SetNumberOfTeeth(36);
© Copyright 2024
United Electronic Industries, Inc.
The following example shows a typical configuration for a VR sensor connected
to Channel 0.
You can optionally stream channel data into the FIFO with the following call:
The following example configures a dual VR torque sensor wired to Channels 2
and 3. For torque sensor configuration, set the odd-numbered channel in a
channel pair to Torque mode and the even-numbered channel to N-Pulse Mode.
February 2024
DNx-VR-608 Variable Reluctance Interface
Programming with the High-level API
"pdna://192.168.100.2/Dev2/vr0",
UeiVRModeCounterNPulses);
"pdna://192.168.100.2/Dev2/vr2",
UeiVRModeCounterNPulses);
"pdna://192.168.100.2/Dev2/vr3",
UeiVRModeCounterTorque);
Chapter 4
31
www.ueidaq.com
508.921.4600

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dna-vr-608Dnr-vr-608Dnf-vr-608

Table of Contents