Maker Pro
Maker Pro

Brushless DC Motor controlled by CAN BUS

Hi,

I'm updating an old fixture and programming using a CAN BUS on a PLC controller. My motor is already enabled and functioning with the old software. I'm measuring torque. Currently the torque sensor gets a reading and sets to zero for a 'tare.' later it takes the measured torque data and gives me a value... but the starting position is different every time. The motor has a built in encoder, with a homing feature, but I would have to change the motor firmware and enable the I/O pins so I can access the encoder. I'm wondering it there's a mathematical way to save the original tare position and revert back to that as a starting point, every time I run a test. ...just because it seems like less work to keep the current firmware.

I already made a statement that basically tells the system that the torque is 0Nm at 0volts, but that isn't angular position.

Any help would be appreciated. Thanks!
 
Top