Our setup is as follows:
We have a pump motor controlled over CAN.
I can set the RPM over CAN ("Setpoint_RPM") and it reports back its actual RPM ("ActualPumpRPM").
I'm changing the RPM signal value via an instrument panel button.
The signal is set to be sent on the bus with a cycle time of 50ms. Bus load is low at any given time (<10%).
Now the issue is that every time I change the signal via the button, it takes a significant amount of time (around 600ms) until the device reacts.
To look for the cause I set up both a Trace and Plotter window.
Here, the first updated device RPM shows up at timestamp 22.477, 600ms after the setpoint has been changed.
However, if compared to the trace, it becomes clear that the signal doesn't get sent until around 120ms before the first updated device RPM, which would correctly correspond to the device's reaction time.
Why is the delay between the signal update and the signal being put on the bus so high? How can I reduce this delay?
Why doesn't the plot correctly correspond to the trace?
Additional info:
There's no script running in the background.
When I disable the cycle time, the signal gets sent immediately without delay.
PCAN-Explorer version is 6.7.0.2830
Signal update big delay on bus, Trace and Plot inconsistent
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Signal update big delay on bus, Trace and Plot inconsistent
Hello,
Can you contact us with your Licene-ID?
support[at]peak-system.com
Can you contact us with your Licene-ID?
support[at]peak-system.com
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team