Remap S word

More
13 Jul 2016 14:27 #77400 by emcPT
Remap S word was created by emcPT
Hello,

I know the basics to remap commands but I and struggling to pass the argument of the spindle speed while remapping the S word.

While other commands have arguments like G74 X.... the S word does not have a argument starting by a letter, rather the S command itself. This way I do not know how to pass the spindle speed as a argument to make my remap based on it.

Thank you

Please Log in or Create an account to join the conversation.

More
14 Jul 2016 03:14 #77425 by cmorley
Replied by cmorley on topic Remap S word
If you don't get an answer..try asking Michael H in machinekit.
He wrote the remapping code.
But let him know you are using linuxcnc.

Chris M
The following user(s) said Thank You: emcPT

Please Log in or Create an account to join the conversation.

More
14 Jul 2016 22:26 #77467 by mhaberler
Replied by mhaberler on topic Remap S word
have a look at the example here: git.linuxcnc.org/gitweb?p=linuxcnc.git;a...44f767c813977a3fb6de

- Michael
The following user(s) said Thank You: emcPT

Please Log in or Create an account to join the conversation.

More
15 Jul 2016 06:22 #77476 by emcPT
Replied by emcPT on topic Remap S word
Thank you,
I totally missed the concept of prolog and epilog!

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum