assuming you have postbuilder...
Open your post in PostBuilder
Select the "Program & Tool Path" tab
Select the "Program End Sequence" (on the left)
On the right side, you will see "Add Block", a pull-down, and a Trash Can
Select the pull-down, and find "G40 G17 G90 G70 -- (absolute_mode). Select it.
Now, grab the "Add Block" button, and drag it onto the "End of Program" event, and place it where you want it.
Now, click on the block you just added
To add the G0, Select the pull-down, Find "G_motion" -> G0 - Rapid Move
Grab the "Add Word" button, and drag it into the block.
Repeat this process with the other words you want to add.
Words you want to remove, you drag to the trash can.
To add G0 & G80 to the same block, use "G" -> "G - User Defined Expression" for the G80.
It will not let you put 2 words from the same group in a single block.
If you want to change the order, Hit OK, then select the Word Sequencing tab.
You can re-arrange the words here. Note to move G0, you move the G1 (G-Motion) word.
Best of luck
"Of course, that's just my opinion. I could be wrong!"
T Briggs (CAM dude) - Siemens PLM Software