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

More
10 Nov 2022 10:05 #256340 by 961377074@qq.com
How to modify the pin of joint.0.free-pos-cmd? was created 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 or Create an account to join the conversation.

  • HansU
  • HansU's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
10 Nov 2022 21:55 #256391 by HansU
This is an output, you cannot modify that pin.

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

More
11 Nov 2022 02:40 #256397 by 961377074@qq.com
Replied by 961377074@qq.com on topic How to modify the pin of joint.0.free-pos-cmd?
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 or Create an account to join the conversation.

More
11 Nov 2022 02:43 #256398 by 961377074@qq.com
Replied by 961377074@qq.com on topic How to modify the pin of joint.0.free-pos-cmd?
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 or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
11 Nov 2022 10:49 #256411 by tommylight
Replied by tommylight on topic How to modify the pin of joint.0.free-pos-cmd?
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 or Create an account to join the conversation.

More
09 Dec 2022 17:38 - 09 Dec 2022 17:46 #259018 by Todd Zuercher
Replied by Todd Zuercher on topic How to modify the pin of joint.0.free-pos-cmd?

  • 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.)
Last edit: 09 Dec 2022 17:46 by Todd Zuercher.

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

Time to create page: 0.129 seconds
Powered by Kunena Forum