Anything is possible in software if you are creative enough
I've been doing some 4 axis machining and was wonder if I could creat a c program that would do something similar to haas's G254 DWO?
Similar Threads:
Anything is possible in software if you are creative enough
It would probably be more of a matter of adding a C++ Kinematics Class.
Can you be more specific on what type of 4 axes system you have and how you would expect things to work?
Also some background of your skills so we can communicate better.
Regards
Regards
TK http://dynomotion.com
Hi Tom,
Yes, actually haas's G254 DWO means dynamic work offset.Can you be more specific on what type of 4 axes system you have and how you would expect things to work?
It changes the TCP According to your workpiece location. Whatever your machine zero is, TCP will work correctly.
But in case of KmotionCNC 5axiskinematics Class our TCP location is fixed to Machine zero.
When i mount workpiece other than center of machine zero, TCP will messes up.
But DWO dynamic work offset optimizes TCP according to workpiece location.
Please look into that matter.
Thank You
AMIT KUMAR
Regards
Amit Kumar
Hi Amit,
It isn’t clear to me why offsets don’t work for you.
Machining at coordinates off center on a big part should be exactly the same as at coordinates on a small but offset part.
Of course the machine coordinates must be the same as that determines how the machine behaves regarding to the axes rotation points and so forth.
If you move to some machine coordinate for example x=4 by programming x4 with no offset, or by programming x2 with a Fixture offset of 2, TCP should work exactly the same.
Can you give an example sequence that you are doing that messes up?
Regards
Regards
TK http://dynomotion.com
Hi tom,
Thanks for your reply.
i discussed problem with tcp. Let me explain.
Tcp works only depending on machine coordinates. Means orange dro coordinates.
Suppose i am having one g code in which coordinate system origin is at bottom center of the part.
And if i place it at some location other than center. It will not run same as placing in center. Means my TCP will not be optimised according to part location.
Now tcp is hard wired to machine zero. is there any way to add fixture offsets while running.
Or in kinematics class can i add fixture offsets that will change according to program.
This will be Dynamic work offset.
Waiting for your kind reply
Thank you
Amit Kumar
Sent from my Lenovo K50a40 using Tapatalk
Regards
Amit Kumar
Hi Amit,
Yes you can change fixture offsets while running.
What happens if you enter a fixture offset to make the GCode coordinates (green DROs) at the bottom left of the part? The machine coordinates will still be at the center of the part and TCP should still work correctly.
Can you describe a specific example of what you are doing where TCP doesn’t work correctly ?
Regards
Regards
TK http://dynomotion.com
Hi Tom,
Thanks for your reply.
Let me explain.
I made one 5axis g code for a part using bottom center as origin.
And while mounting the same part in machine i am mounting on x20 y20, not in origin.
So my tcp isn't maintained. Because tcp will work if i mount the workpiece at x0 y0.
Because its programmed that way.
Is there any way in which i can use tcp using green dro coordinates.
So i can easily change these values accordingly. Orange color dro coordinates are not easy to change coordinates. And currently my tcp is working with respect to orange coordinate G53.
Waiting for your response regarding this issue.
Sent from my Lenovo K50a40 using Tapatalk
Regards
Amit Kumar
Hi Amit,
Your description of what you are doing and what is happening is not clear.
Please perform the following test sequence. Record all the numbers and answer the questions:
- Run KMotionCNC
- Set and Verify all offsets (G92, Fixture, and Tool ID1001) are all zero
- Select mm Mode G21
- Enable TCP mode G43.4 H1001
- Move to upper right position Command G0 X20 Y30 Z0 A0 C0
- Record Orange, Green and KMotion Axis Screen coordinates (15 numbers)
- Rotate G1 C10 F200
- Did TCP work correctly?
- Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)
- Shift Fixture Origin to lower left. Command G10 L2 P1 X-20 Y-20
- Move to upper right position Command G0 X40 Y50 Z0 A0 C0
- Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)
- Rotate G1 C10 F200
- Did TCP work correctly?
- Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)
Regards
Regards
TK http://dynomotion.com
Hi Tom,
Thank You for your reply.
DoneRun KMotionCNC
Yes all of them are zero.Set and Verify all offsets (G92, Fixture, and Tool ID1001) are all zero
Yes it is done.Select mm Mode G21
[QUOTE]Enable TCP mode G43.4 H1001 [\QUOTE]
Yes i enabled TCP using above g code.
Yes i executed above command.Move to upper right position Command G0 X20 Y30 Z0 A0 C0
yes and the coordinates are Orange (X20, Y30, Z90, A0, C0) Green (X20, Y30, Z90, A0, C0) Axis (X3200, Y4800, Z14400, A0, C0 corresponding axes values)Record Orange, Green and KMotion Axis Screen coordinates (15 numbers)
Yes i executed above command.Rotate G1 C10 F200
NoDid TCP work correctly?
yes and the coordinates are Orange (X20, Y30, Z90, A0, C10) Green (X20, Y30, Z90, A0, C10) Axis (X3984.90, Y4171.40, Z14400, A0, C888.89 corresponding axes values)Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)
Yes i executed above command.Shift Fixture Origin to lower left. Command G10 L2 P1 X-20 Y-20
Yes i executed above command.Move to upper right position Command G0 X40 Y50 Z0 A0 C0
yes and the coordinates are Orange (X20, Y30, Z90, A0, C0) Green (X40, Y50, Z90, A0, C0) Axis (X3200, Y4800, Z14400, A0, C0 corresponding axes values)Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)
Yes i executed above command.Rotate G1 C10 F200
NoDid TCP work correctly?
yes and the coordinates are Orange (X20, Y30, Z90, A0, C0) Green (X40, Y50, Z90, A0, C10) Axis (X3984.90, Y4171.40, Z14400, A0, C888.89 corresponding axes values)Record Orange, Green, and KMotion Axis Screen coordinates (15 numbers)
and due to Z0 is on the work bed. so if i command z0 tool will hit the bed so i am putting Z at 90 (Z90) location for safety.
Now please suggest me what is wrong?
Thank You
AMIT KUMAR
Regards
Amit Kumar
Hi Amit,
The whole idea of this test was to see the result with TCP working correctly with no offsets, and not working correctly with offsets.
But the TCP is not working at all. I was expecting you to run the the test with TCP working not broken.
Repeat the test after TCP is working.
It would also be helpful ans save us time if when you say something is not working you explain what happened and what is wrong.
Regards
Regards
TK http://dynomotion.com