Doosan-Mill-Turn disabling G17

Doosan-Mill-Turn disabling G17

gfrcex
Contributor Contributor
1,272 Views
5 Replies
Message 1 of 6

Doosan-Mill-Turn disabling G17

gfrcex
Contributor
Contributor

His guys, 

 

I was sniffing through the post processor and I cant seem to disable the G17 XY from being posted as it is not compatible with the Lynx machine. Altering the G17 to G18 on the machine makes the simulation work but with G17 it gives illegal  address for face drilling. Is there a way to completely disabling the G17 from being outputted during the post processing.

 

Thank you. 

0 Likes
Accepted solutions (1)
1,273 Views
5 Replies
Replies (5)
Message 2 of 6

ArjanDijk
Advisor
Advisor

Hi @gfrcex. There is no way to block output in one sentence and the post can also rely on these plane definition. In this example below, you see that the the used G code depends on the choosen plane. What post are you using? Are you sure your machine does not support G17?

 

    case "drilling":
      writeBlock(
        gCycleModal.format((gPlaneModal.getCurrent() == 17) ? 83 : 87),
        getCommonCycle(x, y, z, (cycle.retract - cycle.clearance)),
        feedOutput.format(F)
      );
      break;

Inventor HSM and Fusion 360 CAM trainer and postprocessor builder in the Netherlands and Belgium.


0 Likes
Message 3 of 6

gfrcex
Contributor
Contributor

Hello ArjanDijk       I'm using a Doosan Lynx Mill/Turn with ZCX 

 

I'm trying to run a live milling operation on the face but the post outputs a G17 code which the machine does not like and it gives me illegal plane error. I'll give a post example with a simple hole in the centre with live tooling. When I change the G17 to G18 then the operation runs but I would like to automatically choose G18 when I post process the code. I do not know why the Lynx does not like the G17 code I have no idea. Inside the post Y axis is disabled, gotPolarInterpolation = false, forceXZCMode = true, gotSecondarySpindle = false 

 

1001
(T0101 D=5. CR=0. TAPER=118DEG - ZMIN=-15.502 - DRILL)
G21
M24

N1(DRILL1)
G0 G28 U0.
G28 W0.
M90
G54
G98 G17 M35
G0 G28 H0.
M89
T0101
G97 S780 M3 P12
M90
G0 C0.
M89
G0 Z15.
X0.
G80
G0 Z5.
G83 Z-15.502 R0. F39. M89
G80
G0 Z15.
M5 P12

M25
G0 G28 U0.
G28 W0.
G28 H0.
M34
G54 M80

M30
%

 

0 Likes
Message 4 of 6

ArjanDijk
Advisor
Advisor
Accepted solution

You need to change this line

      writeBlock(feedMode, gPlaneModal.format(plane), cAxisEnableModal.format(getCode("ENABLE_C_AXIS", getSpindle(true))));
and replace it with this
      writeBlock(feedMode,  cAxisEnableModal.format(getCode("ENABLE_C_AXIS", getSpindle(true))));

Inventor HSM and Fusion 360 CAM trainer and postprocessor builder in the Netherlands and Belgium.


Message 5 of 6

gfrcex
Contributor
Contributor

Thank you very much

0 Likes
Message 6 of 6

gfrcex
Contributor
Contributor

hi Arjan, I've updated to a new post and unfortunately some parts have been changed from " 

cAxisEnableModal to AxisEngageModal

Now every time I post with live tool I get G17 and the machine spits out illegal plane error. 

0 Likes