Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
velocity and torque readbacks
I'm using some motors via a Yaskawa ethercat amplifier in position mode.

I would like to read the velocity and torque. When I read the velocity by the chart program the values look reasonable but when I log the Motor[0].ActVel in an array the numbers are mostly 0. I also log the position (ActPos) and time (Sys.RunTime) so I can calculate a decent velocity value using (Δp/Δt) but I don't understand why the ActVel doesn't show correctly and why it seemingly does show correctly in the chart (I exported the chart data). Also my calculation has some ripple that I'm not sure is real or is a product the times not being in perfect sync with the position reads.

For torque I can see the IqMeas doesn't change; the IqCmd does. But I think I should be reading this from the Ethercat amplifier directly (ECAT[0]…) but not sure what variable to type.


Messages In This Thread
velocity and torque readbacks - JeffB - 02-20-2020, 09:51 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)