How to modify the pin of joint.0.free-pos-cmd?

More
3 years 11 months ago #256340 by 961377074@qq.com
  • How to modify the pin of joint.0.free-pos-cmd? My purpose is to control motor movement only by modifying the pin

Please Log in to join the conversation.

More
3 years 11 months ago #256391 by HansU
This is an output, you cannot modify that pin.

Please Log in to join the conversation.

More
3 years 11 months ago #256397 by 961377074@qq.com
I will modify the linuxcnc source code, and build, to change the pin to IO type, my setp still can't change, my purpose is to just set the pin to make the electric power.

Please Log in to join the conversation.

More
3 years 11 months ago #256398 by 961377074@qq.com
Hello, can we make friends and communicate with each other to learn linuxcnc? I come from China, do you have the contact information

Please Log in to join the conversation.

More
3 years 11 months ago #256411 by tommylight
Another factory, nice.
There are plenty of pins you can use to do pretty much everything with LinuxCNC so no need to go that deep.
There are digital and analog inputs and outputs for use inside LinuxCNC and the same can be used for controlling other stuff, like a motor.
Open hal show, on the left side you have all the active pins.
It is hard to help you when you do not give us more info.

Please Log in to join the conversation.

More
3 years 10 months ago #259018 by Todd Zuercher

  • How to modify the pin of joint.0.free-pos-cmd? My purpose is to control motor movement only by modifying the pin

Not knowing the exact purpose you are after, I think hal pin you probably should be using would be the input pin "joint.N.posthome-cmd" (where N=the joint number).

(how ever that pin is only exposed on extra joints not assigned to an axis.)

Please Log in to join the conversation.

Time to create page: 2.237 seconds
Powered by Kunena Forum