Computing Distance to go for each axis
14 Jan 2017 05:27 #85725
by an92626
Computing Distance to go for each axis was created by an92626
I would like to compute the distance to go as a function of each axis. The display in AXIS lists values for DTG for each axis so the data must be available. I did find the pin motion.distance-to-go, but that value is a composite value of all axises, where I want to get the values for each indiviidual axis.
Anyone know where this information is within linuxcnc and how does the AXIS interface get it? I have not checked, but I would guess that the other interfaces are able to access the individual DTG components.
Anyone know where this information is within linuxcnc and how does the AXIS interface get it? I have not checked, but I would guess that the other interfaces are able to access the individual DTG components.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5008
- Thank you received: 1441
14 Jan 2017 14:08 #85747
by Todd Zuercher
Replied by Todd Zuercher on topic Computing Distance to go for each axis
The gui reads it from Linuxcnc.stat. You can read about it a bit here.
linuxcnc.org/lucid/docs/2.6/html/common/python-interface.html
There are probably more info in other programming notes, but that link was the first thing google popped up.
linuxcnc.org/lucid/docs/2.6/html/common/python-interface.html
There are probably more info in other programming notes, but that link was the first thing google popped up.
Please Log in or Create an account to join the conversation.
Time to create page: 0.095 seconds