Hello Guest it is October 26, 2021, 04:48:01 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 - TPS

2161
G-Code, CAD, and CAM discussions / Re: Cut Arc Problem
« on: October 23, 2014, 04:14:22 PM »
Hello,

where is the problem off the metric system (the one and only),
be happy that your machine is metric.

Thomas

2162
General Mach Discussion / Re: Problem zeroing all axis.
« on: October 22, 2014, 03:18:43 AM »
Hello,

the answer is displayed in your status lin on the botom of the screen.

the limit switch for home Y axis is allready triggered.

possibility 1: make it free by moving in manual
possibilty 2. config -> general config -> disable home sw. safety

Thomas

2163
G-Code, CAD, and CAM discussions / Re: GetVar(2002)
« on: October 21, 2014, 09:49:36 AM »
You usually don't need to convert to a string to put something in a messagebox.

you are right with the example above.

but only in this case:
Test = 1234.5
MsgBox Test

not in this case:
Test = 1234.5
MsgBox "Test = " + CStr(Test)

Thomas


2164
General Mach Discussion / Re: Issues with pausing and resuming
« on: October 21, 2014, 09:40:14 AM »
An Arduino and grbl is not in the same league as Mach3 and the others I mentioned. Not even close.

Gerry you are a 100% right, but
striplar was only asking: "All I need is for it to execute G1 F# S# and M03, that's all I use"

that was the trigger for grbl and Arduino.

Thomas

2165
G-Code, CAD, and CAM discussions / Re: GetVar(2002)
« on: October 21, 2014, 05:54:25 AM »
Hi,

cstr converts numbers to string, because msgbox can only display string.
look here: http://www.machsupport.com/help-learning/product-manuals/

for vb script manuals

2166
General Mach Discussion / Re: Issues with pausing and resuming
« on: October 21, 2014, 03:17:38 AM »
Quote
There's a big gap in the market for someone to produce a nice simple Windows based system without all the junk and clutter of the Mach3 bloatware.
Planet CNC and Eding CNC

grbl arduino

2167
G-Code, CAD, and CAM discussions / Re: GetVar(2002)
« on: October 21, 2014, 02:59:22 AM »
hope you are putting the value into MSGbox like this:

MsgBox cstr(ZProbePos)

should work. i do it in the same way.

regards Thomas

2168
VB and the development of wizards / Re: Ref All Axes - All at same time?
« on: October 20, 2014, 03:55:27 AM »
try this code, had a simular thing couple of weeks ago:



RefCombination(7)

Sleep(300)
While ((GetOemLed(807) = true) Or (GetOemLed(808) = true) Or (GetOemLed(809) = true))
   Sleep(50)
Wend

SetParam("XRefPer", GetParam("XRefPer")/10)
SetParam("YRefPer", GetParam("YRefPer")/10)
SetParam("ZRefPer", GetParam("ZRefPer")/10)

RefCombination(7)

Sleep(300)
While ((GetOemLed(807) = true) Or (GetOemLed(808) = true) Or (GetOemLed(809) = true))
   Sleep(50)
Wend

SetParam("XRefPer", GetParam("XRefPer")*10)
SetParam("YRefPer", GetParam("YRefPer")*10)
SetParam("ZRefPer", GetParam("ZRefPer")*10)



Thomas

2169
General Mach Discussion / Re: Spindle requires two inputs for control
« on: October 16, 2014, 04:15:28 AM »
Hi Llaves,

there is also a non hardware way.
go to configuration -> ports and pins -> spindle and disable the relay option.
go to your macro folder depending on your profile you are using

open M3.M1S (CW spindle on)
add:
ActivateSignal(OUTPUT1) ‘ Turn on spindle enable

open M4.M1S (CCW spindle on)
add:
ActivateSignal(OUTPUT1) ‘ Turn on spindle enable
ActivateSignal(OUTPUT2) ‘ Turn on spindle direction

open M5.M1S (spindle off)
add:
DeactivateSignal(OUTPUT1) ‘ Turn off spindle enable
DeactivateSignal(OUTPUT2) ‘ Turn off spindle direction

Regards Thomas

2170
Brains Development / Re: Brain to trigger home or probe input
« on: October 16, 2014, 04:02:51 AM »
Hi Pierre,

for my mind, if can not choose the hardware solution to stop the particular motors,
all other ways (brains VB or what ever) will be to slow for a homing sequence.

to use A B C and Z axis might be a way, because they have their own reference switch input,
but to talk about this i know too less of your machine.

a simple or logic might be not the wright way if you want too 'allign' the 4 motors with the
4 limit switches.

in my hardware solution the individual motor was stopped by his own limit switch and after all
limit switches are hit the homing continues with the slow move to go off the switches.

if you whish i can do a drawing and post.


Regards Thomas