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

Doosan Mill-Turn Fanuc Post does not invert AC axes on sub when box is checked

warnerwerkswv
Enthusiast

Doosan Mill-Turn Fanuc Post does not invert AC axes on sub when box is checked

warnerwerkswv
Enthusiast
Enthusiast

As the title says, the "Invert AC Axes on sub-spindle" function does not work on this post. Not sure why, but I've asked quite a few other people, and it just does not work.

 

This causes us all to have to define tools backwards (LH/RH, CW/CCW) in the tool library to get them to spin correctly on the sub side because keep relay 23.7 has to be a 0 to get milling correct on the sub side. If that weren't the case, all of those issue would be solved. 

0 Likes
Reply
932 Views
21 Replies
Replies (21)

seth.madore
Community Manager
Community Manager

Hmm, that's odd. I've got my Lynx LSY sitting right next to me and it's working fine :thinking_face:

Which direction does your sub spindle turn in M03(P13), towards or away from the operator (mine turns toward, so LH tools are mounted as usual; upside down)


Seth Madore
Customer Advocacy Manager - Manufacturing
0 Likes

warnerwerkswv
Enthusiast
Enthusiast

My machine currently turns toward the operator with an M3, which I had to change keep relay 23.7 to get milling correct on the sub. If I change it back, which is what I want to do to be able to define my tools correctly, milling is inverted. Therefore, I need to be able to invert the axes to correct it.

 

I'll post the code with the box checked and unchecked (which is the same. It does not change).

0 Likes

warnerwerkswv
Enthusiast
Enthusiast
%
O1000 (INVERT AXES CHECKED)
(T0757 D=0.25 D=0.25 CR=0. TAPER=45DEG - ZMIN=0.1487 - CHAMFER MILL)
G20
M110
M24

N1(2D CONTOUR1)
G0 G28 G53 B0. (SUB SPINDLE RETURN)
G28 U0. V0.
G28 W0.
M190
G55
G98 G18 M135
G0 G28 H0.
T0757
M8
M138
G97 S5348 M3 P12
M110
G0 Z-0.3
X0.0864 Y0.
C0.
G12.1
G1 X0.0705 C-0.025 Z-0.3 F59.055
Z-0.25
Z-0.1737 F40.
X0.0711 Z-0.1698
X0.0729 Z-0.166
X0.0759 Z-0.1624
X0.08 Z-0.1591
X0.0851 Z-0.1561
X0.0911 Z-0.1535
X0.0978 Z-0.1515
X0.105 Z-0.15
X0.1127 Z-0.1491
X0.1205 Z-0.1487
X0.1705
G3 X0.2205 C0. I0. J0.025
X-0.1102 C0.0955 I-0.1102 J0.
C-0.0955 I0.0551 J-0.0955
X0.2205 C0. I0.0551 J0.0955
X0.1982 C0.0483 I-0.1102 J0.
X0.1314 C0.0598 I-0.0225 J-0.011
G1 X0.0864 C0.0489
X0.0794 C0.0472 Z-0.1491
X0.0725 C0.0455 Z-0.15
X0.066 C0.0439 Z-0.1515
X0.06 C0.0424 Z-0.1535
X0.0546 C0.0411 Z-0.1561
X0.0501 C0.04 Z-0.1591
X0.0464 C0.0391 Z-0.1624
X0.0437 C0.0385 Z-0.166
X0.042 C0.0381 Z-0.1698
X0.0415 C0.0379 Z-0.1737
Z-0.3 F59.055
G13.1
M5 P12
M9

M25
G0 G28 U0. V0.
G28 W0.
G0 G28 G53 B0. (SUB SPINDLE RETURN)
G28 H0.
M189
M134

N2(PART EJECT)
G0 G28 G53 B0. (SUB SPINDLE RETURN)
G28 U0. V0.
G28 W0.
M190
G55
M108
G97 S50 M3 P13
M131
M10 (PART CATCHER ON)
M169 (UNCLAMP SUB CHUCK)
G4 U1.5
M114
G4 U1.5
M115
M5 P13
M109
G4 U2.
M11 (PART CATCHER OFF)
G4 U1.1
(END OF PART EJECT)

