Move Machine to inside soft limits when Probe Basic on
- aikiaviator
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 5
17 Feb 2025 13:55 #321834
by aikiaviator
Move Machine to inside soft limits when Probe Basic on was created by aikiaviator
Hi,
So I am trying to move the machine to inside the Soft Limits as when I put the mill/cnc back together the limit switch limits have been breached. I have tried to switch off limits, however, what is the easiest approach to put the X, Y and Z in mid point so I can complete a homing process.
What is the process to move the X, Y and Z axis back to mid point, when the machine says cant because limits activated?
In addition, how do I make sure that the correct positions, X, Y and Z are Min and Max.
Are the following correct?
Left X = Min, Right X = Max
Front Y = Min, Rear Y = Max
Top Z = Max
Bottom Z = Min
Thanks.
So I am trying to move the machine to inside the Soft Limits as when I put the mill/cnc back together the limit switch limits have been breached. I have tried to switch off limits, however, what is the easiest approach to put the X, Y and Z in mid point so I can complete a homing process.
What is the process to move the X, Y and Z axis back to mid point, when the machine says cant because limits activated?
In addition, how do I make sure that the correct positions, X, Y and Z are Min and Max.
Are the following correct?
Left X = Min, Right X = Max
Front Y = Min, Rear Y = Max
Top Z = Max
Bottom Z = Min
Thanks.
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Away
- Moderator
-
Less
More
- Posts: 1318
- Thank you received: 655
17 Feb 2025 14:59 #321839
by Lcvette
Replied by Lcvette on topic Move Machine to inside soft limits when Probe Basic on
on the sidebar WCS tab there is a button called LIMITS OVERRIDE. this will only be active if a limit is currently triggered.
for your min/max soft limits, this is set in the ini file. min is to the negative direction max is to the positive direction. these directions are relative to the spindles direction of travel through the work and the layout of an XYZ cartesian coordinate system. in other words if it is a moving head type configuration (gantry type machine with fixed table) the X+ is to the right and Y+ is to toward the back and Z+ is up.
if it is a moving table such as a VMC, X+ is table motion to the left (making spindle motion through the work in X+ dynamically to the right), and Y+ table motion to the front making spindle motion dynamically towards the back. and Z+ remains the same moving in the upward direction.
how home position is set can be different ways as long as the axis motion is always changing in the correct positive or negative direction relative to the spindle motion dynamically.
for your min/max soft limits, this is set in the ini file. min is to the negative direction max is to the positive direction. these directions are relative to the spindles direction of travel through the work and the layout of an XYZ cartesian coordinate system. in other words if it is a moving head type configuration (gantry type machine with fixed table) the X+ is to the right and Y+ is to toward the back and Z+ is up.
if it is a moving table such as a VMC, X+ is table motion to the left (making spindle motion through the work in X+ dynamically to the right), and Y+ table motion to the front making spindle motion dynamically towards the back. and Z+ remains the same moving in the upward direction.
how home position is set can be different ways as long as the axis motion is always changing in the correct positive or negative direction relative to the spindle motion dynamically.
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
Less
More
- Posts: 10992
- Thank you received: 3651
17 Feb 2025 18:53 #321855
by rodw
If you have seperate home and limit switches, the final position can be in that 40mm where the home switch is held triggered.
Replied by rodw on topic Move Machine to inside soft limits when Probe Basic on
I think you have this a bit wrong. Home switches need to remain triggered until the end of travel. That way, Linuxcnc know which way for initial homing movement. Take the case of the X axis, Say the home switch is 40mm from end of travel on the left and it stays triggered to the end of travel. If the home switch is triggered when homing starts, Linuxcnc knows it must travel to the right to find the home switch edge. HOME_OFFSET sets the final position. If this is a shared home/limit switch you need to move to the right so the switch is no longer triggered otherwise it will trigger a limit switch error once homing finishes.What is the process to move the X, Y and Z axis back to mid point, when the machine says cant because limits activated?
If you have seperate home and limit switches, the final position can be in that 40mm where the home switch is held triggered.
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Away
- Moderator
-
Less
More
- Posts: 1318
- Thank you received: 655
19 Feb 2025 16:38 #322000
by Lcvette
Replied by Lcvette on topic Move Machine to inside soft limits when Probe Basic on
good points Rod!
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- aikiaviator
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 5
24 Feb 2025 03:37 #322431
by aikiaviator
Replied by aikiaviator on topic Move Machine to inside soft limits when Probe Basic on
Firstly, I have a PM728vt, using a MESA 7i96S.
Ok, so through some trial and error I have come up with the following for homing, and it is working correctly (i.e. zero out home etc..), however, I have two questions. The one relating to the bottom set of config elements:
These are the current config and are working and displaying on the correct orientation on Main on Probe-Basic. (i.e. tool path direction).
[JOINT_0]
MIN_LIMIT = -480
MAX_LIMIT = 0
MAX_VELOCITY = 10
MAX_ACCELERATION = 4
TYPE = LINEAR
SCALE = 320
HOME = 0
HOME_OFFSET = 1
HOME_SEARCH_VEL = 4
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 1
HOME_SEQUENCE = 0
[JOINT_1]
MIN_LIMIT = -180
MAX_LIMIT = 0
MAX_VELOCITY = 10
MAX_ACCELERATION = 4
TYPE = LINEAR
SCALE = -320
HOME = 0
HOME_OFFSET = 1
HOME_SEARCH_VEL = 4
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 1
HOME_SEQUENCE = 1
[JOINT_2]
MIN_LIMIT = -172
MAX_LIMIT = 0
MAX_VELOCITY = 10
MAX_ACCELERATION = 4
TYPE = LINEAR
SCALE = 320
HOME = 0
HOME_OFFSET = 1
HOME_SEARCH_VEL = 4
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 1
HOME_SEQUENCE = 2
At present it homes and just offsets by 1mm to create 0 home. So machine is sitting in the Right (x), Front (y), Up (z) sections of the machine. What I would like to do is home to the centre of the machine and wanted to know if there was a convention for the limits setup. In other words, should it go from say an example of -150 through 0 to +150, or is convention, 0 to 300.
I feel that I would like to "centre" the machine after homing and wanted to check if the following changes would provide for this. And is this best practice?
[JOINT_0]
MIN_LIMIT = -240
MAX_LIMIT = 240
HOME_OFFSET = 240
[JOINT_1]
MIN_LIMIT = -90
MAX_LIMIT = 90
HOME_OFFSET = 90
[JOINT_2]
MIN_LIMIT = -86
MAX_LIMIT = 86
HOME_OFFSET = 86
The second question is that I have limit switch for the other end of travel, and wanted to know how I can configure the home switch to be both Home and limit without causing errors. I have not been able to get it working as a combination switch, but would like it to function that way.
Once this is done, will be configuring up the Probe and a tool touch off.
Any help welcome. Thanks.
Ok, so through some trial and error I have come up with the following for homing, and it is working correctly (i.e. zero out home etc..), however, I have two questions. The one relating to the bottom set of config elements:
These are the current config and are working and displaying on the correct orientation on Main on Probe-Basic. (i.e. tool path direction).
[JOINT_0]
MIN_LIMIT = -480
MAX_LIMIT = 0
MAX_VELOCITY = 10
MAX_ACCELERATION = 4
TYPE = LINEAR
SCALE = 320
HOME = 0
HOME_OFFSET = 1
HOME_SEARCH_VEL = 4
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 1
HOME_SEQUENCE = 0
[JOINT_1]
MIN_LIMIT = -180
MAX_LIMIT = 0
MAX_VELOCITY = 10
MAX_ACCELERATION = 4
TYPE = LINEAR
SCALE = -320
HOME = 0
HOME_OFFSET = 1
HOME_SEARCH_VEL = 4
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 1
HOME_SEQUENCE = 1
[JOINT_2]
MIN_LIMIT = -172
MAX_LIMIT = 0
MAX_VELOCITY = 10
MAX_ACCELERATION = 4
TYPE = LINEAR
SCALE = 320
HOME = 0
HOME_OFFSET = 1
HOME_SEARCH_VEL = 4
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 1
HOME_SEQUENCE = 2
At present it homes and just offsets by 1mm to create 0 home. So machine is sitting in the Right (x), Front (y), Up (z) sections of the machine. What I would like to do is home to the centre of the machine and wanted to know if there was a convention for the limits setup. In other words, should it go from say an example of -150 through 0 to +150, or is convention, 0 to 300.
I feel that I would like to "centre" the machine after homing and wanted to check if the following changes would provide for this. And is this best practice?
[JOINT_0]
MIN_LIMIT = -240
MAX_LIMIT = 240
HOME_OFFSET = 240
[JOINT_1]
MIN_LIMIT = -90
MAX_LIMIT = 90
HOME_OFFSET = 90
[JOINT_2]
MIN_LIMIT = -86
MAX_LIMIT = 86
HOME_OFFSET = 86
The second question is that I have limit switch for the other end of travel, and wanted to know how I can configure the home switch to be both Home and limit without causing errors. I have not been able to get it working as a combination switch, but would like it to function that way.
Once this is done, will be configuring up the Probe and a tool touch off.
Any help welcome. Thanks.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 19737
- Thank you received: 6662
24 Feb 2025 04:29 #322434
by tommylight
Replied by tommylight on topic Move Machine to inside soft limits when Probe Basic on
Not sure what is going on in this topic, but those ini values for limits are not correct for any usable machine.
X and Y should be positive values, always, Z axis should be negative.
Use HOME_OFFSET to set where the machine should park after homing, in the middle of the table if you like.
X and Y should be positive values, always, Z axis should be negative.
Use HOME_OFFSET to set where the machine should park after homing, in the middle of the table if you like.
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Away
- Moderator
-
Less
More
- Posts: 1318
- Thank you received: 655
24 Feb 2025 04:53 #322437
by Lcvette
Replied by Lcvette on topic Move Machine to inside soft limits when Probe Basic on
Setting middle of table as home isn't advised in my opinion. This tends to be the desire of new cnc users for some reason but will present some complications down the road once you've started actually machining. It's always best to use 0 home at full movement of an axis, especially if you plan on taking advantage of mdi use. When you use g90 for motion in mdi with a transition it's will require an extra bit of head math. Just a suggestion, but no industrial machines use that centered method.
The following user(s) said Thank You: tommylight, aikiaviator
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 19737
- Thank you received: 6662
24 Feb 2025 05:10 #322440
by tommylight
Using any CAM from last 15-20 years will make the use of such machine impossible, pretty much, from the get go.
Replied by tommylight on topic Move Machine to inside soft limits when Probe Basic on
Last i worked with such machine was over 15 years ago, and that machine was very old, so i wonder the same thing when i read such requests.Setting middle of table as home isn't advised in my opinion. This tends to be the desire of new cnc users for some reason but will present some complications down the road once you've started actually machining.
Using any CAM from last 15-20 years will make the use of such machine impossible, pretty much, from the get go.
Please Log in or Create an account to join the conversation.
- aikiaviator
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 5
24 Feb 2025 05:12 #322441
by aikiaviator
Replied by aikiaviator on topic Move Machine to inside soft limits when Probe Basic on
Ok, so at the moment I have it homing right hand side of X (i.e. moves table to left cutting to right to home), Front of Y (Y- table comes towards front, cutting to rear, to home), and Z (Z+ moves up to home).
The reason for the front homing is I was not comfortable reaching end of travel at the base of the Z upright. But happy to be dissuaded.
Home switches are located X right hand side, Y front, Z top.
So if this was to change, could you please document out the placement for the homing switches, and the values that should be applied? I believe that it needs to progress to rear and right for cutting purposes. Z I believe is correct orientation, but settings on the home, offset etc... I must admit, I have been confused.
For Z for example, is this 0 at the top and homing at the top??
Could you please provide some direction and numbers that would adjust and orientate effectively?
Thanks and appreciated.
The reason for the front homing is I was not comfortable reaching end of travel at the base of the Z upright. But happy to be dissuaded.
Home switches are located X right hand side, Y front, Z top.
So if this was to change, could you please document out the placement for the homing switches, and the values that should be applied? I believe that it needs to progress to rear and right for cutting purposes. Z I believe is correct orientation, but settings on the home, offset etc... I must admit, I have been confused.
For Z for example, is this 0 at the top and homing at the top??
Could you please provide some direction and numbers that would adjust and orientate effectively?
Thanks and appreciated.
Please Log in or Create an account to join the conversation.
- aikiaviator
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 5
24 Feb 2025 05:16 #322442
by aikiaviator
Replied by aikiaviator on topic Move Machine to inside soft limits when Probe Basic on
Ok, so it should be 0 to max travel correct? And that means homing switch is on the left, table moving to the right. Allows for cutting moving from 0 to max travel. Y is confusing for me as I could not work this one out and have correct orientation on the screen. Z, homing was recommended for the top, correct? So how is this configured normally. Does anyone have an example config? Standard xyz mill.
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.080 seconds