Skip to content

Add infoData and MotorLoad PVs for EL70x1 and EL70x7#236

Open
cdn-lnk wants to merge 2 commits intopaulscherrerinstitute:masterfrom
cdn-lnk:infodata
Open

Add infoData and MotorLoad PVs for EL70x1 and EL70x7#236
cdn-lnk wants to merge 2 commits intopaulscherrerinstitute:masterfrom
cdn-lnk:infodata

Conversation

@cdn-lnk
Copy link
Contributor

@cdn-lnk cdn-lnk commented Sep 15, 2025

Hi @anderssandstrom,

please let me know if any changes are needed to get this merged.

Thanks.

@cdn-lnk cdn-lnk marked this pull request as ready for review September 15, 2025 16:29
Copy link
Contributor

@anderssandstrom anderssandstrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks.
What is motor load showing when not running in vector mode, guess 0.0?

@kivel
Copy link
Collaborator

kivel commented Jan 5, 2026

How it motor load even determined for a stepper? I mean, it's running on a fixed current, regardless of it's load, isn't it?

@anderssandstrom
Copy link
Contributor

@kivel , In vector mode EL70X7 runs like a servo, controlling current (never tested though..). In this mode, incremental encoder on shaft is mandatory and only beckhoff steppers supported. So for us I expect we will never see anything in the motor load PDO.

@kivel
Copy link
Collaborator

kivel commented Jan 5, 2026

@anderssandstrom ,gotcha, thanks the explanation.

@cdn-lnk
Copy link
Contributor Author

cdn-lnk commented Jan 20, 2026

Happy new year guys,

What is motor load showing when not running in vector mode, guess 0.0?

I tested it on velocity direct mode, it reports a number between 0 and 90 degrees.
Seems to work normally; trying to hold the motor shaft, preventing the load from moving or increasing the speed, increases the reported value.

How it motor load even determined for a stepper?

My best guess (given it works on velocity direct): it is calculating the phase difference between the voltage and current sinoidals.

But I'm not sure on how precise/accurate it is, or even if the calculation is the same for different modes.

@anderssandstrom
Copy link
Contributor

@cdn-lnk, thanks for testing. That sounds very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants