Near
25 Mar 2018 23:49 - 26 Mar 2018 10:22 #107862
by andypugh
Terse is the word, isn't it?
linuxcnc.org/docs/2.7/html/man/man9/near.9.html
You need to load the componentthen add it to a thread so that it gets updated every servo cycleThen connect the inputs and outputsand set the tolerance and comparison value
The comparison value can be supplied by another HAL pin if required.
linuxcnc.org/docs/2.7/html/man/man9/near.9.html
You need to load the component
loadrt near count=1
addf near.0 servo-thread
net some_signal_name one.of-the.hal.pins near.0.in
net another_signal_name near.0.out another.hal.pin
setp near.0.in2 100
setp near.0.difference 1
The comparison value can be supplied by another HAL pin if required.
Last edit: 26 Mar 2018 10:22 by andypugh. Reason: formatting error
Please Log in or Create an account to join the conversation.
25 Mar 2018 23:52 #107863
by jensor
Thanks for that info. That does work however it is more convenient in my situation to be able to access it on line. Is that possible. My linux machine is on the bridgeport in my shop, while I'm sitting here in my kitchen on my laptop.
Is there a way of getting to this information online?
Is there a way of getting to this information online?
Please Log in or Create an account to join the conversation.
25 Mar 2018 23:55 - 25 Mar 2018 23:59 #107865
by dgarrett
Docs (current branch): linuxcnc.org/docs/2.7/html/
Scroll down for the man pages
Example: linuxcnc.org/docs/2.7/html/man/man9/near.9.html
On a machine with LinuxCNC installed, you can always use the command line:
Scroll down for the man pages
Example: linuxcnc.org/docs/2.7/html/man/man9/near.9.html
On a machine with LinuxCNC installed, you can always use the command line:
$ man near
Last edit: 25 Mar 2018 23:59 by dgarrett.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 4979
- Thank you received: 1377
26 Mar 2018 14:30 #107902
by Todd Zuercher
Replied by Todd Zuercher on topic Near
You don't need "man" in the google search "linuxcnc near" or 'linuxcnc near.9" are enough to bring up the man page as the first couple hits. (At least for me, but maybe Google knows me too well.)
Please Log in or Create an account to join the conversation.
Time to create page: 0.084 seconds