Doosan Lynx 2100LSYB turning while spindles synchronized

warnerwerkswv
Enthusiast
Enthusiast

Doosan Lynx 2100LSYB turning while spindles synchronized

warnerwerkswv
Enthusiast
Enthusiast

I have a part where I need to grab it with the sub to support it, and turn it, and I'm getting an error because it can't command a spindle start when the spindles are synced.

 

Is there a workaround or a different way to do this?

0 Likes
Reply
416 Views
4 Replies
Replies (4)

warnerwerkswv
Enthusiast
Enthusiast

@LibertyMachine @seth.madore any input on this?

0 Likes

BrandonTBFBF
Collaborator
Collaborator

Where are you getting the error? At the machine or when posting code?

 

The onParameter function shows some Actions that should be used.

 

function onParameter(name, value) {
  var invalid = false;
  switch (name) {
  case "action":
    if (String(value).toUpperCase() == "PARTEJECT") {
      ejectRoutine = true;
    } else if (String(value).toUpperCase() == "USEXZCMODE") {
      forceXZCMode = true;
      forcePolarMode = false;
    } else if (String(value).toUpperCase() == "USEPOLARMODE") {
      forcePolarMode = true;
      forceXZCMode = false;
    } else {
      var sText1 = String(value);
      var sText2 = new Array();
      sText2 = sText1.split(":");
      if (sText2.length != 2) {
        error(localize("Invalid action command: ") + value);
        return;
      }
      if (sText2[0].toUpperCase() == "TRANSFERTYPE") {
        transferType = parseToggle(sText2[1], "PHASE", "SPEED");
        if (transferType == undefined) {
          error(localize("TransferType must be Phase or Speed"));
          return;
        }
      } else if (sText2[0].toUpperCase() == "TRANSFERUSETORQUE") {
        transferUseTorque = parseToggle(sText2[1], "YES", "NO");
        if (transferUseTorque == undefined) {
          invalid = true;
        }
      } else if (sText2[0].toUpperCase() == "USETAILSTOCK") {
        forceTailStock = parseToggle(sText2[1], "YES", "NO");
        if (forceTailStock == undefined) {
          invalid = true;
        }
      } else if (sText2[0].toUpperCase() == "SYNCSPINDLESTART") {
        syncStartMethod = parseToggle(sText2[1], "ERROR", "UNCLAMP", "SPEED");
        if (syncStartMethod == undefined) {
          invalid = true;
        }
      } else {
        invalid = true;
      }
    }
  }
  if (invalid) {
    error(localize("Invalid action parameter: ") + sText2[0] + ":" + sText2[1]);
    return;
  }
}
0 Likes

engineeringGVXES
Explorer
Explorer

any Update on this error?

 

I am getting the same error message when I try and turn between synchronized chucks after a subspindle grab operation.  My roughing operations output properly, but my finishing operation errors out.

0 Likes

seth.madore
Community Manager
Community Manager

If you are using the latest post from the library, there are now some Manual NC commands that you need to use:

syncSpindleStart:error, unclamp, speed   - Method to use when starting the spindle while they are connected/synched

You would put: "syncSpindleStart:speed" for turning operations.


Seth Madore
Customer Advocacy Manager - Manufacturing
0 Likes