Hello Guest it is April 27, 2024, 04:22:26 PM

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 - SteelWolf

Pages: « 1 2 3 4 »
11
Hello,

I have a "new" problem (I think I had this problem before a few times in other situations):
My M6start and end macro moves the spindle to the toolchange position where i manually change it and press start.
It then measures the height of the new tool and begins with the next job. (Thats what it should do)
The problem is, after measuring the height it exceeds safe-z height and the limit switches trigger.
Normally  "Code "G0G53 Z" & GetOEMDRO(54)" would exactly go to safe-z
In this code example it wont.

And another creepy thing to mention is that it also fails to reference Z afterwards.. It references correctly, but then goes in the positive direction instead of negative while trying to clear the limit-switch. (lucky me has only a relatively weak spindle with a motor that detects overcurrent)

The problematic code part:
        Code "G0G53 Z" & GetOEMDRO(54)
        Code "G0G53 X" & GetOEMDRO(1216) & "G0G53 Y" & GetOEMDRO(1217)

And the full code:
Code: [Select]
If GetOEMDRO (24) <>0 Then

code "g0 g53 x" & GetOEMDRO(1218) & "g0 g53 y" & GetOEMDRO(1219) 'Go to probe Position
While IsMoving()
Wend

SavedZ = GetOEMDRO(49)
SetOEMDRO(49, 0)
'Probing process
code "g0 g53 z" & -GetOEMDRO(1220) 'Eilfahrt bis "Tasterhöhe"
While IsMoving()
Wend
code "g31 z-1000 f700" 
While IsMoving()
Wend
code "M1002"

'Setting Variables
Z_Shift = GetOEMDRO (1221) 'Einstellbares Offset ggf.
Tool_Offset = getVar(2002)'Var method
Call setOEMDRO(42, Tool_Offset)
SetOEMDRO(49, SavedZ)

        Code "G0G53 Z" & GetOEMDRO(54)
        Code "G0G53 X" & GetOEMDRO(1216) & "G0G53 Y" & GetOEMDRO(1217)

'Re-enable coolant
If GetUSERLED(1200)<>1 Then
If GetOEMLED(12) Then
Else
DoOEMButton(114)
End If
SetUSERLED(1200, 1)
End If

Else
MsgBox "Keine Werkzeug-Nummer gewählt",0
End If 

Thanks !

12
Ethernet Smoothstepper  :P

13
Hm ok i really can't find any consistency here.
I have no Idea what triggers this error.. It could also be the weather or star constellation.
I tried to calibrate my probe again after a new pc start and did nothing in mach3 but mill a simple reference surface.
Is this a known problem? Maybe for smooth-stepper users? I guess I can't be the only one with this problem

14
But is the overshoot really a problem?
The 2000 variables are saved directly on the trigger point I hope?

Or do you mean because overshoot may be unhealthy for the probes?

15
I tried it again after some restarts and also from the MDI line.
It seems to work now for the time being. But I really don't want to slow down my mill to 10% everytime so I can e-stop it before it crashes with the probe.
As long as this error isnt repeatable its pretty useless :/
Im using the Ethernet Smoothstepper.. maybe thats part of the problem.

PS: I didn't know about the 2000-2005 variables since last week so I always used this fast and slow approach routine.
When using probe tripping variables, is it necessary to approach with a slow feedrate? I guess it jsut depends on the update-rate of the digital inputs? I couldn't really find any relationship between feedrate and repeatability of the results.

16
Thansk for responses!
I'll try tweakies Code and report! and thanks for the link, this looks pretty interesting (another feature I have to include.. it never ends)
I should've known that its in radiant ~

Thanks!

17
Hello,

Im trying to implement some probing features but when probing X or Y,  the probing head also moves in Z direction when I use G31X (no idea what triggers this behaviour)

example Code:

Code: [Select]
If IsOutputActive(Output15) Then

SetOEMDRO(47, 0)
SetOEMDRO(48, 0)
SetOEMDRO(49, 0)

PosX=GetOEMDRO(83)
PosY=GetOEMDRO(84)

'X+ Probing routine

Position = GetOEMDRO(83)
Code "G31 X" & (Position + 20) & "F850"
While IsMoving()
Wend

Position = GetVar(2000) 'real x probing point
Code "G01 G53 X" & (Position - 0.75) & "F500"
While IsMoving()
Wend

Position = GetOEMDRO(83)
Code "G31X" & (Position + 1) & "F40"
While IsMoving()
Wend
Position = GetVar(2000) 'real x probing point
Result= Position-(GetOEMDRO(1325)/(2)) + GetOEMDRO(1310)

It would crash into the table because it moves both axis.

Anybody here who had this problem before :/?

Thanks,
Max

18
Hey,

Im actually implementing all my custom probing scripts. One of them tries to calculate the orientation of a workpiece with two probing points in X and the corresponding Y values.
with tan(alpha)=deltax/deltay

first of all, mach3 has no arcsin or arccos function
so I'm using atn for the arctan function.   atn(abs(deltax/deltay))
But it outputs crap and no correct angle.
Has anybody used atn before or could try a simple piece of code atn? converting this ratio, from lets say a=5 b=3, into an angle?

Thanks (:
Max

19
Its one of the most usefull plugins for me at the moment
I wrote a script that changes back to cont mode all the time..
Not the best solution :/

I'd actually even pay for a Plugin like that (or the fix)
It would also be nice to be able to set custom functions on button like a M-script and not just the built-in ones.

Greetings,
Max

20
Mach Screens / Toolpathdisplay Switching? X-Y plane and X-Z plane
« on: September 30, 2014, 06:37:22 PM »
Hello,
for my Interface, I'd need some manual millturn functions but its necessary to switch to X-Z plane
The Problem is that, even when I only use X-Z plane displays it still shows X-Y arrows and I would have to rotate it manually (no option)

Is this a known problem? Do I need to switch some other mode?

Greetings,
Max

Pages: « 1 2 3 4 »