Hello Guest it is May 02, 2024, 09:51:37 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

971
General Mach Discussion / Re: Collision detection on THC
« on: April 11, 2020, 06:30:34 AM »
you can do it via macropump macro.

you have to add some code in your digitze macro as well:

Code: [Select]
'put this as the first line in your digitize macro
SetOEMLED(1400,1) 'tell macropum it it a real digitze



'put this as the last line in your digitize macro
SetOEMLED(1400,0) 'tell macropum it it a real digitze is done


the the code for macropump

Code: [Select]
If ((GetOEMLED(1400) = False) and (GetOEMLed(825) = True)) Then
   MSGBox ("Probe hit during cut")
   DoOEMButton(1003) 'Stop machine
End If

something like this should work, code not tested, just written down


972
German / Re: Probleme mit PWM
« on: April 10, 2020, 02:22:15 PM »
das ganze Enable Zeug spielt da auch noch mit.

poste mal bitte Deine XML Datei.

973
German / Re: Probleme mit PWM
« on: April 10, 2020, 02:07:55 PM »
irgendwie finde ich kein Handbuch zu der SRS 1X06 ?

bei allen Beschreibungen zum ESS finde ich immer, das Pin17 Charge pump ist?

was ist bei Dir bei Ports&Pins Outputs bei Charge pump eingetragen?

974
German / Re: Probleme mit PWM
« on: April 10, 2020, 07:03:45 AM »
Servus,
hast Du das hier (Bereich Spindle Setup):
https://warp9td.com/index.php/gettingstarted/setting-up-the-smoothstepper-and-mach#Spindle

schon mal durchprobiert. Benutze selber kein PWM.

Gruß

975
General Mach Discussion / Re: Unable to reset
« on: April 04, 2020, 03:09:39 AM »
you have to check your e-stop Input.

976
FAQs / Re: Probing from the same place
« on: April 04, 2020, 03:07:35 AM »
if have cleared up the code a Little bit and made some safety checks

Code: [Select]
Sub Main()
Dim Zprobe, Zretract, ZfeedRate
Dim PlateX, PlateY

'Note: TouchPlateHeight represents the actual height of the
' Auto Z Touch Plate from the work surface.
' Minor adjustments can be made for calibration purposes (use caution)

'set all parameters in metric
TouchPlateHeight = 30                                                                         
Zprobe = -50
Zretract = 20
ZfeedRate = 10
PlateX = 10                                   
PlateY = 10                                 

Message( "Auto Tool Zeroing..." )



'check probe allready active
If GetOEMLed(825) Then
MSGBox "Probe allready activ",vbOK + vbCritical ,"Fault !"
DoButton(21)
End
End If

' go to probe position
Code "G53 G0 X" & PlateX & " Y" & PlateY

'clear z-pos
Call SetDRO( 2, 0.00 )

'do the probing
code "G31 Z" & Zprobe & " F" & ZfeedRate
While IsMoving()
Wend

'test for max trave
If GetVar(2002) <= Zprobe + 0.5 Then
MsgBox "no probe hit!",vbOK + vbCritical ,"Fault !"
End
Else
'move to contact point due overrun
Code "G90 G0 Z" &GetVar(2002)
While IsMoving()
Wend
'set z axis height
Call SetDRO( 2, TouchPlateHeight )
'go to retract position
code "G1 Z" & Zretract & "F20"
End If
'clear status line
Message " "
End Sub

it is not tested, just written down.

but i think in your case it will not do what you want to do, but you can test it and see.

this code will set the z-axis Zero allways to the top of your measuring knob, but i guess you want
to set it to your actual workpiece surface.




977
FAQs / Re: Probing from the same place
« on: April 03, 2020, 09:28:55 AM »
to do this your machine will Need home Switches, so that it can be referenced, because a fixed Position will allways be
in machine coords.the rest is easy.

978
the Mayor Problem is to get all those different wires and calbes onto this 25pole Sub D connector.

i have used on all my machines those Interface modules.

then you can use a Standard 25pole cable from controler to the module and connect at the Interface
module all your different single wires cables and so on.

979
if you have a quick look to the dyn4 Manual it says clearly that all Input signals are isolated.
also the example wiring diagram of the analog Input Shows nothing to connect AIN- to somewhere else
as the analog out ground of the source.

so why are you trying to create Problems ?

980
i would prefer to run AIN- and AIN+ directly via 2 wire shielded / twisted cable to the Motion Controller and
put shield on Motion Controller side to GND. the analog Input of your dmn dyn4 is isolated so do not connect
AIN- to Signal ground bus.