Spindle location on the opposite side

More
21 Jan 2025 20:44 #319589 by spumco
Replied by spumco on topic Spindle location on the opposite side
I think you've got your X travel direction and/or limits messed up.  I see this in INI:
[AXIS_X]
MAX_VELOCITY = 20.00
MAX_ACCELERATION = 20.0
MIN_LIMIT = -48.0
MAX_LIMIT = 3.00

[JOINT_0]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -48.0
MAX_LIMIT = 3.00
...
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = -15
HOME_LATCH_VEL = 5
HOME_FINAL_VEL = 0.000000

And you mentioned earlier that when homing X moves away from the spindle (positive X).  If the SEARCH_VEL is negative (-15), but the movement is AWAY from the spindle, then you've got the X-direction backwards.

I think what's happening is that when homed, LCNC thinks the X axis is at centerline.  When you move in towards the chuck all X moves are negative.  Result is that your X-axis is basically reversed in LCNC from reality, and LCNC is trying to execute the G-code from (what appears to be) inside-out.

The DRO in your photo shows "G54 X -29.031" when the tool tip should be a positive number.  It should be on the positive (bottom) side of part centerline (it is) and be at a positive X value (it isn't).

Maybe think about making a copy of your config and then start adjusting your axis/joint values.  My suggestion, based on your Emco lathe, is to work out values which put all your drill positions at G53 X0.  Your turning tools will then have positive offset values (I think), but whenever you're at G53 X0 you know the turret drill holes are on spindle centerline.

I could be wrong, of course.  Go slowly with any adjustments.
The following user(s) said Thank You: Aciera, Murphy

Please Log in or Create an account to join the conversation.

More
21 Jan 2025 20:58 - 21 Jan 2025 20:58 #319590 by Murphy
Replied by Murphy on topic Spindle location on the opposite side
Legend spumco, I'll check this out in the morning, thank you that makes sense.
Last edit: 21 Jan 2025 20:58 by Murphy.

Please Log in or Create an account to join the conversation.

More
22 Jan 2025 12:05 - 22 Jan 2025 13:42 #319629 by Murphy
Replied by Murphy on topic Spindle location on the opposite side
I tried every possible combination with the X axis limits and homing. Still isn't working. I noticed something with the Z axis. The search velocity for home is a positive number. It should be negative? But I change it it goes the wrong way. My limits for Z are 250 positive away from the spindle. And 40 negative pass homing.Iv attached two other working ini files from other people. Iv noticed in one of them that for X axis the search velocity is positive. That would bring it up but the home switch is in the negative direction. Is there other settings somewhere else in a file for machine setup ?
Attachments:
Last edit: 22 Jan 2025 13:42 by Murphy.

Please Log in or Create an account to join the conversation.

More
22 Jan 2025 12:12 - 22 Jan 2025 13:43 #319631 by spumco
Replied by spumco on topic Spindle location on the opposite side
Which of the three INI files is yours?

EDIT - 

The search velocity for home is a positive number. It should be negative? But I change it it goes the wrong way.

Your home/limit switch is to the operator's left (towards spindle) - i.e. Z-negative.

If you edit your INI file so that the initial home search is negative, but the Z-axis moves to the right, this suggests your Z-axis motor direction is backwards.

You can change the Z motor direction in INI by changing the sign of the step scale (to positive):
[JOINT_1]
STEP_SCALE = 50799.998

Try changing the motor direction and set your homing direction as negative and latch velocity as positive:
HOME_SEARCH_VEL = (negative number)
HOME_LATCH_VEL= (positive number)

Once you get this sorted, you may also want to adjust your home offset so that the Z-positions are more like 'normal' CNC lathes.  "Normal" lathes have G53 Z0 at the extreme limit away from the chuck/spindle.  Commanding a 'G53 G0 Z0' will result in the turret/slide moving to the safest position (extreme right end).

If you leave the home position (G53 Z0) near the spindle end you'll have to be very careful about G53 and G28 homing moves since LCNC has no idea what chuck is mounted or what stock is in the chuck.
Last edit: 22 Jan 2025 13:43 by spumco.

Please Log in or Create an account to join the conversation.

More
22 Jan 2025 13:40 #319635 by Murphy
Replied by Murphy on topic Spindle location on the opposite side
The one labeled Remora 

Please Log in or Create an account to join the conversation.

More
22 Jan 2025 13:44 - 22 Jan 2025 13:46 #319636 by spumco
Replied by spumco on topic Spindle location on the opposite side

The one labeled Remora 
 

I just edited my last post after having a think.  Ignore the STEP_SCALE value from the wrong INI... but apply the concept and put a minus sign in front of your existing value.
Last edit: 22 Jan 2025 13:46 by spumco.

Please Log in or Create an account to join the conversation.

More
22 Jan 2025 16:37 - 22 Jan 2025 17:29 #319644 by Murphy
Replied by Murphy on topic Spindle location on the opposite side
Thanks, So in Z with scale being positive. Z moves by pressing the - jog moves towards spindle (+) jog moves away from spindle. (Which is correct) Search Vel is 15(+) but still searches left(-) towards the spindle. If I but ser Vel to negotiate it searches away from the spindle.

If I set Z scale to negative . The motor is reversed and when I press jog (-) it  moves away from the spindle.(Reversed)

It seems the machine is working correctly the way it's set. It's when I load a program it's all reversed 

Edit 
I just set the Z offset 150 away from the spindle .but ser Vel had to be a negative value for it to move away from the spindle. Even though my z axis is moving correct when pressing the - and + jog
Last edit: 22 Jan 2025 17:29 by Murphy.

Please Log in or Create an account to join the conversation.

More
22 Jan 2025 17:14 - 22 Jan 2025 17:15 #319646 by Murphy
Replied by Murphy on topic Spindle location on the opposite side
When I loaded the linuxcnc pawn it came in as the earlier post , inverted When I made a model in fusion , it did the same thing. Messing around with fusion could it be something I'm doing wrong in fusion. The first pic is the tool orientation which looks wrong but it comes up correct in the tool path pic 2. Pic 3 is the tool orientation which I think is correct , but tool is wrong once in tool path , pic 4 
Attachments:
Last edit: 22 Jan 2025 17:15 by Murphy.

Please Log in or Create an account to join the conversation.

More
22 Jan 2025 17:15 #319647 by spumco
Replied by spumco on topic Spindle location on the opposite side
Yes, jog- to left, and jog+ to right is correct.

But a positive SEARCH_VEL moving left (Z-) is not right.

Something isn't right.  When you press "jog -" is that a physical button, or on the screen?

Can you post your HAL file? 

Please Log in or Create an account to join the conversation.

More
22 Jan 2025 17:20 - 22 Jan 2025 17:40 #319648 by spumco
Replied by spumco on topic Spindle location on the opposite side

When I loaded the linuxcnc pawn it came in as the earlier post , inverted When I made a model in fusion , it did the same thing. Messing around with fusion could it be something I'm doing wrong in fusion. The first pic is the tool orientation which looks wrong but it comes up correct in the tool path pic 2. Pic 3 is the tool orientation which I think is correct , but tool is wrong once in tool path , pic 4 

 

Ok, starting to make a little more sense - you're getting bitten by F360's tool orientation mess and the actual program you loaded may be wrong, not your lathe.

The actual tool you plan to use looks like what?  Insert facing up (as you're looking down on lathe), tip towards centerline, and main cutting edge to left?  Or insert facing down?

EDIT -
Based on your screenshots, I think you've maybe got the spindle rotation wrong, which is why the tool appears to be reaching across the part centerline.

Here's a good explanation of tool orientation and how F360 spindle direction affects the toolpath and tool orientation display:
mgfx.co.za/blog/engineering-manufacturin...-cutting-directions/
Last edit: 22 Jan 2025 17:40 by spumco.

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum