Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: cemal on October 17, 2011, 04:17:19 PM
-
Good morning,
For my dot peen engraving applicationi use M10p1 and m11p1 commands to turn on and off the marking head.
Is it possible to have the output of M11p1 as pulses that i can set the frequence(100 hz.)
(I use m10 and m11 instead of M3 and 5 because they react faster)
Cemal
-
Have you looked at the impact engraving plugin? May not be what you want but thought I would mention anyway.
Hood
-
Cemal,
To add to Hood's post....
If you think that the impact engraving plugin would be of use to you then this thread may be of interest.
http://www.machsupport.com/forum/index.php/topic,16446.0.html
Tweakie.
-
Hi,
I tried to write a macro such:
begin:
activate (output1)
sleep 5
deactivate(output1)
sleep 5
goto begin
That make it work(i saw the led blinking), but was not be able to stop it with an other macro
Any suggestions?
Thanks
-
The two macros are running in different threads which is why you can't stop one from the other. Try putting it in a while loop that looks at an input or an LED. For instance, set up a button that turns on an LED. While the LED is active, run your engraver code. Put the code in a macro pump.