- Posts: 84
- Thank you received: 0
Near
8 years 7 months ago #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 component
then add it to a thread so that it gets updated every servo cycle
Then connect the inputs and outputs
and 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
Code:
loadrt near count=1
Code:
addf near.0 servo-thread
Code:
net some_signal_name one.of-the.hal.pins near.0.in
net another_signal_name near.0.out another.hal.pin
Code:
setp near.0.in2 100
setp near.0.difference 1
The comparison value can be supplied by another HAL pin if required.
Please Log in to join the conversation.
8 years 7 months ago #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 to join the conversation.
8 years 7 months ago #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:
Code:
$ man near
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
8 years 7 months ago #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 to join the conversation.
Time to create page: 0.089 seconds
