Getting the correct spindle load call from the Okuma API
I am trying to call the load for each spindle on a lathe. I have found in
the API help the calling for the axis loads and that works fine, but am
not having luck calling the correct calls for the spindle loads. Before a
I work on subsystem calls want to make the first spindle work. Below is
what I have tried.
Axis load example (works fine):
private object zaxisload()
{
return objaxis.GetAxisLoad(AxisIndex2Enum.Z_Axis);
}
Attempt for spindle loads:
private object firstspindleload()
{
return objSpindle.GetSpindleLoad;
}
I have run the a program and the axis loads return a value, but the
spindle load doesn't return any values.
No comments:
Post a Comment