Hello Guest it is April 27, 2024, 08:41:55 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

2341
VB and the development of wizards / Re: Tangential spindle
« on: April 17, 2015, 06:04:57 AM »
changed getdro(18) to getdro(13)

sorry wrong dro

2342
VB and the development of wizards / Re: Tangential spindle
« on: April 17, 2015, 05:58:25 AM »
Hi Damir,

makes it a little bit clearer
put this in macropump:


act_feedrate=GetDro(13)

If (act_feedrate<3500) and (GetLed(4)=True) Then
  If Not IsActive(Input1) Then
    DoSpinCW()
  End if  
End If

  If IsActive(Input1) Then
    DoSpinStop()
  End if  


what i try to do with this:

act_feedrate=GetDro(13)
If (act_feedrate<3500) and (GetLed(4)=True) Then

is to the check the atual feedrate the 3500 must be lower than your G0 feedrate and
higher than your max G1.
try to use this to seperate between G0 and G1.

the GetLed(4)=True is to check that a g-code programm ist started.



Thomas

2343
VB and the development of wizards / Re: Tangential spindle
« on: April 17, 2015, 05:05:09 AM »
Hello,

--Could we use M code in the G-code to activate the script, for example M3 activate script, M5 deactivate script (or we can create some other M code),
--because we are in the script from before had a problem because she started immediately as soon as start Mach3?
--thanks
--Damir

please try to explane what is the real clue behind this fuctionality,
because for the moment i am not that i understand 100% the thing.

maybe a snipped of your g-code wold help.



Thomas  





2344
VB and the development of wizards / Re: Tangential spindle
« on: April 16, 2015, 02:41:03 PM »
Ok seems not to be so easy,

act_feedrate=GetDro(18)

If (act_feedrate<1500) and (GetLed(4)=1) Then
  If Not IsActive(Input1) Then
    DoSpinCW()
  End if 
End If

  If IsActive(Input1) Then
    DoSpinStop()
  End if 


Thomas

2345
VB and the development of wizards / Re: Tangential spindle
« on: April 16, 2015, 06:37:36 AM »
Hi,

something like this might work:

act_feedrate=GetDro(18)

If (act_feedrate<1500) and (GetLed(4)=1) Then
  If Not IsActive(Input1) Then
    DoSpinCW()
  End if 
  If IsActive(Input1) Then
    DoSpinStop()
  End if 
End If

Thomas


2346
VB and the development of wizards / Re: Tangential spindle
« on: April 16, 2015, 03:07:39 AM »
Hi,

macropump can help:

If IsActive(Input1) Then
  DoSpinStop()
End If

Thomas

2347
General Mach Discussion / Re: axis move wrong in mach 3
« on: April 15, 2015, 03:38:40 AM »
Hi,

i think it is based on your step resolution (but dont know 100%)

320 steps per mm means a resolution of 0,003125mm

Mach can only do one step, so if i does one step more:

0,0094 + 0,003125 = 0,012525 or in the other way

a move of 0.01 would be 3.2 steps

0,250 would be 8 step's and so on.

Thomas

2348
Modbus / Re: My experiments with Mach3 ModBus and Arduino, Part I
« on: April 13, 2015, 02:29:25 AM »
Hi, aluplastvz

quote from the first post:
Equipment:
1. Arduino board (I using Arduino Duemilanove but you can use any other Arduino board)
2. PC with Windows XP and Mach3 because software who I using for monitoring ModBus communication no support new versions Windows.
3. Software's
  - Arduino IDE

i do not have any code, and i am not a Arduino guy.

Thomas

2349
Modbus / Re: My experiments with Mach3 ModBus and Arduino, Part I
« on: April 12, 2015, 05:39:24 AM »
how to increase the number of inputs

just use an other Arduino for example Mega2560 has 54 digital input/output pins .

2350
General Mach Discussion / Re: ative low or active high??
« on: April 12, 2015, 05:34:18 AM »