Need help in Incremental Round Move

More
10 years 11 months ago #65516 by G0G53Z148
Need help in Incremental Round Move was created by G0G53Z148
Dear Linuxcncusers.

I am using Linuxcnc since 5 years and never get a problem like this.

I Want to move an Radius incremental with an predfined angle. I set the I and J of the Radius with G90.1 to absolut. But this will not do what i want.

I have seen the documentation with polarcoodinates and think this must be helpfull buts not true.

The workpiece is evry pice not similar to the others and there are 100 of this. The angle of Radius and the angle of the side are not the same. On my machine at Work with Heidenhain control is no problem to do this on it.

A sample it looks like this code
Code:
L X-36 Y-62 R0 FMAX L Z2 R0 FMAX L X-24 Y-62 RL F800 L Y-10 CC X-14 Y-10 CP IPA -70 DR- L X0 L Y-55 L X-40
The Movement on X Axsis i havent implementet.

And as Sample now my Code wich i have done on Linuxcnc
Code:
o1010 sub G90.1 (Radius Center Absolut) G0 X-50 Y-65 G0 Z2 G1 G90 Z#4010 F#3001 (DEBUG, Tiefe soll #4010) G1 G90 G41 X#4005 Y-60 G1 y-10 G02 G91 ^-112 I-14 J-10( CW Move define Angle) G1 G90 X0 G1 Y-55 G1 X-35 G90 G0 Z2 #4005=[#4005+#4006] G40 o1010 endsub

For Better Understandig i Post the Complete Code and Drawing and as sample some Pieces of the Projekt.

Does anyone have a Idea ho to do this easy without CAM and without draw each point in CAD to messure the endponts of Radius.

Sorry for my English buts not my Native.

thank you and have a nice day
Roland

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #65551 by andypugh
Replied by andypugh on topic Need help in Incremental Round Move
polar coordinates use the current (X,Y) zero as the centre point.

So, you either have to set a temporary zero position at your chosen centre, or use some trigonometry.
LinuxCNC G-code has Sin, Cos and Tan functions.

Polar coordinates does help, try this code:


G90.1 (Radius Center Absolute)
G0 X200 Y200
G92 X0 Y0 ; This is our new centre point
G0 X50
G90.1 ; absolute circle centres
G2 F2000 ^-112 I0 J0 ; 112 degree move around the new 0,0 point
G92.1 ;cancel the temporary offset
m2

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #65645 by G0G53Z148
Replied by G0G53Z148 on topic Need help in Incremental Round Move
Thank you andi

i have found a other reason.
In you code i think i have tio left contour parth and move back

its bad that Linuxcnc can this not with simple commands

on my Heidenhein the code has 26 lines in Linuxcnc 120 ok there are 40000 dollars diffrent. :dry:

mai be some developer read this. Pleas add simple arc round for in and outside like Mach3 or others this will be verry verry helpfull.

thanks for reading

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #65673 by andypugh
Replied by andypugh on topic Need help in Incremental Round Move

G0G53Z148 wrote: Pleas add simple arc round for in and outside like Mach3 or others this will be verry verry helpfull.


What does the Mach3 G-code look like?

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #65687 by G0G53Z148
Replied by G0G53Z148 on topic Need help in Incremental Round Move
I dont use mach 3

I see it by e collegue. He wrote the ege of the pice with x20 r2
Y-10 r2
X0 r2

So the edge are round without i and j and correct endpoint

This function is verry helpfull at miling. At work i use them 100 times a day

Greetz

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #65695 by andypugh
Replied by andypugh on topic Need help in Incremental Round Move

G0G53Z148 wrote: Y-10 r2
X0 r2

So the edge are round without i and j and correct endpoint


You can use R to define an arc in LinuxCNC. That very same G-code will work in LinuxCNC.

Please Log in or Create an account to join the conversation.

Time to create page: 0.309 seconds
Powered by Kunena Forum