- Thank you received: 0
How to start multiple limit3 instances, syntax question
- cogzoid
- Topic Author
- New Member
-
Less
More
7 years 9 months ago #123560
by cogzoid
How to start multiple limit3 instances, syntax question was created by cogzoid
For my project I'm going to need multiple limit3 instances to add to the thread, and each limit3 will control a different axis.
Here's how I got one to work:
However, I'm not sure how to add limit3.1, limit3.2, etc. Using more "addf" commands didn't work.
linuxcnc.org/docs/2.7/html/man/man9/limit3.9.html doesn't explain this very well.
I'm sure this is a simple syntax fix, but I'm not sure where to look up the answer.
Here's how I got one to work:
Code:
loadrt limit3
addf limit3.0 servo-thread
However, I'm not sure how to add limit3.1, limit3.2, etc. Using more "addf" commands didn't work.
linuxcnc.org/docs/2.7/html/man/man9/limit3.9.html doesn't explain this very well.
I'm sure this is a simple syntax fix, but I'm not sure where to look up the answer.
Please Log in to join the conversation.
- islander261
- Offline
- Platinum Member
-
Less
More
- Posts: 757
- Thank you received: 0
7 years 9 months ago #123563
by islander261
Replied by islander261 on topic How to start multiple limit3 instances, syntax question
Use the count= or names= option on the loadrt line. I like the names options because it gives me a clue about the use of each instance.
loadrt limit3 count=3
addf limit3.0 servo-thread
...
or
loadrt limit3 names=limit3.xaxis,limit3.yaxis,limit3.zaxis
addf limit3.xaxis servo-thread
addf limit3.yaxis servo-thread
addf limit3.zaxis servo-thread
John
loadrt limit3 count=3
addf limit3.0 servo-thread
...
or
loadrt limit3 names=limit3.xaxis,limit3.yaxis,limit3.zaxis
addf limit3.xaxis servo-thread
addf limit3.yaxis servo-thread
addf limit3.zaxis servo-thread
John
Please Log in to join the conversation.
Time to create page: 0.085 seconds
