Hello Guest it is April 18, 2024, 07:53:24 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

371
have a quick look to the Manual:

https://www.machsupport.com/wp-content/uploads/2013/02/Mach3Mill_1.84.pdf

chapter 7.1 to see how the coordinate System is, but remember, directions are allways
tool related to material.

X+ tool moves right (table left)
Y+ tool moves backwards (table to the front)

372
in your sample code:

Code: [Select]
N10
N11 M6 T1
N15
N20 G0 Y100
N35 G0 X100
N40 M3
N50 M811
N55 G1 Z+60 F500
N66 Z100
N77 M911
N78
N88
N89 M6 T3
N90 M3
N91 M813
N93 G1 Z+60 F500
N96 Z+100
N97 M913
N98 M5
N99 G92.1
N100 G1 X-340.0 Y-40 Z100 F3500
N200 M30

you what to do two drill's at X100 Y100 first with tool1 second with tool3.
the coordinate offset for the Tools is done in M6.

therefore you must do a new move with X and Y after you call M6 for tool3.

Code: [Select]
N10
N11 M6 T1
N15
N20 G0 Y100
N35 G0 X100
N40 M3
N50 M811
N55 G1 Z+60 F500
N66 Z100
N77 M911
N78
N88
N89 M6 T3
N90
N91 G0 Y100
N92 G0 X100
N93
N94 M3
N95 M813
N96 G1 Z+60 F500
N97 Z+100
N98 M913
N99 M5
N100 G92.1
N101 G1 X-340.0 Y-40 Z100 F3500
N200 M30

373
Looks like your x-axis is reversed

Config -> Ports&Pins -> Motor Output's -> X-Axis -> Dir Low Active

374
German / Re: Mach 3 Handrad
« on: May 17, 2021, 01:14:50 AM »
Hallo,
ohne etwas Informationen über Seine Verdrahtung und Konfiguration, ist es schwierig hier zu helfen.

Gruß Tom

375
German / Re: Mach4 Drehen eCAM
« on: May 16, 2021, 06:17:09 AM »
Ich habe keine funktionierenden PP, ja das liegt an dem Werkzeugwechsel Code

G0 T101101

ich würde mal versuchen im PP die folgende Zeile anzupassen:

<Template_InitOperation_With_Toolchange>{EMPTY_LINE} {LINE_N} {ORIGIN} ({OP_DESC}) {COOLANT_CODE} {FEED_MODE}G18 G48S{REV_LIMIT_VALUE} ({TOOL_LABEL}) G0T{TOOL_POS}{TOOL_COR} {SPEED_MODE}S{SPEED_VALUE}{SPINDLE_ORIENTATION}</Template_InitOperation_With_Toolchange>

speziell diesen Teil:

G0T{TOOL_POS}{TOOL_COR} {SPEED_MODE}

würde ich Mal so probieren:

G0T{TOOL_POS}


376
General Mach Discussion / Re: Mach 3: Programmatic change to config
« on: May 14, 2021, 11:27:53 AM »
IMHO a lot of People do rigid tapping with 1 pulse/rev, i never tryed because my CSLab controller's do tapping only with
Encoder module. try and error will e the only way to figure out.

377
General Mach Discussion / Re: Mach 3: Programmatic change to config
« on: May 14, 2021, 10:34:49 AM »
if you what to use tapping cycle (G84) you must have a spindle index Signal, does not matter wether spindle
in in Step/dir or analog mode.

378
CVI MachStdMill (MSM) / Re: Errratic motion / lost steps
« on: May 14, 2021, 02:01:39 AM »
have you tryed to run the Programm without spindle ON in the air?

379
i have tested this here, and it works:

'start code ------------------------------------------------------------------------
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
'end code ------------------------------------------------------------------------





380
General Mach Discussion / Re: Mach 3: Programmatic change to config
« on: May 13, 2021, 02:19:37 AM »
depending on your Motion Controller you can run your spindle in step/dir mode as well.
also the servo Controller supports a PZ+/PZ- Signal witch is a single pulse per rev. that can
be used for a index Input. i use this signals on my machines for indexed homing on the Motion axes.