Hello Guest it is March 19, 2024, 12:58:27 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

781
General Mach Discussion / Re: Run Batch G-Code with hold between files
« on: October 26, 2020, 02:43:10 AM »
how to run Subroutines is explained here: https://www.machsupport.com/forum/index.php?topic=7684.0

macro language will be VB

example to run files with different names:

Code: [Select]
Sub Main()

LoadRun("C:\Mach3\Gcode\file1234.tap")
Code "M00"
LoadRun("C:\Mach3\Gcode\fileabc.tap")
'and so on

Code"M30"
End Sub

example if file names are numbered:

Code: [Select]
Sub Main()
   For i = 1 To 120
LoadRun("C:\Mach3\Gcode\file" & i & ".tap")
If i <> 120 Then
Code "M00"
Else
Code"M30"
End If
   Next i
End Sub

code example not tested just written down.

783
German / Re: Mach3 mit USB-Steuerungplatine Probleme
« on: October 20, 2020, 11:58:20 AM »
Hallo Dieter,
mir ist noch was eingefallen.
Da Du ja einen Referenzschalter an der Z-Achse oben hast, kannst Du den gleichen Port und Pin auch beim
Z++ eintragen, das sollte beim Referenzieren nicht stören, und danach ist der Referenz Schalter als Endlagenschalter
aktiv. Ich hoffe die Chinesen Platine kann das.

Gruß Tom

784
German / Re: Mach3 mit USB-Steuerungplatine Probleme
« on: October 20, 2020, 11:51:06 AM »
Hallo Dieter,
so jetzt habe ich mir den Screenset Mal angeschaut, und Dein Problem habe ich gefunden, glaube ich zumindest.

Bei dem "Vorschub im Eilgang bis Z-" darfst Du nicht 0 eingeben, das ist die reale (in Maschinekoordinaten) Position,
also wenn Du das in deinem Fall mit Safe Z gleichsetzten willst muss hier -50 rein.

Bei 0 wird einfach nach oben auf 0 gefahren.

Gruß Tom

785
German / Re: Mach3 mit USB-Steuerungplatine Probleme
« on: October 19, 2020, 11:03:39 AM »
Servus Dieter,
kannst Du mir mal einen link zu dem screenset geben, dann schaue ich mir das heute Abend im Hotel an.

Gruß Tom

786
German / Re: Mach3 mit USB-Steuerungplatine Probleme
« on: October 19, 2020, 05:39:41 AM »
Servus,
wenn ich das alles lese, denke ich Deine Z-Achse fährt invers.

Z- ist nach unten
Z+ nach oben

Gruß Tom

787
it is to use in a VBScript.

Operator -> VB Script Editor

788
G-Code, CAD, and CAM discussions / Re: Noob G Code question
« on: October 13, 2020, 03:01:13 PM »
hello jdm033056 ,

the best Thing is to add it to your code.
 for example:
Code: [Select]

%        (1)
G91 (it is allways good to put a Header line in G-Code not only G91 or G90 some other basic's would be good)

G01
F50
Y-2
X2       (5)
Y4
X-4
Y-4
X2
Y2       (10)
%

789
this is one way of many's. do not use OEMLED(13) it is Flood LED

use 1200 and abofe