- Posts: 5
- Thank you received: 1
Run time calculation in g-code program properties
11 years 10 months ago #54452
by Tomasz_K
HI
Is there any progress in the development of a more accurate time calculation?
Tom
Replied by Tomasz_K on topic Re:Run time calculation in g-code program properties
BigJohnT wrote: It starts on line 1693 of / src/emc/usr_intf/axis/scripts/axis.py
LOL, at least I can find it...
Dunno if this line is a clue to getting the acceleration values
mf = vars.max_speed.get()
But if they are different... that would get complicated pretty fast.
John
HI
Is there any progress in the development of a more accurate time calculation?
Tom
Please Log in or Create an account to join the conversation.
11 years 10 months ago - 11 years 10 months ago #54463
by BigJohnT
Replied by BigJohnT on topic Re:Run time calculation in g-code program properties
To my knowledge no one is working on this as accurate time calculations can be arrived at by running a sim with the exact same configuration as the machine. Of course your welcome to work on it.
The time component will give you the run time when you run a file.
www.linuxcnc.org/docs/html/man/man9/time.9.html
JT
The time component will give you the run time when you run a file.
www.linuxcnc.org/docs/html/man/man9/time.9.html
JT
Last edit: 11 years 10 months ago by BigJohnT.
Please Log in or Create an account to join the conversation.
8 years 8 months ago #105395
by kibo
Replied by kibo on topic Run time calculation in g-code program properties
Can I see run time calculation value in the Axis GUI?
If not, is it possible to create Python Virtual Control Panel widget to show this value?
Thanks.
If not, is it possible to create Python Virtual Control Panel widget to show this value?
Thanks.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4737
- Thank you received: 1480
8 years 8 months ago #105403
by Todd Zuercher
Replied by Todd Zuercher on topic Run time calculation in g-code program properties
If you want a run timer that is easily done with a VCP. A run time estimator would be difficult and there is already one built into Axis.
There are example configurations look up the man for time.9 it has example pyvcp code.
linuxcnc.org/docs/html/man/man9/time.9.html
There are example configurations look up the man for time.9 it has example pyvcp code.
linuxcnc.org/docs/html/man/man9/time.9.html
The following user(s) said Thank You: kibo
Please Log in or Create an account to join the conversation.
8 years 8 months ago - 8 years 8 months ago #105416
by Grotius
Replied by Grotius on topic Run time calculation in g-code program properties
@Kostas,
Very interesting.
Problem can be : no existing encoder or PWM blocks in the HAL.
I think seperate program timer solves the problem. But can also be calculated in program left time in ngc section i think.
It's a problem they know before on IRC : wiki.linuxcnc.org/cgi-bin/wiki.pl?SimpleCycleTimer
www.gano.name/shawn/CNC/files/6c85b2f279...e735ded9b4deb-0.html
www.linuxcnc.org/docs/devel/html/man/man9/time.9.html
linuxcnc.org/docs/html/hal/components.html
Very interesting.
Problem can be : no existing encoder or PWM blocks in the HAL.
I think seperate program timer solves the problem. But can also be calculated in program left time in ngc section i think.
It's a problem they know before on IRC : wiki.linuxcnc.org/cgi-bin/wiki.pl?SimpleCycleTimer
www.gano.name/shawn/CNC/files/6c85b2f279...e735ded9b4deb-0.html
www.linuxcnc.org/docs/devel/html/man/man9/time.9.html
linuxcnc.org/docs/html/hal/components.html
Last edit: 8 years 8 months ago by Grotius.
Please Log in or Create an account to join the conversation.
Time to create page: 0.207 seconds