Siemens NX Postbuilder

More
23 Jul 2014 05:14 #49036 by guymalpass
Hi,
I use NX CAM to create all the toolpaths I use but for some reason I can't get it to post a feed rate higher than F10000. In the post builder I have the traversal feed rate set at 20000 but I'm hoping somebody knows of something I've missed. Otherwise is it possible to get linuxcnc to read the F words in m/min rather than mm/min?
Many thanks,
Guy Malpass

Please Log in or Create an account to join the conversation.

More
23 Jul 2014 15:41 #49046 by ArcEye
Replied by ArcEye on topic Siemens NX Postbuilder
Hi

Otherwise is it possible to get linuxcnc to read the F words in m/min rather than mm/min?


Linuxcnc works in units per whatever. The only valid units are mm and inch, a metre is just a multiple of a mm as far as it is concerned.

It sounds as though the post-processor is the problem, if your machine is set up to actually move at 20 metres per minute a command of F20000 should work.
It is a floating point value so a 32 bit one can hold +3.4e+38.
The value I think is only limited by the machine capabilities and settings.

regards

Please Log in or Create an account to join the conversation.

More
23 Jul 2014 16:28 - 23 Jul 2014 16:28 #49047 by guymalpass
Replied by guymalpass on topic Siemens NX Postbuilder
The machine will run at F20000 fine but I can't get the NX postprocessor to output NGC files with feedrates higher than 10000. For example I create a toolpath with a feed of 15000 but when I post process it gets reduced to 10000. What I was getting at with the m/min thing was a way of getting around this apparent 10000 limit, so I could write a toolpath with F2 but linuxcnc would read it as 2m/min so I'm not hitting this 10000 ceiling with the post processor.
Last edit: 23 Jul 2014 16:28 by guymalpass.

Please Log in or Create an account to join the conversation.

More
23 Jul 2014 18:14 - 23 Jul 2014 18:18 #49049 by ArcEye
Replied by ArcEye on topic Siemens NX Postbuilder
I am afraid that is the wrong way around.

You need to change the post processor to output the values correctly, not try to change linuxcnc to work with commands that do not mean what they say.

Most posts are scripts and can be altered.

If that is not possible, you could have a post - post-processor, which will take a F value of only one digit and add 4 zeros to it.
(assuming you have no use for feed rates of 1 - 9 mm/min that is )

Attach your post-processor (assuming it is not some sort of windoze binary) and we can have a look at it to see what can be done.

regards

PS

Having looked at the bumph, there is an editing facility to change the output of the post processor, albeit looks like the post is probably built in

The NX CAM PostBuilder capability enables you to create and edit postprocessors. Using its graphical user interface, you can easily specify parameters for the required NC codes.


If you cannot do it that way, you are back to a post post
Last edit: 23 Jul 2014 18:18 by ArcEye.

Please Log in or Create an account to join the conversation.

More
23 Jul 2014 18:38 #49051 by guymalpass
Replied by guymalpass on topic Siemens NX Postbuilder
You absolutely correct in that getting the correct feed out of the post processor is the way to do it, but there lies my problem. Thank you for offering to check the code, I'll see if I can get it to produce something that doesn't require you to have the post builder software.

Please Log in or Create an account to join the conversation.

More
24 Jul 2014 08:11 - 24 Jul 2014 08:23 #49068 by andypugh
Replied by andypugh on topic Siemens NX Postbuilder

Otherwise is it possible to get linuxcnc to read the F words in m/min rather than mm/min?


In version 2.6 (not released, but easily available on preview) you can re-map G-codes.

So, you could re-map the F-word to multiply the number by 1000.

www.linuxcnc.org/docs/2.6/html/remap/str...p_remappable_codes_a

It's not the easiest possible remap, because you will need a bit of Python to extract the number after the F.

Alternatively, if you have no intention of using imperial units (or are happy to use kilo-inches) you could actually calibrate the whole machine to work in metres. But that would be distances as well as speeds.

The pedant in me likes this idea, as the metre is the base unit.

[Edit]

I just noticed that the "standard glue" python provided as part of remap already does this for you.

So.

REMAP = F prolog=setfeed_prolog ngc=my_feed

Then the my_feed.ngc file just needs to contain F [1000 * #<feed>]
Last edit: 24 Jul 2014 08:23 by andypugh.

Please Log in or Create an account to join the conversation.

More
21 Jan 2016 16:53 #68887 by speedwizard
Replied by speedwizard on topic Siemens NX Postbuilder
Hi all,
it's my first post and even this is an old thread the answer would be interesting for everyone working with Siemens NX Postbuilder:
Feedrate limiting in Postbuilder is machine specific and surely can be changed:
Just go to the N/C DATA Definitions Tab, choose WORD on the left side, search for your Feed-Word e.g. F and change maximum value to nothing. Have a look at the attached file. If there is a maximum feed value, violation handling set to "Truncate Value" will reduce any feed value > maximum value to maximum value.
Hope this helps, Thorsten
Attachments:

Please Log in or Create an account to join the conversation.

More
21 Jan 2016 17:03 #68888 by speedwizard
Replied by speedwizard on topic Siemens NX Postbuilder
Hi all,
this is my first post and even if it is an old thread it may be interesting for everyone who uses Siemens NX Postbuilder.
Feed limiting is machine specific and surely can be changed:
Go to the "N/C Data Definitions" Tab, choose "WORD" on the left side and search for the feed Word e.g. F. Set the maximum value to 20000 or what ever you want. "Violation handling" set to "Truncate Value" will truncate all feeds > maximum to maximum.
Hope this helps, Thorsten

Attachments:

Please Log in or Create an account to join the conversation.

Moderators: Skullworks
Time to create page: 0.176 seconds
Powered by Kunena Forum