Hello Guest it is May 04, 2024, 07:29:00 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

461
General Mach Discussion / Re: Mach 3: Programmatic change to config
« on: March 19, 2021, 01:33:25 PM »
you can try to Play with:

Code: [Select]

  SetProbeActive(bool) // turns the probe ON or off, 1 for on, 0 for off
  SetProbeState(bool) // sets the low-active on or off, 1 for on, 0 for off


never tested thse functions.

462
General Mach Discussion / Re: Mach 3 no communication with CNC machine
« on: March 19, 2021, 01:28:23 PM »
parallel port will only run with Win7 32Bit or older.
all newer require a external Motion Controller, not just simple usb to parallel Adapter. 

463
Code: [Select]
Sub Main()
Code "G31 Z-150 F300.0"
While IsMoving()
WEnd
Sleep(200)
SetOEMDro(802, -3.4)
Sleep(200)
Code "G00 Z3.0000"
While IsMoving()
Wend
End Sub

--open Operator -> VB Script Editor
--copy and paste the code into Editor window
--with the >|| button you can run the script line by line (single step) and see what is happening

464
can you pls post the script you are using? in original there is no msgbox instruction.

465
General Mach Discussion / Re: Limit swiches
« on: March 19, 2021, 02:10:05 AM »
Setting page -> override limits

466
use the Tab Key and then Switch to continious mode.

467
Config -> Ports&Pins -> Turn Options -> X-Mode may help?

468
General Mach Discussion / Re: Probing accuracy measurements
« on: March 13, 2021, 04:54:31 AM »
think a easy way would be to write machine coord's int a file (directly after probing code) like:

Code: [Select]

Open "C:\Mach3\probecoords.txt" For Append As #1 ' Open to write file.

'write machine coord's
Write #1,"X: " & GetOEMDro(83) & " Y: " & GetOEMDro(84) & " Z: " & GetOEMDro(85)

Close #1




469
General Mach Discussion / Re: circles not round
« on: March 13, 2021, 02:25:16 AM »
IMHO you should find the reason first, before putting weird numbers into backslash compendation.
it is not only on circles, your first Picture Shows, that the rectangle is also not closed at the lower
right Corner. it Looks like the same amount like at the circle.

470
General Mach Discussion / Re: How to Sett Tool #1 on Startup in Mach3
« on: March 11, 2021, 06:21:30 AM »
a:
Code: [Select]
  SetOEMDro(824,1)

should set everything.

can also set in Config -> General Config -> ToolDro persistent