×
Forum Header
Problem with scale? Stepconf/axis
- Andrzej
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
17 Nov 2010 21:04 - 17 Nov 2010 21:05 #5376
by Andrzej
Problem with scale? Stepconf/axis was created by Andrzej
I configured my machine using axis. I used numbers provided me by manufacturer (with some calculations I had to do to "translate" from manufacturer parameters to emc2/axis parameters).
Math I have to do was to translate manufacturer "axis resolution" to leadscrew pitch in stepconf.
I have got 266.66 steps/mm , my stepper has 1.8deg/step (so 200 steps/rev).
I calculated that leadscrew pitch should be 0.75001875 (and it gives axis scale 266.7 - rounded up, I guess).
I have tested axis and everything looked working fine.
But when I started to use emc2 / axis, it looks like that all distances are scaled down by 2 (approximately).
I tested it for both G20 (inches) and G21 (mm).
I do not thing that it is a problem with microstepping or gears (I have stepper directly connected to leadscrew) because testing axis in stepconf works fine.
Could you please help me find what could generate such strange problem?
I attached my stepconf file.
Thank you in advance!
Math I have to do was to translate manufacturer "axis resolution" to leadscrew pitch in stepconf.
I have got 266.66 steps/mm , my stepper has 1.8deg/step (so 200 steps/rev).
I calculated that leadscrew pitch should be 0.75001875 (and it gives axis scale 266.7 - rounded up, I guess).
I have tested axis and everything looked working fine.
But when I started to use emc2 / axis, it looks like that all distances are scaled down by 2 (approximately).
I tested it for both G20 (inches) and G21 (mm).
I do not thing that it is a problem with microstepping or gears (I have stepper directly connected to leadscrew) because testing axis in stepconf works fine.
Could you please help me find what could generate such strange problem?
I attached my stepconf file.
Thank you in advance!
Last edit: 17 Nov 2010 21:05 by Andrzej.
Please Log in or Create an account to join the conversation.
- Andrzej
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
17 Nov 2010 21:24 #5377
by Andrzej
Replied by Andrzej on topic Re:Problem with scale? Stepconf/axis
To be precise - real machine moves like all distances were scaled down by 2.
Axis shows correct distance.
For example: G0 X20 gives me a distance 20mm in axis, and 10mm on real machine.
But testing config in stepconf 20mm gives 20mm on real machine.
Axis shows correct distance.
For example: G0 X20 gives me a distance 20mm in axis, and 10mm on real machine.
But testing config in stepconf 20mm gives 20mm on real machine.
Please Log in or Create an account to join the conversation.
- Andrzej
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
17 Nov 2010 21:44 #5379
by Andrzej
Replied by Andrzej on topic Re:Problem with scale? Stepconf/axis
Ok. found it Sorry...
Stepconf shows +- , so distance has to be counted twice ))))
Stepconf shows +- , so distance has to be counted twice ))))
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7106
- Thank you received: 1177
17 Nov 2010 23:26 #5381
by BigJohnT
Replied by BigJohnT on topic Re:Problem with scale? Stepconf/axis
I'm glad you figured it out!
John
John
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23310
- Thank you received: 4858
18 Nov 2010 00:13 - 18 Nov 2010 00:13 #5384
by andypugh
Replied by andypugh on topic Re:Problem with scale? Stepconf/axis
It might be what you think, it might be microstepping.
If our drives are set to half-step you will get what you see.
To check, see if the axis scale numbers in the .hal file that stepconf created match the numbers from the original docs.
If our drives are set to half-step you will get what you see.
To check, see if the axis scale numbers in the .hal file that stepconf created match the numbers from the original docs.
Last edit: 18 Nov 2010 00:13 by andypugh.
Please Log in or Create an account to join the conversation.
- Andrzej
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
18 Nov 2010 20:13 #5417
by Andrzej
Replied by Andrzej on topic Re:Problem with scale? Stepconf/axis
It looks like the manufacturer "lies" a bit in documentation. Among others there were parameters for smaller version.
I have got machine with license for PC-NC software and settings for this software.
From my calculations from parameters given by manufacturer it looks like that leadscrew has 0.75001875 mm pitch. I measured it (from "tooth" to "tooth") and it looks like it has 3 mm.
In the other hand emc2 works fine with 0.375 setting and without microstepping.
I tried settings with microstepping but I configured something wrong and my machine has started fast like creazy and blocked.
So I will rather stay with 0.375 and no microstepping.
Maybe manufacturer modyfied a bit construction (steppers, drivers, leadscrew) forgeting to update documentation
I am pretty new at CNCing (moving from reader/story-teller to practicioner )
I will asked them in near future. But currently I am happy with my first success with configuration and trying to find appopriate bits to PCB milling (first approach failed - I broke bits trying to touch off :/)
Thank you for your suggestion!
Andrzej
I have got machine with license for PC-NC software and settings for this software.
From my calculations from parameters given by manufacturer it looks like that leadscrew has 0.75001875 mm pitch. I measured it (from "tooth" to "tooth") and it looks like it has 3 mm.
In the other hand emc2 works fine with 0.375 setting and without microstepping.
I tried settings with microstepping but I configured something wrong and my machine has started fast like creazy and blocked.
So I will rather stay with 0.375 and no microstepping.
Maybe manufacturer modyfied a bit construction (steppers, drivers, leadscrew) forgeting to update documentation
I am pretty new at CNCing (moving from reader/story-teller to practicioner )
I will asked them in near future. But currently I am happy with my first success with configuration and trying to find appopriate bits to PCB milling (first approach failed - I broke bits trying to touch off :/)
Thank you for your suggestion!
Andrzej
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7106
- Thank you received: 1177
18 Nov 2010 21:08 #5419
by BigJohnT
Replied by BigJohnT on topic Re:Problem with scale? Stepconf/axis
When I "touch off" with EMC2 and any other control that allows I use a dowel of known size. I lower the Z so the dowel will not roll under then slowly raise Z until it just rolls under then set my offset to the diameter of the dowel. No more broken chipped end mills or drills.
John
John
Please Log in or Create an account to join the conversation.
- Andrzej
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
19 Nov 2010 12:30 #5436
by Andrzej
Replied by Andrzej on topic Re:Problem with scale? Stepconf/axis
I like your solution.
Thank you for great tip!
Andrzej
Thank you for great tip!
Andrzej
Please Log in or Create an account to join the conversation.
Time to create page: 0.091 seconds