Hello Guest it is November 20, 2019, 01:15:10 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

General Mach Discussion / Re: set z-zero
« on: December 31, 2018, 03:04:20 AM »
Show us your script to set the TOP left Corner,
and we will find a solution to modify for the Bottom left Corner.

FAQs / Re: Help with table coordinates.
« on: December 30, 2018, 12:22:45 PM »
i am sorry to turn the "i kwow soemthing better mode" on  ;)

but depending on your Picture "what is front",
your X and Y is swapped.

the same old rule:

Point of view

and Y+ upwards.

have a look (next try):


Requests have been made to have the search function fixed and Artsoft knows about the problem.
It IS concerning that they don't even give a response.

Dear Brian,

When Artsoft does not reply on a major issue, it makes users  feel like the business is starting to forget who the customer is,
we would appreciate it, if you could just spend a minute or two with a response.

::) ::) ::)

FAQs / Re: Help with table coordinates.
« on: December 30, 2018, 07:14:25 AM »
that is not "normal",

because all drawings have this orientation


so you allways have to "rotate" in your head.

FAQs / Re: Help with table coordinates.
« on: December 30, 2018, 07:03:19 AM »
if the left side off your Picture is the front side of your machine,
then y is backward, and z as well.

FAQs / Re: Help with table coordinates.
« on: December 30, 2018, 04:52:16 AM »
not realy, normal it you are in front of your table:

x to the right is positive
y forward is positive
z up is positive

have a look (describes the right Hand rule):


General Mach Discussion / Re: Mach3 plasma + THC 150 issue
« on: December 27, 2018, 11:36:08 AM »
can you pls post your GCode ?

General Mach Discussion / Re: Is this a "look ahead" problem?
« on: December 26, 2018, 04:22:20 AM »
are you running Constant Velocity or Exact Stop mode?

to call a macro within a macro is a nogo in Mach3, i think it is written somewhere in the documantation.

a good alternative is to us the #expand instruction of cypress.

for example create a file mylibary.m1s in your macro Folder, put some code (Sub's or function's) in:

Code: [Select]
Public Sub DoThis()
MsgBox "Sub DoThis was called"
End Sub

Public Sub DoThat(ByVal X as Long,ByVal Y as Long)
MsgBox "Sub DoThat was called with parameter X: " + CStr(X) +" parameter Y. " + CStr(Y)
End Sub
Public Function DoThiswithreturn (ByVal X As Integer) As Boolean
If X > 100 Then
DoThiswithreturn = true
DoThiswithreturn = false
End If
End Function  

put at the end of your macro witch whants to use this routines this:

#Expand <\..\..\macros\Mach3Mill\mylibary>

sample for macro would be:

Code: [Select]
Sub Main
Dim RetValue As Boolean


DoThat 1,2

RetValue = DoThiswithreturn(50)
MsgBox RetValue

RetValue = DoThiswithreturn(150)
MsgBox RetValue
End Sub

#Expand <\..\..\macros\Mach3Mill\mylibary>  

you can use this exand in all macros witch whant to use the same routines.

General Mach Discussion / Re: bitsensor usb controller
« on: December 24, 2018, 05:01:33 AM »
Looks good,
now a small description how to set it up, and then it is perfect.
Thank You Toni