CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > CAM Software > UG NX


UG NX UG CAD/CAM Discussion


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-27-2008, 10:32 PM
 
Join Date: Aug 2008
Location: Brazil
Posts: 2
raphapalomares is on a distinguished road
Unhappy Doubt to change post processor

Hellow, my friends.

Anyone knows how can i change the post processor of NX4 (3 axis) to
add G0 G90 G40 G49 G80 in the end of programm?

Today i'm doing this manually, but i really wanna know how can i change the post processor to add this automatically

Thanks.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 08-28-2008, 09:27 AM
Brewmeister's Avatar  
Join Date: Oct 2007
Location: USA
Age: 48
Posts: 39
Brewmeister is on a distinguished road
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
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 09-01-2008, 11:57 PM
 
Join Date: Jan 2008
Location: India
Age: 33
Posts: 62
blmmdes is on a distinguished road
what if you dont have a post builder

If you dont have a post builder license, never mind. you can do it on your wordpad. But note that once you edit these files manually they loose associativity with pui(post builder) file. but still they work.

Goto your MACH>RESOURCE>POSTPROCESSOR directory and open the file Template.dat with wordpad. Find out what event handler file is your post is using. it will be in this format
"MILL_3_AXIS,${UGII_CAM_POST_DIR}mill3ax.tcl,${UGII_CAM_POST_DIR}mill3ax.def"
MILL_3_AXIS is the display name in UG post dialog interface and mill3ax.tcl is the event handler file.

Now open the tcl file in word pad which by default will be located in the same directory unless specified. search for "end_of_program" untill you reach
proc MOM_end_of_program.

Add a new line

MOM_output_literal "G0 G90 G40 G49 G80" (Note that this is just text output)

above MOM_set_seq_off

and save the file. Run your post from UG to check the output.
__________________
Ananth Kulkarni
THE GREATEST OAK WAS ONCE A NUT WHO HELD ITS GROUND
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 09-03-2008, 12:54 AM
weirdharold's Avatar  
Join Date: Sep 2007
Location: usa
Age: 56
Posts: 126
weirdharold is on a distinguished road
post Changes

So , if I am understanding this correctly, you can open up a default post, with the .pui extension, in postbuilder & modify it as long as it has not been opened up & changed manually in something like notepad ? We have Postbuilder at work & doesn't look too complicated, but a lot of menu's to choose from & a lot of trial & error for someone like me that has not used it. Programmer's at work post using( Output CLSF), which I assume are 3rd party posts & they wind up editing with notepad to finish up. Adding thing's like M05, M01.M30. & other various codes. I would like to know how to use this feature, Postbuilder, so in the coming week's ,I will post code of what I am getting & post code of what I would like to get. Thank's in advance. Harold C.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 09-03-2008, 08:00 AM
 
Join Date: Jan 2008
Location: India
Age: 33
Posts: 62
blmmdes is on a distinguished road
Yes Harold you can open a default post provided by UGS and save it as a copy after modifications. Once you hit Save in post builder it creates 3 files. *.pui, *.tcl and *.def. Unless you modify the tcl and def manually they are attached to that pui file.

Post builder came recently and its good.I agree it takes time to understand the menus. Otherwise people like me used to modify the posts through notepad only. That requires a bit knowledge of TCL as well. Creating a post in itself is a R&D work so trial and error are part and parcel of it.

I suggest you bigin with simple customization on post builder. Your requirement (adding M05, M01 M30 etc) also simple so get started with it. you can minimise(upto zero %) the manual intervention. you can always come back to this forum if have any questions.
__________________
Ananth Kulkarni
THE GREATEST OAK WAS ONCE A NUT WHO HELD ITS GROUND
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-03-2008, 08:54 AM
 
Join Date: Feb 2006
Location: USA
Posts: 128
camster is on a distinguished road
One of the things to be aware of is the free post processor library that Siemens PLM has available. When your in manufacturing select
Help - Online Technical Support - Download NC Posprocessor. This wil bring you to the GTAC web site. You will need a Webkey login, also free.

These were all built with Post Builder so they have the .pui, .tcl and .def files
__________________
John Joyce -NC Programming Supervisor
Barnes Aerospace, Windsor CT
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubt about X2 spindle mugabe General Metal Working Machines 2 02-10-2007 07:48 AM
chopper doubt mardus Stepper Motors and Drives 19 10-10-2006 06:41 PM




All times are GMT -5. The time now is 08:44 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353