Hello Guest it is December 02, 2024, 12:37:41 PM

Author Topic: how to avoid T/M commands execution delay  (Read 13353 times)

0 Members and 1 Guest are viewing this topic.

Re: how to avoid T/M commands execution delay
« Reply #20 on: March 10, 2013, 04:42:55 PM »
the delay for the T word is 0.11 sec. here not 0.16 as i said before. ( 1000 toolchanges = 110 sec.)
So far i can see there is no other way to avoid these 0.11 sec.
( only  one second for 9 tool changes !)
I think you have to deal with the M3/M4/M5 delays.

Alex

Offline nik

*
  •  69 69
Re: how to avoid T/M commands execution delay
« Reply #21 on: March 10, 2013, 05:12:00 PM »
it look like these delays are varying because when only M8/9 used then delay is approx 0.15 sec on mine PC(you say 0.166 on your which is almost the same)
in real G code for 5 on/ff that mean 10 M commands the difference is 5 seconds, which mean 0.5 sec per M command
so I expect same differences with tool change and spindle on/off
I hope someone can help with the rest, until now the difference is good enough, it is worth

Offline nik

*
  •  69 69
Re: how to avoid T/M commands execution delay
« Reply #22 on: March 10, 2013, 08:00:07 PM »
I found option for tool change in the same way
I have not tested yet the delay but now looking for spindle
there is option for spindle on/off only
I cant change direction
is there any way to change spindle direction in brain?
thanks

Offline nik

*
  •  69 69
Re: how to avoid T/M commands execution delay
« Reply #23 on: March 11, 2013, 10:43:30 AM »
unfortunately tool change not working properly that way, I tried many different ways but I cant make it axis movement to change tools in brain
Re: how to avoid T/M commands execution delay
« Reply #24 on: March 11, 2013, 04:42:28 PM »
The same thing here.
You can link a brain to an output that switch a high speed relay whitch reverses the direction.
I think there are some relays on the market that switch in a millisecond.
i doent know if that is a save operation.
A better way is to choose your tools so that they use all the same direction.

just a thought

Alex

Offline nik

*
  •  69 69
Re: how to avoid T/M commands execution delay
« Reply #25 on: March 11, 2013, 07:13:46 PM »
hi
I dont need a relay, as I mentioned before my spindle is step/dir control
that mean I only need to change dir signal
unfortunately that dir signal cannot be changed without troubles, already tried
same spindle with same pins is set as A axis
still looking for solution for spindle and tool change
thanks

Offline nik

*
  •  69 69
Re: how to avoid T/M commands execution delay
« Reply #26 on: March 20, 2013, 06:48:29 PM »
just tried with G52 offset instead of change the tools, same delay
Re: how to avoid T/M commands execution delay
« Reply #27 on: January 21, 2014, 01:45:14 PM »
i'm trying to get a dro to count. below works
in editor but not in the file where i have M1001.
skips right over. i have the file saved in
C:\Mach3\macros\MyMill\M1001.m1s
can't understand why it works in editor but not
in the file.
Thanks

' counts M1001  resets M1002
DRO = GetUserDRO(1011)
SetUserDRO(1011 , (DRO + 1))
                     
Kenneth
Re: how to avoid T/M commands execution delay
« Reply #28 on: January 21, 2014, 03:01:45 PM »
i use M1002 to reset to zero. it works in editor and mdi.
and they're in the same location.
Thanks
Kenneth