Hello Guest it is April 26, 2024, 09:23:28 PM

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 - Graham Waterworth

591
General Mach Discussion / Re: PDB issue Mach 3 ATC
« on: June 19, 2020, 08:06:31 AM »
Are you running Mach3 or Mach4 because you have files from both here M6Start.mcc is compiled Mach4 Lua and M131.m1s is Visual Basic from Mach3


592
It should be fine, the rating us usually the minimum requirement for reliable use, you could put a 3A fuse in line to the board to stop any faults cooking the board.


593
General Mach Discussion / Re: Mach3 gcode parameters
« on: June 17, 2020, 09:03:06 AM »
Mach3 has no loops jumps or ifs, Mach4 has full Macro support

594
Share Your GCode / Re: engraving on a pool cue ?
« on: June 16, 2020, 08:22:40 PM »
CNC Wrapper will put your flat code round a cylinder. Web site is saying not available right now so not sure what is going on with it.

595
I would guess the DXF files are in metric so your gode is 25.4 times size

596
G-Code, CAD, and CAM discussions / Re: Mach3 G54 to G55 issue
« on: June 12, 2020, 08:52:24 PM »
The only thing I can see is you have no M06 on tool 7 in the first profile.

Mach3 will not display the fixture offsets in the correct place due to a limitation in the way it works, the tool will be in the correct place just the graphics are messed up.


597
FAQs / Re: Tripping Limit Switches
« on: June 12, 2020, 08:37:25 PM »
If you have mechanical switched it could be you need to up the debounce in config. or it could be noise on the switch wires, they should be twisted pair shielded with the shield grounded at one end only.

Or it could be a loose connection that is triggered by the cutting resonance.

 

598
Mach4 General Discussion / Re: Spindle Brake Switch
« on: June 12, 2020, 11:49:30 AM »
Yes but with a double pole switch you can signal Mach that the switch is open and in the M3.m1s macro check the switch.

599
Mach4 General Discussion / Re: Spindle Brake Switch
« on: June 11, 2020, 08:39:28 PM »
The safest way is to wire the switch into the spindle run relay so it can not energise.

600
Mach4 General Discussion / Re: EMCO 6P CNC retrofit - M6 Issue
« on: June 11, 2020, 08:31:27 PM »
This is a Mach3 M6Start.m1s file for an Emco that I did some time back, you should be able to replace the relevant calls with Mach4 ones and I am sure we can help if you get stuck.

Code: [Select]
' Emco 8 station turret index
' Version 1.0.2
' (c) G. Waterworth 11/12/2007

Sub Main()
If IsLoading() then
  ' do nowt
Else
  OldTurretPos=(GetOEMDRO(824))   'current tool position
  NextTool=GetSelectedTool()      'tool to be indexed
 
  If OldTurretPos<>NextTool Then
    ' new tool required
    If NextTool<1 Or NextTool>8 Then 'valid tool check
      Message("Next Tool out of range")
      Exit Sub
    End If

    ActivateSignal(OUTPUT4)   'rotate Turret

    '=== Index Tool ===
    Select Case NextTool
Case 1
count=1
Case 2
count=3
Case 3
count=2
Case 4
count=6
Case 5
count=4
Case 6
count=12
Case 7
count=8
Case 8
  count=9
    End Select

    thistool=OldTurretPos

    While thistool<>count
      sensors=0
      While sensors=0
        if IsActive(OEMTRIG1) then sensors=sensors+1
        if IsActive(OEMTRIG2) then sensors=sensors+2
        if IsActive(OEMTRIG3) then sensors=sensors+4
        if IsActive(OEMTRIG4) then sensors=sensors+8
      Wend
      thistool=sensors
    Wend

    Code"G04 P50"
    While Ismoving()
    Wend
 
    DeActivateSignal(OUTPUT4) 'stop turret rotation
    SetCurrentTool(thistool)
  End If
End If
End Sub           

'The actual timings are:-
'
'opto 1 2 3 4
'pin 10 11 12 13
'value 1 2 4 8
'Tool 1 on off off off
'Tool 2 on on off off
'Tool 3 off on off off
'Tool 4 off on on off
'Tool 5 off off on off
'Tool 6 off off on on
'Tool 7 off off off   on
'Tool 8 on off off on