Hello
Guest
it is
May 13, 2025, 05:46:46 AM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
General Mach Discussion
/
output for smooth stepper
« previous
next »
Print
Pages:
«
1
2
3
4
5
»
Go Down
Author
Topic: output for smooth stepper (Read 37029 times)
0 Members and 1 Guest are viewing this topic.
learman
93
Re: output for smooth stepper
«
Reply #20 on:
February 18, 2009, 05:28:31 PM »
Yes P is the output being used but Brian didn't write these macros,, they are installed with mach3.
Could you write me a macro command to turn on an output #1 and to turn off an output #1 that the SS would understand. If it works I will modify my G codes. And hopefully understand better how macros are written and write some for the rest of the outputs
josh
Logged
Hood
25,835
Carnoustie, Scotland
Re: output for smooth stepper
«
Reply #21 on:
February 18, 2009, 05:37:20 PM »
Brian may well have written these and put them in the Mach install.
You can easily activate or deactivate an output via a macro but I would have thought if the PP is able to use them the SS should not have a problem, are you sure you have the outputs enabled?
If you want to write a macro you could have one for output 4 and name it M104.m1s and save it in the macro folder for the SS profile. What you would need in the macro is
ActivateSignal(OutPut4)
When you called M104 from code or MDI output 4 would switch on, you could then do the same to switch it off by making a macro called maybe M114.m1s and in that macro you would have
DeActivateSignal(OutPut4)
You can name the macros anything you want but under m100 is meant for Machs internal macros.
Hood
Logged
learman
93
Re: output for smooth stepper
«
Reply #22 on:
February 18, 2009, 05:45:41 PM »
The outputs are enabled and when i load machmill and use pp port everything works. Load mach Smooth stepper the signals for the motors and my inputs are all working but my outputs are ignored,, I will try your written macros tommarrow when i get back to the shop.. Ill post my results to let you know.
thanks for you help Hood, have a good night
josh
Logged
Hood
25,835
Carnoustie, Scotland
Re: output for smooth stepper
«
Reply #23 on:
February 18, 2009, 05:48:48 PM »
If I remember tomorrow I will give the M10/M11 macros a test on the mill and see if I can get them working.
Hood
Logged
learman
93
Re: output for smooth stepper
«
Reply #24 on:
February 18, 2009, 05:50:52 PM »
Awsome,, I may have found a bug in the ss
Logged
Hood
25,835
Carnoustie, Scotland
Re: output for smooth stepper
«
Reply #25 on:
February 18, 2009, 05:52:47 PM »
Logged
learman
93
Re: output for smooth stepper
«
Reply #26 on:
February 19, 2009, 08:41:06 AM »
Hood,,
I wrote 2 macro just as you described, named them M114 and M104 and sure enough my output turns on and off,, Thanks for your help. Pls post if you got your M11 and M10 comands to work on your Mill
thanks
Josh
Logged
Hood
25,835
Carnoustie, Scotland
Re: output for smooth stepper
«
Reply #27 on:
February 19, 2009, 03:11:10 PM »
I couldnt get M10/11 to work but possibly I am doing something wrong.
Could you attach the macro and xml of your parallel port setup and I will have a look and see if I can spot anything.
Hood
Logged
learman
93
Re: output for smooth stepper
«
Reply #28 on:
February 19, 2009, 03:21:56 PM »
I dont like looking like a fool but I dont now how to post My Macro file, sorry
I could email them to you if you like
josh
Logged
Hood
25,835
Carnoustie, Scotland
Re: output for smooth stepper
«
Reply #29 on:
February 19, 2009, 03:26:45 PM »
Have sent you a pm with my email address.
Hood
Logged
Print
Pages:
«
1
2
3
4
5
»
Go Up
« previous
next »