Digital Dream Technology support

Title: Lathe axis. [Print This Page]

Author: pingvin-man    Time: 2018-9-10 21:40
Title: Lathe axis.
Hello guys!

I'm sorry for my bad english.

I have the machine with 4th axis A.
So, at this moment this axis is programming only in absolutly mode. What I mean: if I use a spiral toolpath, axis A accumulates A coordinates and if the spiral has 100 twist - I get the coordinate A36000. It is bad situation.

Is it possible to change something in the controller? I want to use a different algorithm for the A axis. It must zero coordinate A when the angle reaches 360 degrees.

What should I change in the controller for the jump after 360 degree to 0 degree?

What I have now:

A358
A359
A360
A361
A.....

What I need:

A358
A359
A0
A1
A...

Thank you.

Author: ytliu    Time: 2018-9-11 06:36
You can insert the G92 command to meet your requirements.
A358
A359
G92A-1
A0
A1
A ...
Author: maxx2000    Time: 2018-9-11 13:59
My friend, it's configurable in your CAM or postprocessor. In the settings you need to specify how your axis works
The output of the rotary axis angle is from minus infinity to plus infinity.
The output of the rotary axis angle is from -360 to +360.
The output of the rotary axis angle is limited to values between 0 and 360.

Author: pingvin-man    Time: 2018-9-11 20:23
ytliu Posted at 2018-9-11 06:36
You can insert the G92 command to meet your requirements.
A358
A359

Could you explain what does it mean G92?
In the standart ISO G-code it is the shift working system of coordinate.


Author: pingvin-man    Time: 2018-9-11 20:30
maxx2000 Posted at 2018-9-11 13:59
My friend, it's configurable in your CAM or postprocessor. In the settings you need to specify how y ...

In my life I wrote more then 50 postprocessors for real machines. Basically for 5-coordinate machines.
I know how to make it in the PP.
And I know as minimum 3 variant algoritm for the lathe axis.

But here is a question about the controller.
Author: pingvin-man    Time: 2018-9-11 20:32
In any way thank you for the answers.
Author: Nikolay81    Time: 2018-9-11 23:03
pingvin-man Posted at 2018-9-11 20:32
In any way thank you for the answers.

Command G92, sets new coordinates for the working coordinate system. For example, G90 G92 X0 Y0 Z0 A0 will zero all axes.




Welcome Digital Dream Technology support (http://bbs.ddcnc.com/) Powered by Discuz! X3