Generate Simulated Vr Signal - 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.6.1
Generate
Simulated VR
Signal
//Output a continuous pulse train on DOut0.
//Simulate 500 rpm and 36 teeth on the wheel.
CUeiSimulatedVRChannel* dout0 = vrSession.CreateSimulatedVRChannel(
© Copyright 2024
United Electronic Industries, Inc.
You can configure a digital output channel for VR simulation on Revision 2
boards. The simulated signal is a square wave with a 50% duty cycle and
frequency equal to rpm*ppr/60. The minimum allowed frequency is 0.12336 Hz
and the maximum is 500 kHz. For example, if ppr=36, rpm can range from
0.2056 to 833,333.
The input parameters are:
resource – specifies the device and subsystem (see Section 4.4)
mode – one of the following digital output modes defined in
tUeiVRSimulationMode:
UeiVRSimulationModeContinuous – Simulate continuous
rotation with no Z-tooth.
UeiVRSimulationModeMissingPulse – Simulate one missing
tooth per revolution.
UeiVRSimulationModeFusedPulses – Simulate one fused
tooth per revolution.
UeiVRSimulationModePhasedPair – Simulate a torque
measurement using a pair of simulator channels. The vr0
resource selects the DOut0/1 pair and vr2 selects the DOut2/3
pair. Note that vr1 and vr2 should also be configured as
UeiVRSimulationModePhasedPair even though the other
parameters will be ignored.
UeiVRSimulationModeStatic – Turn off simulator and use
digital output source (Section 4.6.2).
rpm – rotations per minute to simulate
ppr
– pulses per revolution to simulate (0...4095, which includes
missing/fused pulses in the pulse count)
percentDelay
Pair, this is the percent of 1 period that the odd channel is delayed from
the even channel.
February 2024
DNx-VR-608 Variable Reluctance Interface
Programming with the High-level API
"pdna://192.168.100.2/Dev2/vr0",
UeiVRSimulatedModeContinuous,
500,
36,
0);
– Only used in UeiVRSimulationModePhased-
Chapter 4
33
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