Hello Guest it is March 28, 2024, 07:32:11 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 - emily

Pages: 1
1
General Mach Discussion / Re: help with torch height
« on: June 08, 2016, 05:06:27 PM »
ahhh there we go. Here is the profile.xml

2
General Mach Discussion / Re: help with torch height
« on: June 08, 2016, 04:43:13 PM »
Here is a portion of what i believe is my profile.
Like I said, the file is huge I can't post it all.


Post edited - see reply #13 for the complete .xml file.

3
General Mach Discussion / Re: help with torch height
« on: June 08, 2016, 04:36:05 PM »
Here is the M3 file-

Sub main()

Dim Xaxis As Double   'coordonnées actuelles
Dim Yaxis As Double
Dim X_1axis As Double   'coordonnées passées
Dim Y_1axis As Double
Dim DeltaX As Double
Dim DeltaY As Double
Dim XYLimit As double   'limit defini par l'opérateur.

'***************************************************************************
'Début de programme
'***************************************************************************

If getuserled(1001) = 0 Then   'Vérification mode TRIAL
GoTo Trial_no         'Pas en mode TRIAL
Else
GoTo Trial_yes         'en mode TRIAL
End If

Trial_no:         'lorsque pas en mode TRIAL effectue la routine de plate sensing

If getuserled(1002) = 0 Then   'Vérification mode PSMODE
GoTo sortie         'Pas en mode PSMODE

            'en mode PSMODE
End If


'***************************************************************************
'Routine qui fait le calcul pour vérifier si la torche dépasse la zone
'définie à ne pas faire de plate sensing
'***************************************************************************

X_1axis = getvar(1001)      'Récupération des variables X,Y mémorisées lors du plate sensing
Y_1axis = getvar(1002)      

Xaxis = Getoemdro(800)      'Récupération de la valeur actuelle de X
Yaxis = Getoemdro(801)      'Récupération de la valeur actuelle de Y
XYLimit = Getoemdro(1003)   'Récupération de la valeur de la limit

DeltaX = Xaxis - X_1axis
DeltaY = Yaxis - Y_1axis

'MsgBox (deltax)
'MsgBox (deltay)
'MsgBox (xylimit)

If getuserled(1003) Then

   If Abs(DeltaX) > XYLimit Then
   setuserled(1003,0)
   GoTo label1
   End If

   If Abs(DeltaY) > XYLimit Then
   setuserled(1003,0)
   GoTo label1
   End If
GoTo sortie


Else
GoTo label1
End If





'***************************************************************************
'label1:         Routine qui prend en charge le plate sensing
'            et ajuste le Z à la hauteur de coupe
'***************************************************************************

label1:

If getuserled(1003) =0 Then
         setvar (1001, Xaxis)      '1001 = uservariable = valeur de X lors du plate sensing
         setvar (1002, Yaxis)      '1002 = user variable = valeur de Y lors du plate sensing
Else         
End If
ActivateSignal (OUTPUT4)
code ("G28.1z0")
While IsMoving()
Wend
deactivateSignal (OUTPUT4)
Setuserled(1003,1)         'LED du MODE SPS est ON

         

'***************************************************************************
'            Sortie du programme
'***************************************************************************

Sortie:
code ("g00z0.20")      'ajuste le Z à la hauteur de coupe
While IsMoving()
Wend
DoSpinCW()            'Start Plasma

Trial_yes:            'en Mode TRIAL skip la procédure de plate sensing et start plasma.


End Sub

M15 file-
deactivateSignal (output3)
code ("g04 p0.5")


I noticed that my profile.xml is in the macros folder as well as the mach3 root folder. However, they are different ie do not contain the same information        

4
General Mach Discussion / Re: help with torch height
« on: June 08, 2016, 04:04:50 PM »
Thanks for the replies.
The torch seems to be doing initial ihs at the start of the first cut. When it moves to the second pierce it does not do ihs, it lifts from the table about 2 inches and tries to spark.
I do not now how to set up the THC, assign a pin to the ohmic cap and I'm not sure what thc I'm using.
Basically, I bought the unit from a shop where it was being used on a daily basis. I kept everything set up the way it was when I bought it. I was able to cut various pieces but something changed and I don't know how or why.
My profile is huge, won't let me upload to the forum. Is there a section that I should copy and paste?

GCode-

 M05 M15
G40
 G00 X0.875 Y1.
G41
 M03
 G04 p0.5
 G03 X0.0625 Y-0.0625 I0.0625 J-0. F30.
 G03 I-0. J0.125
 G03 X0.0625 Y0.0625 I-0. J0.0625
 M05 M15
G40
 G00 X0.875 Y-1.
G41
 M03
 G04 p0.5
 G03 X0.0625 Y-0.0625 I0.0625 J-0. F30.
 G03 I-0. J0.125
 G03 X0.0625 Y0.0625 I-0. J0.0625
 M05 M15
G40
 G00 X-1.125 Y-1.

5
General Mach Discussion / Re: help with torch height
« on: June 08, 2016, 03:01:13 PM »
As far I know the THC button is off(LED is off)
I have been able to run the table with it off.
It is a machitech 300 and Hypertherm Powermax 1650

I'm not really sure how to use the THC function. It seems like when I have it on, it doesn't work. torch drives right in to the plate if there are uneven surfaces. Ohmic sensing cap does not seem to be working. Please pardon my ignorance, this is all brand new to me.


6
General Mach Discussion / help with torch height
« on: June 08, 2016, 12:37:17 PM »
I am very new to CNC and trying to learn how to use mach software to run my plasma table. I have been able to cut parts after some trial and error, lots of reading and tutorials.
For some reason, my torch is moving off it's path and sparking about 2 inches off the table when it goes from cutting one part to the next. It cuts the first piece fine and then moves to it's next position in the cut sequence, then it raises about 2 inches and tries to spark. Sometimes it does not move to the next part in the cut sequence but goes way off course and tries to spark several inches off the table. I have all new tip, nozzle, cap etc. so that's not the problem.
I feel like it's something simple but I don't now what a lot of the controls in mach 3 actually do or mean. I have been reading and watching tutorials but just can't figure it out. I need to get it running. Any help would be greatly appreciated.
Thanks!

Pages: 1