Hello Guest it is November 26, 2020, 04:29:46 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: 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

General Mach Discussion / Re: bitsensor usb controller
« on: December 24, 2018, 04:55:48 AM »
try to ZIP it

General Mach Discussion / Re: Mach3 Turn with Screen 4
« on: December 22, 2018, 11:39:08 AM »
should be OEMDro(3)

ok sounds like you have all 'basic' tests allready done.
maybe you can give me some more detailed Information about your wiring,
just  to confirm. (ok i know that is "i know every better mode")
all that sounds like a grounding (0V) Problem.


for a test would be good to connect a potentiometer (10k) to tha analog Input
and measure the voltage there.

no sure i foud the right Manual, but the one i found is talking about a
analog Input select Switch for 0-10V and 4-20mA.