G54

M111
M30
%
0 Likes

warnerwerkswv
Enthusiast
Enthusiast
%
O1001 (INVERT AXES UNCHECKED)
(T0757 D=0.25 D=0.25 CR=0. TAPER=45DEG - ZMIN=0.1487 - CHAMFER MILL)
G20
M110
M24

N1(2D CONTOUR1)
G0 G28 G53 B0. (SUB SPINDLE RETURN)
G28 U0. V0.
G28 W0.
M190
G55
G98 G18 M135
G0 G28 H0.
T0757
M8
M138
G97 S5348 M3 P12
M110
G0 Z-0.3
X0.0864 Y0.
C0.
G12.1
G1 X0.0705 C-0.025 Z-0.3 F59.055
Z-0.25
Z-0.1737 F40.
X0.0711 Z-0.1698
X0.0729 Z-0.166
X0.0759 Z-0.1624
X0.08 Z-0.1591
X0.0851 Z-0.1561
X0.0911 Z-0.1535
X0.0978 Z-0.1515
X0.105 Z-0.15
X0.1127 Z-0.1491
X0.1205 Z-0.1487
X0.1705
G3 X0.2205 C0. I0. J0.025
X-0.1102 C0.0955 I-0.1102 J0.
C-0.0955 I0.0551 J-0.0955
X0.2205 C0. I0.0551 J0.0955
X0.1982 C0.0483 I-0.1102 J0.
X0.1314 C0.0598 I-0.0225 J-0.011
G1 X0.0864 C0.0489
X0.0794 C0.0472 Z-0.1491
X0.0725 C0.0455 Z-0.15
X0.066 C0.0439 Z-0.1515
X0.06 C0.0424 Z-0.1535
X0.0546 C0.0411 Z-0.1561
X0.0501 C0.04 Z-0.1591
X0.0464 C0.0391 Z-0.1624
X0.0437 C0.0385 Z-0.166
X0.042 C0.0381 Z-0.1698
X0.0415 C0.0379 Z-0.1737
Z-0.3 F59.055
G13.1
M5 P12
M9

M25
G0 G28 U0. V0.
G28 W0.
G0 G28 G53 B0. (SUB SPINDLE RETURN)
G28 H0.
M189
M134

N2(PART EJECT)
G0 G28 G53 B0. (SUB SPINDLE RETURN)
G28 U0. V0.
G28 W0.
M190
G55
M108
G97 S50 M3 P13
M131
M10 (PART CATCHER ON)
M169 (UNCLAMP SUB CHUCK)
G4 U1.5
M114
G4 U1.5
M115
M5 P13
M109
G4 U2.
M11 (PART CATCHER OFF)
G4 U1.1
(END OF PART EJECT)

G54

M111
M30
%
0 Likes

warnerwerkswv
Enthusiast
Enthusiast

Here's my post. The only thing I have edited are coolant codes for the coolant flushing, and added the coolant call for thru spindle on the sub side being posted with flood and through tool. Oh, and edited some of the dwells for the part eject cycle.

0 Likes

seth.madore
Community Manager
Community Manager

Hmm. This is odd; your post and the more recent posts do not reverse the AC axis. However, I have an r44035 that I've been working on that DOES. I did a file compare with the r44035 from the library and aside from my cosmetic changes, it's identical. But.....it flips the axis. I'm going to have to run this by the post developer and figure out what's going on.

I'm happy to share that post with you, perhaps you can migrate your changes over to it?

Differences between AC on/off:

2023-02-17_04h43_36.png


Seth Madore
Customer Advocacy Manager - Manufacturing
0 Likes

seth.madore
Community Manager
Community Manager

Here's the post I've been poking away at. It's setup for my Lynx LSY, so some edits may be needed for your machine/workflow

 


Seth Madore
Customer Advocacy Manager - Manufacturing
0 Likes

warnerwerkswv
Enthusiast
Enthusiast

So I pulled everything from mine to yours that I think I prefer. I didn't mess with any of the TCP stuff, and man, the "legacy" way of controlling the home positioning was WAYY better, so that definitely stayed. I definitely missed that method from my old 2 axis lathe post. And the area around the invert axes is way different, so it looks like they definitely broke something there.

