Simulation timer
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Simulation timer
Hi Taras,
I don't think that would work and would take about half the time of actually running the Job.
Here is a Test Version with a ‘Do Times” Simulation option added. When checked, running Simulation will fully Trajectory Plan all Paths the same as a real run (without commanding any motion) and display estimated Job Time. Displayed times have been changed from seconds to hours:minutes:seconds. GViewer Plot will then show Trajectory Planned paths rather than what raw GCode specifies.
Simulation with 'Do Times' on is a few times slower than with it off but still very fast.
Test Version 5.0.8a
You could help a lot by testing it thoroughly.
Here is shown the new option and the result
Here is the GViewer zoomed in on some GCode with faceted curves (from Dynomotion.ngc top of 'Y') plotted with 'Do Times' off. Note the facets are visible when the raw GCode is plotted.
Here is the plot with 'Do Times' on. Note corner rounding has been applied for smoothing. Corner Tolerance 0.001 inches. Facet Angle 1 degree.
Please let us know if you find any issues.
I don't think that would work and would take about half the time of actually running the Job.
Here is a Test Version with a ‘Do Times” Simulation option added. When checked, running Simulation will fully Trajectory Plan all Paths the same as a real run (without commanding any motion) and display estimated Job Time. Displayed times have been changed from seconds to hours:minutes:seconds. GViewer Plot will then show Trajectory Planned paths rather than what raw GCode specifies.
Simulation with 'Do Times' on is a few times slower than with it off but still very fast.
Test Version 5.0.8a
You could help a lot by testing it thoroughly.
Here is shown the new option and the result
Here is the GViewer zoomed in on some GCode with faceted curves (from Dynomotion.ngc top of 'Y') plotted with 'Do Times' off. Note the facets are visible when the raw GCode is plotted.
Here is the plot with 'Do Times' on. Note corner rounding has been applied for smoothing. Corner Tolerance 0.001 inches. Facet Angle 1 degree.
Please let us know if you find any issues.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Simulation timer
These errors with connected Kflop
Status Record Size mismatch
Disable further status updates ?
and
Read Failed - Auto Disconnect
Do I need to update Kflop?
Status Record Size mismatch
Disable further status updates ?
and
Read Failed - Auto Disconnect
Do I need to update Kflop?
Re: Simulation timer
I reshuffled the K Flop, everything was fine.
Timer in simulation mode shows 0 seconds.
In non-simulation mode, the timer works
https://www.youtube.com/watch?v=UbrxqAJNTxU
Timer in simulation mode shows 0 seconds.
In non-simulation mode, the timer works
https://www.youtube.com/watch?v=UbrxqAJNTxU
Last edited by Tarasevih on Fri Jun 23, 2023 7:09 am, edited 1 time in total.
Re: Simulation timer
What did yesterday.
https://www.youtube.com/watch?v=zmJcwjsX_l0
https://www.youtube.com/watch?v=zmJcwjsX_l0
Re: Simulation timer
Hi Tom.
Resting on weekends?
I have a bug in visual studio.
What is my problem ?
Regards,
Taras.
Resting on weekends?
I have a bug in visual studio.
What is my problem ?
Regards,
Taras.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Simulation timer
Hi Taras,
I forgot about being able to do simulations using the Cycle Start button instead of the Run button. Here is a Version where that should also work.
Version 5.0.8b
Otherwise I don't really understand what you are trying to show. It would help if you explained things clearly.
Regarding Visual Studio I think you may not have installed MFC (Microsoft Foundation Classes).
I forgot about being able to do simulations using the Cycle Start button instead of the Run button. Here is a Version where that should also work.
Version 5.0.8b
Otherwise I don't really understand what you are trying to show. It would help if you explained things clearly.
Regarding Visual Studio I think you may not have installed MFC (Microsoft Foundation Classes).
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Simulation timer
Hi Tom.
MFС class installed and KMotion 435f version build well
This problem is only in version KMotion5.0.8a
Regards,
Taras.
MFС class installed and KMotion 435f version build well
This problem is only in version KMotion5.0.8a
Regards,
Taras.
Re: Simulation timer
Thanks a lot Tom.
The simulation now works as it should and shows the right time.
There was another problem.
When you select a 4-axis screen, the program crashes with an error and no longer starts.
It turns out that the timer only works in a 3-axis machine, but I need 4 axes.
What can you do about it Tom?
p.c. Error means - Attempted to perform an unsupported operation
Regards,
Taras.
The simulation now works as it should and shows the right time.
There was another problem.
When you select a 4-axis screen, the program crashes with an error and no longer starts.
It turns out that the timer only works in a 3-axis machine, but I need 4 axes.
What can you do about it Tom?
p.c. Error means - Attempted to perform an unsupported operation
Regards,
Taras.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Simulation timer
Hi Taras,
Version 5.0.8c
Oops forgot to include the Do Times controls in the other standard screens. Those should now work in this version.When you select a 4-axis screen, the program crashes with an error and no longer starts.
It turns out that the timer only works in a 3-axis machine, but I need 4 axes.
What can you do about it Tom?
Version 5.0.8c
I don't understand what the problem is.This problem is only in version KMotion5.0.8a
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Simulation timer
Thanks a lot Tom.
This looks super cool.
Regarding the error in the visual studio window.
I have a version of visual studio 2015 and maybe you compiled in a newer version?
Or maybe you have updated some components ?
I would like to work with the appearance and not everything can be done through the Screen Editor.
Regards,
Taras.
This looks super cool.
Regarding the error in the visual studio window.
I have a version of visual studio 2015 and maybe you compiled in a newer version?
Or maybe you have updated some components ?
I would like to work with the appearance and not everything can be done through the Screen Editor.
Regards,
Taras.