Hello Guest it is May 11, 2021, 04:10:17 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

2091
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

2092
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

2093
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

2094
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

2095
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

2096
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

2097
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

2098
Brains Development / Re: Brain to trigger home or probe input
« on: October 15, 2014, 09:31:57 AM »
Hi Pierre,

had the same problem with a Y axis driven by two motors.
i put a relay to each home limit switch.

a NC contact of the relay disabled the pulse signal off the motor driver.

i put also a relay to the direction signal of the axis , NO contacts of this relay
linked the NC contact of the limit switch relay.

then i put a NO contact of each limit switch relay in a row to the limit switch input.

worked perfect, i hope you can onderstood what i mean in my bad english.

Thomas

2099
General Mach Discussion / Re: Spindle requires two inputs for control
« on: October 15, 2014, 04:03:02 AM »
configure
Output#1 for CW
Output#2 for CCW

then connect two relays to the outputs

Relay 1 CW
Relay 2 CCW

Relay 1 one NO contact to ON/OFF
Relay 2 one NO contact to ON/OFF (parallel to Relay 1) and an other NO contact to the direction input.

Thomas

2100
German / Re: Not-Aus ohne Funktion in Mach3, Step-3D
« on: September 19, 2014, 02:47:23 AM »
Hallo,

ich kenne leider die Step-3D karte nicht, wenn ich mir aber die Belegung anschaue:

Schnittstellenbelegung (gültig für D-Sub 25 Stecker)
Pin Norm-Bezeichnung Software Signal
1 Strobe Spindel
2 Data Bit 0 Richtung X
3 Data Bit 1 Takt X
4 Data Bit 2 Richtung Y
5 Data Bit 3 Takt Y
6 Data Bit 4 Richtung Z
7 Data Bit 5 Takt Z
8 Data Bit 6 frei (optional Richtung C)
9 Data Bit 7 frei (optional Takt C)
10 Acknowledge End/Referenz Z
11 Busy Enable
12 Paper Out End/Referenz Y
13 Select End/Referenz X
14 Autofeed Kühlmittel
15 Error frei (opt. End/Referenz C)
16 Reset Boost
17 Select Sleep (low aktiv)
18-25 GND GND

wird das Not-Aus Signal, welches Due warscheinlich hier aufgelegt hast:

Pin HD-2X5 Pin 9 gegen Masse

so wird dieses gar nicht auf die Paralelle Schnittstelle weitergegeben,
und somit kann Mach3 dieses Signal nicht auswerten.

Die einzige Möglichkeit, die ich auf die schnelle sehe ist,
den Pin 9 mit Pin 7 zu brücken (insofern die 4.Achse nicht benutzt wird)
und dann den

15 Error frei (opt. End/Referenz C)

Eingang für den Not-Aus zu benutzen.


Gruß Thomas