0 Likes

warnerwerkswv
Enthusiast
Enthusiast

Whoa. So I just ran that same little test program, and with your post, it runs that contour with the Y, whereas mine would just use XZC. I must have missed that change. I think I prefer the XZC method. Any idea where that bit is in the post?

0 Likes

seth.madore
Community Manager
Community Manager

I think that's due to the negative X allowance I've got (-10mm)


Seth Madore
Customer Advocacy Manager - Manufacturing
0 Likes

seth.madore
Community Manager
Community Manager
AxisMinimum: {
    title      : "X-axis minimum limit",
    description: "Defines the lower limit of X-axis travel as a radius value.",
    group      : "configuration",
    type       : "spatial",
    range      : [-99999, 0],
    value      : -10,
    scope      : "post"

Seth Madore
Customer Advocacy Manager - Manufacturing
0 Likes

warnerwerkswv
Enthusiast
Enthusiast

Yep, that changed that back to how I would expect it to behave. I'll come back to that... 

 

So I'm now able to define LH tools on the sub side as LH tools, CCW rotation AFTER flipping the K23.7  keep relay, so that behaves as expected. However, it still conventional cuts everything, so I'm sure the C is mirrored. I even tried your post unedited with the same result.

0 Likes

warnerwerkswv
Enthusiast
Enthusiast

Okay, so I flipped the keep relay back to a 0, how I have been running it, defined my tool properly, and checked the reverse spindle direction on sub-spindle box, and everything is now as it should be. Proper milling, and properly defined tools.

0 Likes

warnerwerkswv
Enthusiast
Enthusiast

But the invert C still doesn't function. I'm just able to work around it. 

0 Likes

seth.madore
Community Manager
Community Manager

I was chatting with a couple of the post developers, and they clued me into what was going on; Invert A/C has no effect on Polar milling, which is why nothing was changing with the stock posts, but WAS changing with my own post; my post changed from polar to non-polar as I allowed a -10mm below X motion.

 

So you're saying that in Polar, it's going backwards for you?


Seth Madore
Customer Advocacy Manager - Manufacturing
0 Likes

warnerwerkswv
Enthusiast
Enthusiast

I had a big response typed up, but I forgot to submit it, and it gave me an error when I went to submit it later, so I lost it.

 

Anyway, polar milling and non-polar milling are both correct with keep relay 23.7 set to a 0. That just means that I have to check the box for reverse spindle on the sub to spin the correct direction for turning tools that are defined correctly. It would be nice to have the functionality of inverting the C axis rotation on the sub for both polar and non-polar milling so that the keep relay does not have to be messed with for guys with machines that have it set to a 1 by default, because that's how my machine was setup from the factory, and it was a hassle to get sorted to begin with.

 

If that would work, I could flip the keep relay back, uncheck the reverse spindle box, and all would work as intended with the default post settings.

0 Likes

seth.madore
Community Manager
Community Manager

Can you define what you mean by "Defined Correctly", images would be good to help us fully understand what you refer to (note; I've got an idea of what you mean, but I want to make sure we're on the same page)


Seth Madore
Customer Advocacy Manager - Manufacturing
0 Likes

warnerwerkswv
Enthusiast
Enthusiast

What I mean is that I like to be able to define my tools that are actual LH tools that need the spindle to spin CCW to be defined as LH tools with a CCW spindle rotation, and vice versa. That way in the event that I need to use a RH or a LH tool on either spindle, I don't have to remember to invert the tool's setup to not destroy it. Something else that's a huge pain with the whole backwards tool definitions thing is that if you forget to set a static drill on the sub side as CCW rotation, bad stuff happens lol

 

warnerwerkswv_0-1676736809634.png

 

warnerwerkswv_1-1676736828073.png

 

0 Likes

seth.madore
Community Manager
Community Manager

Do you mount your LH tools upside down or right side up (facing towards you when in-position)?

Dumb question, disregard


Seth Madore
Customer Advocacy Manager - Manufacturing
0 Likes