Remap S word

More
10 years 3 months ago #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 to join the conversation.

More
10 years 3 months ago #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

Please Log in to join the conversation.

  • mhaberler
  • New Member
  • New Member
More
10 years 3 months ago #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

Please Log in to join the conversation.

More
10 years 3 months ago #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 to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum