Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Doosan SMX3100st Fanuc 0i and 31i control mill-turn

piotrVMP6A
Contributor

Doosan SMX3100st Fanuc 0i and 31i control mill-turn

piotrVMP6A
Contributor
Contributor

hello everyone, i need help editing the post processorfrom tittle. the machine is at my place for a week, I'm just starting to test programs on it and so far I've encountered one problem. namely, when drilling in a circle, the postprocessor spits out the G369 (cancelWorkPlane) code after the first hole and it should after all holes, before changing the tool. I can't locate it and modify it. Thank you for all your help, I'm learning this on my own, but it's hard for me and I don't have much time

0 Likes
Reply
401 Views
3 Replies
Replies (3)

billcainautodesk
Autodesk
Autodesk

Hello piotrVMP6A

 I was not able to reproduce the problem. Are you able to share the project?



Bill Cain
Sr. Technical Consultant
0 Likes

piotrVMP6A
Contributor
Contributor

thank you for your interest, I am sending the fusion program file.

O1000
G0 G18 G21 G40 G54 G80 G99 M110
M24
M34
M134
N1(DRILL6)
G0 G28 U0. V0.
G28 W0.
G54
G99 G19
M35
M90
G0 G28 H0.
M89
T06000
M6 T06000
T05000 (NEXT TOOL)
T06006
M8
G97 S1404 M3 P12
M90
G368 X0. Z0. D1. B-45. W6
G0 C-113.137
M89
G0 X134.146 Y0. Z-60.024
G80
G0 X124.146
G87 X5.307 Z-60.024 R-44.37 F0.06 M89
G80
G0 X134.146
G369===========this is the line that should be after the last operation in patternet cycle, before the tool change

(DRILL6)
G28 U0. V0.
G28 W0.
M90
G0 C-23.137
M89
G0 X134.146 Y0. Z-60.024
G0 X124.146
G87 X5.307 Z-60.024 R-44.37 F0.06 M89
G80
G0 X134.146
0 Likes

billcainautodesk
Autodesk
Autodesk

Hello piotrVMP6A

 

Give the following a try. Be careful though.

 

  // Consider part cutoff as stockTransfer operation
  if (!(machineState.stockTransferIsActive && partCutoff)) {
    machineState.stockTransferIsActive = false;
  }

  var previous = getCurrentDirection();
  var abc = getWorkPlaneMachineABC(currentSection, currentSection.workPlane);
  bChange = useG368(abc) && ((currentWorkPlaneABC == undefined) ||
    abcFormat.areDifferent(abc.y, currentWorkPlaneABC.y));
  setCurrentDirection(previous);

  // cancel previous work plane
  if (insertToolCall || (newWorkPlane && bChange)) {
    cancelWorkPlane(); //piotr g369 po pierwszym wieceniu
  }

  // Process Pass Through commands
  executeManualNC();


Bill Cain
Sr. Technical Consultant
0 Likes