Hello Guest it is April 18, 2024, 01:20:31 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Gregor77

Pages: 1
1
General Mach Discussion / Re: Pause while rotary axis moves
« on: December 09, 2014, 05:46:12 AM »
Meant to write:
I replaced the mach3.exe with the one from version 3.43.027.

2
General Mach Discussion / Re: Pause while rotary axis moves
« on: December 08, 2014, 05:11:30 PM »
Hi Hood,

our messages overlapped...

No need to send the XML, it works very good now.
So it was NOT a setting.

Gregor

3
General Mach Discussion / Re: Pause while rotary axis moves (Solved)
« on: December 08, 2014, 05:10:08 PM »
Talking to myself...

Found a solution!
I replaced the mach3.exe with the one from version 3.43.07.
This is the one I had in use for years with no problem at all.

And guess what, the feed hold now works exactly as expected.
I mean the restart after feed hold of course.

Perhaps Art, Brian or Andrew should have a look at this issue.
I can test over here of course.

Gregor

4
General Mach Discussion / Re: Pause while rotary axis moves
« on: December 08, 2014, 04:16:35 PM »
Hmm, this seems to be a general problem.
Pause with A-axis in motion always results in silly moves, atleast in here.

I tried different styles of G-code for the same process.
Wrote it in subroutines to have no larger turn than 360°.
Result is, I can't run further at all after pause.

Placed variables in the C-code, calculated the commanded positions.
Pause and un-pause results in silly moves.

Is it not possible to pause and unpause a 4 axis program at all?

Or can it be a setup error?
I *think* it is all right from all what I could read in the forum.
Also I tried several setting combination.

From all what I see it is Mach3 that is not reliable in this aspect with 4 axis.
Right???

Gregor

5
General Mach Discussion / Pause while rotary axis moves
« on: December 07, 2014, 02:02:39 PM »
Hi all,

with Mach3, version .66.

My rotation axis goes crazy on Pause.
After starting again, it does silly moves.
It seems Mach forgets where it is.

I want to make 10 turns on a length of 100.
I stop at X50.
After restarting it makes again 10 turns until 100 is reached.
If I make it several times the rotation axis turns in the wrong direction.

All other things, even the feed rate compensation, do work.

See example below.

What the heck can cause this?
And what to do about it?

Thanks,
Gregor

%1(Test)
G0 Z50
G0 X0 Y0
G0 Z21
F50
G1 Z19.9
F1000
G1 X100 A3600 (pause here and un-pause)
Z10
G1 X0 A0
G0 Z50
M30


6
General Mach Discussion / Re: Rotaryaxis reference
« on: December 06, 2014, 05:33:53 PM »
> Give this a try.
> ' Macro for Homing Machine

Wow, works exactly as expected and reliable.
Even with the positioning after A reference (code("G90 G53 G0 A47")).

Any explanation why RefCombination does not work?
Not so important, just curious.

Thank you,
Gregor




7
General Mach Discussion / Rotaryaxis reference
« on: December 06, 2014, 11:32:21 AM »
Hi all,

to reference Z, X, Y and A I use a macro (see below).

The A is a rotational axis, sothe refrence switch can be active when starting the refrence run.
I check it with "If getoemled(839) Then".
If active, then I would like to rotate the axis by some degrees, and do the refrence run after that.
Simple so far.

But often it doesn't work.
I think I have towait until the move is done with the famous IsMoving function.
See "'*" in the macro.
If the IsMoving is in the macro, Mach3 hangs.

What can be the reason, and how to avoid it?

Greetings,
Gregor




'ref Z first
DoOEMButton(1024)

'ref XY
RefCombination(3)

'check for active switch
If getoemled(839) Then
code("G91 G0 A-14")
'*While IsMoving()
'*Wend

End If

DoOEMButton(1025)

'code("G90 G53 G0 A47")

Pages: 1