- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is going to be a post edit. Edits are done all the time, and most of the time they can be simplem as is the case here. First thing you are going to want to do though is download Visual Studio Code and the HSM Addin
Once you have those, open up your post and, using the add-in, post some test code. When you click on the right hand text (the g-code) it will jump you to the related spot in the post processor. For example, we can click on the initial modal g-code cancels and see the code involved. Then, we can click on the M09 or the return home command and see what code is involved there. A little bit of copy/paste and some trial and error and we should arrive at a solution. However, since it's a modal command and already active, we would need to change the syntax up a bit.
gFormat.format(90), gFormat.format(94), etc etc instead of:
writeBlock(gAbsIncModal.format(90), gFeedModeModal.format(properties.useG95 ? 95 : 94), gPlaneModal.format(17), gFormat.format(49), gFormat.format(40), gFormat.format(80));

Seth Madore
Customer Advocacy Manager - Manufacturing
Fusion