Motor torque constant lookup integrated into automation