Hello Guest it is April 26, 2024, 08:32:21 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 - TPS

391
German / Re: Mach4 drehen
« on: May 05, 2021, 03:40:43 AM »
Servus,
habe zwar kein Mach4, aber die Grundlagen sind die gleichen.

Normalerweise hat man ein Mastertool, in der Regel Nr1. Mit diesem Mastertool wird dann der
Werkstückoffset (G54) auf den passenden Durchmesser gestellt. Alle anderen Werkzeuge werden dann
mit Werkzeugkorrektur an den Master "angeglichen".

Hier:

https://www.youtube.com/watch?v=tx6TSU_gssY

ist es recht gut erklärt, ist zwar für Mach3, sollte aber analog in Mach4 sein.
Gruß Tom

392
as mentoined earlier try a smaller ammount for microstepping and start with
low values for Velocity (50) and Acceleration (20).
then make single axis moves with a fixed amount to check and to get axis bay axis under control.

how are your dip Switches set for Motor current (1-3)?

393
you can use G52 for this.
something like this might work:

Code: [Select]
Sub Main

'Get tool information
newtool = GetSelectedTool() ' get the newtool
acttool = GetCurrentTool() ' get the acttool
Message "New Tool = " &newtool
Sleep(200)

' new and acttool = 0
If ((newtool = 0) and (acttool = 0)) Then
message("new and old tool = 0 -> abort toolchange  !")
Sleep(500)
Exit Sub
End If

' new tool = 0
If (newtool = 0) Then
DoButton(1003)
message("new tool = 0 -> abort toolchange  !")
Sleep(500)
Exit Sub
End If

' new and acttool are the same
If newtool = acttool Then
message("acttool and newtool are the same -> do nothing!")
Sleep(500)
Exit Sub
End If
 
'check toolnumber in range
If  (((newtool > 14) Or (newtool < 1)) And (newtool <> 0)) Then
DoButton(1003)
Message (" toolnumber " & newtool & " is not in range (1-" &MaxTool &"). abort toolchange  ! ")
MsgBox (" toolnumber " & newtool & " is not in range (1-" &MaxTool &"). abort toolchange  ! ")
Exit Sub
End If

'toolnumber 1 mastertool
If  newtool = 1 Then
Code ("G52 X0 Y0")
End If

'toolnumber 2
If  newtool = 2 Then
Code ("G52 X32 Y0")
End If

'toolnumber 3
If  newtool = 3 Then
Code ("G52 X64 Y0")
End If

'And so ON



'set new tool
SetCurrentTool( newtool )
Code ("G43 H" & newtool)
Message " "

End Sub





394
Mach3 under Vista / Re: Issues with motor controls
« on: May 02, 2021, 05:16:05 AM »
have you ever checked your parallel port voltage like suggested by viseo from your other thread?
that all sounds like a voltage/Gnd Problem at PP side.

395
General Mach Discussion / Re: Drifting X,Y,Z values.
« on: April 29, 2021, 11:24:36 AM »
had a quick look to your XML. machine is set to imperial Units, therefor your values for Vel Acc are extremly high i think.
Looks like somethin is mixed up here.

396
maybe wron in this screenset, have you tryed with standard 1024 screenset?

397
General Mach Discussion / Re: Lathe tool turret macro
« on: April 20, 2021, 12:09:38 PM »
on a lathe toolchange is started by f.e.  M6TXXYY (T0203) for tool 2 offset 3.

then it should not and set the Offsets.
 

398
General Mach Discussion / Re: Epid error need to reset mach3
« on: April 19, 2021, 01:32:22 AM »
in the first step, a closed Loop Motor is the same for Mach3/CSlab, because it is only Streaming step and dir signals
to the stepper Controller. only the stepper Controller has control over the closed Loop.so in this case i would search
at stepper Controller side. had also some Trouble with CSLab and Epid error. CSLab recomend to use Mach Version 043.022.
i do not think that the Controller was "adding" step's, this normaly allways means it is loosing steps.
anyhow there is no way to "turn off" this EPid error message on Mach/CSLab side.

399
German / Re: Mach3 macht Pause
« on: April 19, 2021, 01:23:04 AM »
Du kannst Mal zu Test folgendes Programm, welches auch aus Halbkreisen besteht, laufen lassen, läuft bei mir ohne
Pausen.Dein Beispiel macht bei mir auch Pausen, mir ist auch noch nicht klar, warum. Ich vermute, das hängt mit
den Ebenenwechseln (G17/G19) zusammen.

Code: [Select]
( Kreis innen )
( Fraese einen 50 mm Kreis )
( Werkzeugdurchmesser: 5 mm)
( 4 Durchlaeufe bei: 2.5 mm Zustellung )
( Tiefe gesammt: 10 mm )
( Gegenlauf )
G00 G49 G40 G21 G17 G80 G50 G90
M06 T1
G00 Z5
S1200
M03
M08
G00 X22.5  Y0
G00 Z0
G02 X-22.5  Y0Z-2.5 R22.5 F400
G02 X22.5  Y0 R22.5 F500
G02 X-22.5  Y0Z-5 R22.5 F400
G02 X22.5  Y0 R22.5 F500
G02 X-22.5  Y0Z-7.5 R22.5 F400
G02 X22.5  Y0 R22.5 F500
G02 X-22.5  Y0Z-10 R22.5 F400
G02 X22.5  Y0 R22.5 F500
G02 X-22.5  Y0 R22.5
G00 Z5
M05
M09
M06 T0
M30

400
German / Re: Mach3 macht Pause
« on: April 16, 2021, 06:40:38 AM »
Das kann man schon einstellen. Config -> General Config -> Look Ahead
Aber das steht normalerweise auf 20.