I have a Toshiba 4-axis mill with B axis cutting.
M10 (clamp) & M11 (unclamp) B axis
M10 is the default state of machine, meaning table will always unclamp, rotate and clamp after rotating.
I do not need to program M10 & M11.
We have never programmed M10 or M11 because we have always left the machine in M10 mode.
We now have a job with a lot of B axis cutting, so now the problem is very obvious.
If I only cut X-Y-Z everything is great, as below.
(ROUGH_BOTTOM_FACE)
S764M03
G57H901
G00X-16.3258Y17.0828
G43Z65.77H001
B0.0
Z50.77
G01Z50.52F22.92
X-12.0598
X12.0598
X16.3258
Z50.77
G00Z51.47
If I cut with B axis, machine will dwell prior to B cutting because of unclamping.
So that my cutting tool dwell and chatter for about 2 seconds.
If I add M11 (unclamp) before of after B-315.6076 rotation, machine will not hesitate during cutting.
(FINISHT_WALLS)
S9004M03
G57H901
G00X3.0099Y13.24
G43Z66.7116H002
B-315.6076
Z55.3116
G01Z51.9793F57.5
X.0099
X.0121B-315.6001F92.5
X.056Z51.9798B-315.4477
X.1Z51.9797B-315.2952
X.1439Z51.9798B-315.1428
Here is my wish list
1) I do not want to use a UDE in the start of events to control table clamping.
It would be to easy to forget when to turn clamping on or off.
2) I want the post to look ahead during this operation of cutting up to the next operation.
if the B axis does not change during any linear cut, output M10 in my initial move or my first move
3) If I did cut with the B axis, output M11 in my initial move or my first move
4) Getting M10 or M11 after the B is the easy part, deciding on which one is the tough part.
I have tried this, but variable_axis does not always cause a rotary change.
if { $mom_tool_path_type == "variable_axis" }
Any ideas would be greatly appreciated.
Lvee
M10 (clamp) & M11 (unclamp) B axis
M10 is the default state of machine, meaning table will always unclamp, rotate and clamp after rotating.
I do not need to program M10 & M11.
We have never programmed M10 or M11 because we have always left the machine in M10 mode.
We now have a job with a lot of B axis cutting, so now the problem is very obvious.
If I only cut X-Y-Z everything is great, as below.
(ROUGH_BOTTOM_FACE)
S764M03
G57H901
G00X-16.3258Y17.0828
G43Z65.77H001
B0.0
Z50.77
G01Z50.52F22.92
X-12.0598
X12.0598
X16.3258
Z50.77
G00Z51.47
If I cut with B axis, machine will dwell prior to B cutting because of unclamping.
So that my cutting tool dwell and chatter for about 2 seconds.
If I add M11 (unclamp) before of after B-315.6076 rotation, machine will not hesitate during cutting.
(FINISHT_WALLS)
S9004M03
G57H901
G00X3.0099Y13.24
G43Z66.7116H002
B-315.6076
Z55.3116
G01Z51.9793F57.5
X.0099
X.0121B-315.6001F92.5
X.056Z51.9798B-315.4477
X.1Z51.9797B-315.2952
X.1439Z51.9798B-315.1428
Here is my wish list
1) I do not want to use a UDE in the start of events to control table clamping.
It would be to easy to forget when to turn clamping on or off.
2) I want the post to look ahead during this operation of cutting up to the next operation.
if the B axis does not change during any linear cut, output M10 in my initial move or my first move
3) If I did cut with the B axis, output M11 in my initial move or my first move
4) Getting M10 or M11 after the B is the easy part, deciding on which one is the tough part.
I have tried this, but variable_axis does not always cause a rotary change.
if { $mom_tool_path_type == "variable_axis" }
Any ideas would be greatly appreciated.
Lvee