I have been starting to mess around with some of the new functionality included in the beta release of HSMWorks 2017, sub-spindle handoff in particular.
I am not sure if I have found an issue with these operations, or if I just don't understand yet how the developers intended this to operate.
In the attached file, I have set the Feed plane for the secondary spindle grab at .100" from the face of the part.
However, when I post out using the dump.cps, cycle.feedPosition is showing a value of .5375"
I would expect this postion to be 1.60", based on my WCS. I have not yet been able to figure out where this .5375 value is coming from.
@fonsecr , any suggestions, or have I found a bug?
Steve
Solved! Go to Solution.
Solved by mircea.rohat. Go to Solution.
Solved by fonsecr. Go to Solution.
I'm investigating right now and I'll post an update soon.
Thanks,
Mircea
Please try latest HSMWorks 2017 R1 devel release. Fix for ticket CAM-5793.
Can somebody explain me why I'm getting this error when I try to postprocess a job which includes handoff operations?
Error: Error: Final tool axis is unknown for section at Section.getFinalToolAxis(). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Stack dump: ("Final tool axis is unknown for section at Section.getFinalToolAxis().")@:0
Ivan Stanojevic
@ivan.stanojevic wrote:
Can somebody explain me why I'm getting this error when I try to postprocess a job which includes handoff operations?
Error: Error: Final tool axis is unknown for section at Section.getFinalToolAxis(). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Stack dump: ("Final tool axis is unknown for section at Section.getFinalToolAxis().")@:0
Because there is no toolaxis for these operations.
So you will have to update the post, to not check for that when the current section is a stock transfer/pull operation.
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
Yes, I added this error when there is no known position for a section which is the cause when using the stock transfer strategy. However, @bob.schultz from post team pointed out to me that it would cause failures for the next section also without edits to the post configs which we dont want users to have to do at the moment. So I have changed the post processor to just output warning for now. We definitely want all users to switch to the much better Chuck and Return cycles for stock transfer. Requires some post customization but will pay off fast. So for now you wont need to make changes. We'll just recommend it.
@fonsecr wrote:
Yes, I added this error when there is no known position for a section which is the cause when using the stock transfer strategy. However, @bob.schultz from post team pointed out to me that it would cause failures for the next section also without edits to the post configs which we dont want users to have to do at the moment. So I have changed the post processor to just output warning for now. We definitely want all users to switch to the much better Chuck and Return cycles for stock transfer. Requires some post customization but will pay off fast. So for now you wont need to make changes. We'll just recommend it.
Is that update to be found soon in all software's in that case? I mean to have people not have to edit the posts the latest releases should have the warning version.
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
Yes, it will be updated in all the products as soon as possible.
Ivan Stanojevic
Just use HSMWorks 2016 and all will work. The above is only for HSMWorks 2017 and forward.
Ivan Stanojevic
Use the latest official release: HSMWorks2016-R4.41148 / September 1, 2016
The problem was the stock height was calculated relative to the rotary axis as in a typical Turning Op, where it should've been calculated as the extent along the axis. As René mentioned, the fix is in the latest dev build.
Thanks,
Mircea
hi Rene,
I was having the same problem previously as Ivan: my programs were failing to post when I was using a turning stock transfer operation with a newer version of HSMWorks.
I use the stock transfer function for controlling my bar puller in my Haas lathe.
I upgraded to the latest development release this morning, and my code did post. However, it skipped over some functions that are still working fine in the last production release: 2016 R4.41148
I attached two posted files, both from the same model/toolpath & using the same postprocessor.
The one from 4.41148 is what I expect to see. the copy from 2017-R1.41441 does not include my line number call, as well as my prepositioning moves.
I also attached a copy of the post & the model files.
Any suggestions @fonsecr
Steve
Would only let me add 3 attachments.
Model files attached to this posting.
@electromechanica, the reason is that all the code for stock transfer is placed in onSection(). Originally we skipped the main part of onSection() if it is a stock transfer operation. With the new release, we even do not call onSection anymore, but onSectionSpecialCycle().
The best way to fix this issue is to place all the needed code in onCycle() instead of onSection().
With this the output will be correct for the new AND the old version.
Sample posts will follow soon, also with code for the new stock transfer cycles.