Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Circle movement not working
I am trying to create a circle move (1 quarter - 90 degrees) using the prog1.pmc code as below:
undefine all
#1->1711025 X
#8->1365276 Y
#2->2105867 Z
#7->393216 a

open prog 1
ta 125
ts 35
tm 1000
dwell 2000
G02 X0.25 Y0.25 I0.25 J0.25

For G-Code commands, I have also created subprog1.pmc as follow:
open subprog 1000
N0: rapid return;
N1000: linear return;
N2000: circle1;return;
N3000: circle2 return;
N9000: dwell 10 return;
N17000: normal K-1 return;
N18000: normal J-1 return;
N19000: normal I-1 return;
N90000: abs return;
N91000: inc return;

However, the output is just a LINEAR movement from current position to point (0.25,0.25). I tried several other ways, such as using circle1 directly in my prog1.pmc but none of them worked.

Can anyone help what might be the issue here?

Have you set Coord[x].SegMoveTime to a value greater then zero?
(03-31-2018, 08:06 AM)Tony Wrote: Have you set Coord[x].SegMoveTime to a value greater then zero?

Thanks for your response. I set Coord[1].SegMoveTime=10 and still it moves linear not circular. Is there any other parameter that I should change to have a circular move for X and Y?
I think the move command you want is:

G02 X0.25 Y0.25 I0.25 J0

This specifies the center for the arc as +0.25 units in X from the starting point and 0.0 units in Y from the starting point.

Your move command specifies the center point the same as the ending point. It is not mathematically possible to create an actual arc for that.
I can't believe it wasn't Coord[x].SegMoveTime
Don't forget to Incremental Arc Center vs Absolute Arc Center. You don't have G90.1 or G91.1 defined in Program 1000.

Forum Jump:

Users browsing this thread: 1 Guest(s)