Mach 3 Post Process

Mach 3 Post Process

Anonymous
Not applicable
589 Views
2 Replies
Message 1 of 3

Mach 3 Post Process

Anonymous
Not applicable

I have Mach 3  running my mill when job is finish the machine will go to home position I would like to know how to change I would like to have Z and Y axis go home and X stay in the position the job was can someone help me with this.

 

Thanks

Craig 

0 Likes
Accepted solutions (1)
590 Views
2 Replies
Replies (2)
Message 2 of 3

bob.schultz
Alumni
Alumni
Accepted solution

Hello Craig,

 

You can remove the Y-axis from the move to home in the onClose function in the post processor.  Simply remove the code highlighted in red in the onClose function.

 

if (!machineConfiguration.hasHomePositionX() && !machineConfiguration.hasHomePositionY()) {
    if (properties.useG28) {
      writeBlock(gFormat.format(28), gAbsIncModal.format(91), "X" + xyzFormat.format(0), "Y" + xyzFormat.format(0)); // return to home
    }
  } else {
    var homeX;
    if (machineConfiguration.hasHomePositionX()) {
      homeX = "X" + xyzFormat.format(machineConfiguration.getHomePositionX());
    }
    var homeY;
    if (machineConfiguration.hasHomePositionY()) {
      homeY = "Y" + xyzFormat.format(machineConfiguration.getHomePositionY());
    }
    writeBlock(gAbsIncModal.format(90), gFormat.format(53), gMotionModal.format(0), homeX, homeY);
  }


Bob Schultz
Sr. Post Processor Developer

Message 3 of 3

Anonymous
Not applicable

Thanks for your help that work great support.

0 Likes