Thc disable
- snowgoer540
- Offline
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
10 Mar 2022 17:09 #236862
by snowgoer540
Replied by snowgoer540 on topic Thc disable
For #1, I did it with a marker secured to the torch, and flat piece of material (cardboard, etc would probably work ok), just need to make sure it's at least as big as the square you have, and that it does not move:
1. Home the machine.
2. Draw a line in X.
3. Draw a line in Y. 90° to the line you just drew in X
4. Use a square to validate how square the "L" you just drew is.
5. If it's not square, you have two options, adjust the position of your homing switches, or adjust the "HOME_OFFSET" in the INI file to suite.
6. Restart LinuxCNC.
7. GOTO Step 1, repeat until it's square
For #2:
1. Jog axis in the one direction only.
2. Set up dial indicator or some means of measurement on the axis and zero it. Make sure the indicator has enough travel to absorb movement from next step.
3. Open MDI and command a move in the direction you jogged in step 1. Move it an easy to measure amount that is within the amount the indicator can measure.
4. Verify the indicator moved the amount you commanded.
5. If it did not, you can adjust your step scale in the INI for the axis you are verifying (more steps = further distance, less steps = less distance, the amount it changes depends on the mechanical components on your table). Don't forget to change it for each Joint associated with the axis.
6. Restart LinuxCNC
7. GOTO Step 1, repeat until the commanded move length and the measured move length match.
Both of these processes assume that all of the mechanical connections are tight and sound and good to go. If any thing is loose, or causing excessive backlash, you will also end up with holes that are not round.
1. Home the machine.
2. Draw a line in X.
3. Draw a line in Y. 90° to the line you just drew in X
4. Use a square to validate how square the "L" you just drew is.
5. If it's not square, you have two options, adjust the position of your homing switches, or adjust the "HOME_OFFSET" in the INI file to suite.
6. Restart LinuxCNC.
7. GOTO Step 1, repeat until it's square
For #2:
1. Jog axis in the one direction only.
2. Set up dial indicator or some means of measurement on the axis and zero it. Make sure the indicator has enough travel to absorb movement from next step.
3. Open MDI and command a move in the direction you jogged in step 1. Move it an easy to measure amount that is within the amount the indicator can measure.
4. Verify the indicator moved the amount you commanded.
5. If it did not, you can adjust your step scale in the INI for the axis you are verifying (more steps = further distance, less steps = less distance, the amount it changes depends on the mechanical components on your table). Don't forget to change it for each Joint associated with the axis.
6. Restart LinuxCNC
7. GOTO Step 1, repeat until the commanded move length and the measured move length match.
Both of these processes assume that all of the mechanical connections are tight and sound and good to go. If any thing is loose, or causing excessive backlash, you will also end up with holes that are not round.
The following user(s) said Thank You: paulsao
Please Log in or Create an account to join the conversation.
10 Mar 2022 18:36 #236873
by paulsao
Replied by paulsao on topic Thc disable
Process 2 is clear to me and I know how to do it.Process 1 I have some doubts:Do I need to have the limit switches on the y axis? In addition to that, shouldn't the y-axis be dual so that each motor can move independently?
Please Log in or Create an account to join the conversation.
- snowgoer540
- Offline
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
10 Mar 2022 18:58 #236877
by snowgoer540
Replied by snowgoer540 on topic Thc disable
Looking at your config, it looks to me like you do have 2 steppers for Y, and I saw two entries for inputs for Y MIN-HOME:
So I assumed you had two steppers and two limit switches on Y. Yes, you need that to do what I described in process 1.
# --- MIN-HOME-Y ---
net min-home-y <= hm2_7i96.0.gpio.001.in
# --- MIN-HOME-Y2 ---
net min-home-y2 <= hm2_7i96.0.gpio.010.in
So I assumed you had two steppers and two limit switches on Y. Yes, you need that to do what I described in process 1.
Please Log in or Create an account to join the conversation.
10 Mar 2022 19:26 #236881
by paulsao
Replied by paulsao on topic Thc disable
Ok thanks I understand.As explained and what I understand is that my x-axis should have a small mechanical flex to be able to square the y-axis, since it would imply moving the two motors.
Please Log in or Create an account to join the conversation.
- snowgoer540
- Offline
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
10 Mar 2022 19:32 #236882
by snowgoer540
Replied by snowgoer540 on topic Thc disable
No, you are adjusting the Y axis to the X axis.
By changing the position of the limit switch (or changing the offset in the .ini file), you are changing where the homed position is for each individual stepper in Y, which will cause it to square the gantry. Once that happens, the Y axis becomes locked together, and the steppers are no longer independent.
This will help you understand (although this is not linuxcnc, nor a plasma machine, the principle is the same):
By changing the position of the limit switch (or changing the offset in the .ini file), you are changing where the homed position is for each individual stepper in Y, which will cause it to square the gantry. Once that happens, the Y axis becomes locked together, and the steppers are no longer independent.
This will help you understand (although this is not linuxcnc, nor a plasma machine, the principle is the same):
Warning: Spoiler!
Please Log in or Create an account to join the conversation.
18 Mar 2022 17:28 #237656
by paulsao
Replied by paulsao on topic Thc disable
Greetings to all.This week I was able to adjust some things and carry out the process to square my machine as indicated below. I attached an image where you can see that my machine is not square, as it interpreted this in the form of distance to be able to calibrate the switches.I appreciate your help
Please Log in or Create an account to join the conversation.
- snowgoer540
- Offline
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
18 Mar 2022 21:01 #237673
by snowgoer540
Replied by snowgoer540 on topic Thc disable
I think you’re asking how far to move the switches? If so I just did it with trial and error until it was square. You can also change the offset value in the ini file if you didn’t want to physically move the switch. I’ve not done the second one, but Tommy says it works, and I trust Tommy
did you check the movement distances?
did you check the movement distances?
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
18 Mar 2022 21:11 #237675
by paulsao
Replied by paulsao on topic Thc disable
If the move distances are correct, and if you were asking how to move the switches or how to adjust the start offset in the ini file, I guess that value is also trial and error, well I'll give it a try and if I have any questions I'll ask for here, thanks.
Please Log in or Create an account to join the conversation.
- snowgoer540
- Offline
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
18 Mar 2022 21:22 #237678
by snowgoer540
Replied by snowgoer540 on topic Thc disable
I think there is a linuxcnc tool to do it for you but I’ve never used it.
for steps it’s (distance commanded/distance moved)*step scale = new step scape
the squareness is trial and error
for steps it’s (distance commanded/distance moved)*step scale = new step scape
the squareness is trial and error
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
18 Mar 2022 21:44 #237680
by tommylight
In general, mark the 4 corners on a plate/table/sheet/ply (using a laser makes this a breeze), measure the two diagonals, calculate the difference, figure out what side is best to move, edit ini by entering HALF of the difference to one joint, check again, chances are it will be spot on.
Replied by tommylight on topic Thc disable
I have 3 machines in the shop, two more on client sites that i have built and use .INI squaring in use daily, and another 2 industrial retrofitted ones,one of them still on 2.8PRE since when that came out. Must have been very lucky on this last/first one as i edited the hal and ini by hand and got it working in about 10 minutes ... after dealing with the fear of "how do i do joints now?" Now takes even less, takes more time to measure and home the machine.I’ve not done the second one, but Tommy says it works, and I trust Tommy
In general, mark the 4 corners on a plate/table/sheet/ply (using a laser makes this a breeze), measure the two diagonals, calculate the difference, figure out what side is best to move, edit ini by entering HALF of the difference to one joint, check again, chances are it will be spot on.
The following user(s) said Thank You: snowgoer540
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.096 seconds