Flashcut CNC multiple Fabheads

teamtti
Explorer

Flashcut CNC multiple Fabheads

teamtti
Explorer
Explorer

Hi All,

 

We have added a marker setup to our plasma table.  We are using the default FlashcutCNC post from ADSK.   We were previously using a torchmate table and post.  When we selected "etch" the tool number changed.  Is is possible to add this functionality to the default flashcut post?  If so could one of you fine folks point me in the right direction?   The proposed formatting is below.  Thanks!

 

teamtti_0-1615911184308.png

 

G20
M106 Hmarker2 (Plate Marker)
G00 X2.413857 Y3.145563
G02 X2.413857 Y3.145563 I1.483018 J1.932562 F50.00
M106 Hplasma1 (Powermax125)
G00 X1.723985 Y1.569763
G603
G03 X1.669013 Y2.274730 I-0.379970 J0.324997 F48.00
G02 X1.669013 Y2.274730 I2.330987 J2.725270
G00 X0.000000 Y0.000000

 

0 Likes
Reply
Accepted solutions (1)
313 Views
2 Replies
Replies (2)

boopathi.sivakumar
Autodesk
Autodesk
Accepted solution

Hi @teamtti you need to modify the post as below to get the output as expected

Edit the post and find for this line switch (currentSection.jetMode{

and modify the switch statement to like below
 switch (currentSection.jetMode) {
  case JET_MODE_THROUGH:
    if (getProperty("useFabricationHeadId")) {
      writeBlock(mFormat.format(106), "H" + getProperty("fabricationHeadId"));
    }
    break;
  case JET_MODE_ETCHING:
    if (getProperty("useFabricationHeadId")) {
      writeBlock(mFormat.format(106), "Hmarker2");
    }
    break;
  default:
    error(localize("Unsupported cutting mode."));
    return;
  }
    error(localize("Unsupported cutting mode."));
    return;
  }

and find for the below codes 

function checkPowerMode(moveType) {
  if (deviceOn != moveType) {

change it to like below

function checkPowerMode(moveType) {
  if (deviceOn != moveType && currentSection.jetMode != JET_MODE_ETCHING) {

and finally you need to block the codes in the below location as shown

  case MM:
    writeBlock(gUnitModal.format(21));
    break;
  }

  // if (getProperty("useFabricationHeadId")) {
  //   writeBlock(mFormat.format(106), "H" + getProperty("fabricationHeadId"));
  // }
}

Save and test the post now it should work as you expected.
I hardcoded the Hmarker2 for etching as you can use properties to control that as well

 


Boopathi Sivakumar
Senior Technology Consultant

teamtti
Explorer
Explorer

Thank you Boopathi!!  That worked great!!

0 Likes