Hello Guest it is April 26, 2024, 12:15: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 - daniba73

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 »
201
Mach4 General Discussion / Re: lathe speed range in Mach4
« on: December 05, 2018, 11:41:59 AM »
Hi,
Can you add images?
It would be of much help!

202
Mach4 General Discussion / lathe speed range in Mach4
« on: December 05, 2018, 02:26:09 AM »
I have a lathe with a mechanical gearbox.
in Mach4 I saw a table where you can configure the speed ranges.
example.
how can I tell Mach4 that I am in the 4 range ??
as a result, at command M3 S100 analog output for VFD must be 10 volts.
thank you.

203
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: December 04, 2018, 02:55:11 AM »
Hi,
Can you give me a clue where to look for this thread?
why does the "search" function no longer work?

204
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: November 19, 2018, 01:04:41 PM »
tried on the computer at home and it works!
I try it on the lathe as soon as possible.

Is it possible to switch on or off with an external button?

Thank you for your great patience!

205
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: November 19, 2018, 12:17:11 PM »
OK done.
now? what's next step?
I do not have to enter in the dedicated screen input?

206
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: November 19, 2018, 11:27:16 AM »
I do not understand where you enter your string.


local Coolant = mc.mcSignalGetHandle (inst, mc.OSIG_COOLANT)
mc.mcSignalSetState (Coolant, 0)


in the RESET functions what should I write?
I attach image

207
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: November 19, 2018, 10:11:34 AM »
surely I'm wrong ... I have a series of errors.

208
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: November 19, 2018, 09:24:05 AM »
Hi,
Where should I enter this string?
also I would like to add to the RESET button stop coolant, how do you do it?
Mach4 is too complex to configure for many people.

209
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: November 18, 2018, 03:52:19 AM »
I noticed that the M8 function is deactivated only with M9 or the corresponding screen button.
Both the RESET and ENAMLE buttons do not affect the status.
Is it normal or BUG of Mach4?
Is it possible to assign an external button?

210
Hello
I would like to try Mach4 on the Mill.
But I need A.T.Z. to update zero piece with new tool length.
my question :
  is it possible to migrate these functions from Mach3 to Mach4?
1 and 2 Red are the scripts
3 Blue color, led probe contact.
4 color Pink, DRO

I attach Mach3 scripts, images and screens.

thank you.


Code: [Select]
REM A.T.Z. Antonio

If Not GetLed (7) Then ' è referenziato X
vxled = 1
End If

If Not GetLed (8) Then ' è referenziato Y
vyled = 1
End If

If Not GetLed (9) Then ' è referenziato Z
vzled = 1
End If

Tled = vxled + vyled + vzled

If Tled = 3 Then ' se non sono referenziati X, Y e Z esco

If IsSuchSignal (22) Then                  ' Il Probe è abilitato

DoSpinStop()                                     ' Fermo il Motore


Xpos = GetParam("XMachine")         ' Memorizzo XY in Assoluto
Ypos = GetParam("YMachine")
Zpos = GetParam("ZDRO")               ' Memorizzo Z in Relativo
Fcurr = GetParam("FeedRate")          ' Memorizzo FeedRate corrente

code "G53 G0 Z0"
code "G53 G0 X64.7 Y-19.95"                  ' Posizione inizio ricerca Assoluta Switch Zero XY

While IsMoving()
Wend

code "G53 Z-1"

While IsMoving()
Wend


tmp = (GetParam("ZDRO")-200 )

code "G31 Z" & tmp & "F180"     ' Cerco Switch fino a -200
code "G4 P1"

While IsMoving()
Wend
  
Call SetDRO( 2,GetUserDRO(2001))            

'SetParam("FeedRate",Fcurr)
code "G0 G53 Z0"
While IsMoving()
Wend
MsgBox ("Utensile Azzerato Correttamente")
End If

Else
MsgBox ("Per poter cambiare l'utensile bisognava prima aver referenziato la macchina")
End If  
      
 





Code: [Select]
REM A.T.Z. Antonio Probe SET

If Not GetLed (7) Then ' è referenziato X
vxled = 1
End If

If Not GetLed (8) Then ' è referenziato Y
vyled = 1
End If

If Not GetLed (9) Then ' è referenziato Z
vzled = 1
End If

Tled = vxled + vyled + vzled

If Tled = 3 Then ' se non sono referenziati X, Y e Z esco

If IsSuchSignal (22) Then           ' Il Probe è abilitato

DoSpinStop()                        ' Fermo il Motore

code "G53 G0 Z0"
While IsMoving()                    ' Aspetto mentre si muove
Wend

Xpos = GetParam("XMachine")         ' Memorizzo XYZ in Assoluto
Ypos = GetParam("YMachine")
Zpos = GetParam("ZMachine")              
Fcurr = GetParam("FeedRate")        ' Memorizzo FeedRate corrente

code "G53 G0 Z0"
code "G53 G0 X64.7 Y-19.95"                ' Posizione Assoluta inizio ricerca Switch Zero XY

While IsMoving()    ' Aspetto mentre si muove
Wend

code "G53 Z-1"                    ' Posizione Assoluta inizio ricerca Switch Zero Z

While IsMoving()                    ' Aspetto mentre si muove
Wend


code "G31 Z" & (GetParam("ZDRO")-200) & "F180"    ' Cerco Switch fino a -200  
code "G4 P1"

While IsMoving()    ' Aspetto mentre si muove
Wend

SetUserDRO(2001, GetParam("ZDRO"))  ' Trovato il segnale cioè lo switch, sovrascrivo il valore dell'UserDRO    
                                    ' con quello letto in ZDRO


code "G0 G53  Z" & Zpos                 ' Alzo prima la Z
While IsMoving()                    ' Aspetto mentre si muove
Wend
MsgBox ("SET utensile completato corretamente")
End If
          
Else
MsgBox ("Per poter cambiare l'utensile bisognava prima aver referenziato la macchina")
End If  
    
  

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 »