- Posts: 23
- Thank you received: 0
add + sign with axes XYZ and runtime in program
First of all sorry ,if I am wrong.
I am new to LinuxCNC , don't know much about it.
But the issue I faced is how to add + sign with axes while they are not in negative position
Also how to add run time to the auto mode, so that every time I get the time consumed by job.
Third one , how to save values of XYZ to a file so that if i stopped the program , i can continue from that point, something like that helps much. I haven't found anything regarding these issues . Kindly help me.
Thanks in advance
Sorry again
Have good time!
Please Log in to join the conversation.
(Also why I didn't see your post to approve it)
The solution to the + sign will be the same as the answer to questions about number of digits.
You need to change the format string in axis.py
I have suggested that a better way might be useful to the developers mailing list.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22012
- Thank you received: 4
Saving the last position is also possible,
forum.linuxcnc.org/forum/38-general-linu...n-between-runs#75946
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
There is a way to display the actual runtime of a file after each run, by using the time hal component and adding a virtual control panel (pyvcp or gladevcp)
linuxcnc.org/docs/html/man/man9/time.9.html
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22012
- Thank you received: 4
Please Log in to join the conversation.
tommylight wrote: Also the time for completing a job is already there under File>Properties>Run time, there you have the total FEED time, so it does not count for rapid movements.
Saving the last position is also possible,
forum.linuxcnc.org/forum/38-general-linu...n-between-runs#75946
didn't get where to add this (see the attachment) ?
tired a little , guessed from your old post
forum.linuxcnc.org/forum/38-general-linu...rdinate-system#77930
, but to which version does it support? does it work on emc2 ?
also it can only help me find the values before homing ?
but it can't work for auto mode resume running condition
Please Log in to join the conversation.
forum.linuxcnc.org/forum/38-general-linu...and-le-failing#62572
Is a link to a similar problem.
You need to edit the format string to suit.
% 6.3f means "floating point, pad with spaces, 6 digits, 3 decimals"
% +6.3f" means "add a + or - symbol
Sorry for the bad lead on axis,py, it's glcanon.py.
/usr/lib/pymodules/python2.7/rs274/glcanon.py
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22012
- Thank you received: 4
Please Log in to join the conversation.
anyhow i tired to change 9.3f to +9.3f ( seen that from an old post)
BUT
can't save the file, thinking stuck near the end
andypugh wrote: I am sure I composed a longer and more compete answer when back at a keyboard, but I don't see it here.
forum.linuxcnc.org/forum/38-general-linu...and-le-failing#62572
Is a link to a similar problem.
You need to edit the format string to suit.
% 6.3f means "floating point, pad with spaces, 6 digits, 3 decimals"
% +6.3f" means "add a + or - symbol
Sorry for the bad lead on axis,py, it's glcanon.py.
/usr/lib/pymodules/python2.7/rs274/glcanon.py
Please Log in to join the conversation.
So, either start the editor from the command line with something like
Or, if you already saved it to the desktop
Please Log in to join the conversation.
