Hello Guest it is April 23, 2024, 01:29:35 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

1091
General Mach Discussion / Re: Cannot get offsets to work in mach3
« on: December 29, 2019, 04:31:26 AM »
there has to be a G43H# (#=toolnumber) in your M6 macro.

1092
VB and the development of wizards / Re: macro to call g54 and g55, etc
« on: December 29, 2019, 04:25:07 AM »
you can use:

Code: [Select]
   DoOEMButton(252) 'disable Z-axis
   DoOEMButton(253) 'disable A-axis

a second call off OEMButtons will enable them again

to check wether thay are enabled/disabled you can use OEMLed's

Code: [Select]
  If GetOEMLed(88) Then
    MSGBox "Z-Axis is disabled"
  End If

  If NOT GetOEMLed(88) Then
    MSGBox "Z-Axis is enabled"
  End If

  If GetOEMLed(89) Then
    MSGBox "A-Axis is disabled"
  End If

  If NOT GetOEMLed(89) Then
    MSGBox "A-Axis is enabled"
  End If
 


1093
VB and the development of wizards / Re: macro to call g54 and g55, etc
« on: December 28, 2019, 03:04:37 AM »
witch toolchange macro depends on your Settings Config->General Config->Tool Change

if Stop spindle. Wait for cycle Start is selected M6Start.m1s will be excecute when M6 is called in GCode and M6End.M1s
will be started after pressing Cycles Start after Toolchange is fineshed.

if Auto Tool Changer is selected only M6Start.M1s will be exceuted.

in one of this macro you can do your own code, f.e.
Code: [Select]
        'get new tool number
newtool = GetSelectedTool()

       'select Offset by toolnumber
       If newtool = 1 then
           Code "G54"
       Else
           Code "G55"
       End If

1094
General Mach Discussion / Re: Mach3 macro
« on: December 24, 2019, 03:51:10 AM »
Config->General Config->Ignore M calls while loading

1095
for Output 6 try this:

Code: [Select]
If GetOEMLed(79) Then
    DeactivateSignal (OUTPUT6)
Else
    ActivateSignal (OUTPUT6)
End If

1096
I found a usb to parallel port adapter online and was wondering if this would work

no way

1097
there is no "clasic" set reset Signal in Brains (like in a PLC), but with some locic it will be the same.

1098
General Mach Discussion / Re: Nothing works, only the switches
« on: December 06, 2019, 08:47:15 AM »
usually those boards are using one pin for an enable Signal.
is there no way to figure out the configuration of WinPC CNC ?

1099
General Mach Discussion / Re: Nothing works, only the switches
« on: December 01, 2019, 01:10:14 PM »
how is your Controller connected to the PC (PP or USB)
some Picture might help.

1100
General Mach Discussion / Re: Nothing works, only the switches
« on: November 30, 2019, 12:29:36 PM »
how did you configure your axis in Ports&Pins?