Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Amada post not putting in decimals

Anonymous

Amada post not putting in decimals

Anonymous
Not applicable

good afternoon, 

 

I run an amada emlk3510 at work, and have tried making some programs for personal side project stuff on fusion 360. when I use the amada laser post it seems to miss decimals on numbers that would be xxx.000 as in the snip below. where there isn't a decimal point after a number the machine goes in a straight line to the edge of the part 

 

Am I just missing a setting somewhere?

 

 

smileinbob_0-1635198018132.png

 

0 Likes
Reply
368 Views
8 Replies
Replies (8)

mattdlr89
Advisor
Advisor

You can edit the post to force it to include the decimal point. If you go to line 115 in the post then you can add the following part of code highlighted in my screenshot below. This will force it to include the decimal for example - X50 will become X50. 

 

It will not include any trailing 0's. I assume you only need the decimal point for it to work correctly. 

 

mattdlr89_0-1635234666578.png

 

0 Likes

Anonymous
Not applicable

hey thanks for the info. i will try that out. 

0 Likes

Anonymous
Not applicable

Tried another one tonight and it still missed decimals. though I had it inserted correctly did I miss something?

smileinbob_0-1635289303816.png

 

0 Likes

engineguy
Mentor
Mentor

@Anonymous 

 

The "forceDecimal" command needs to be inside the { ~ } as shown in the image below and it will work.

Amada Force Decimal.jpg

 

Have another go :slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face:

0 Likes

Anonymous
Not applicable

I double checked to make sure I had the brackets right and it looks correct, unless I'm missing something. 

smileinbob_0-1635296226999.png

could it be somewhere else now I'm missing something? When I ran the post after making the change I got some warning that I do not recall getting before under NCProgram

smileinbob_1-1635296421968.png

Here is a grab of the lines mentioned in the warnings not sure if it will have anything to do with the decimals not being inserted. 

smileinbob_2-1635296654999.png

 

 

And again thanks for your help folks. :grinning_face_with_smiling_eyes:

 

 

0 Likes

mattdlr89
Advisor
Advisor

Hmm that's a bit confusing. Is this just the stock Amada Laser post processor? I edited it as I said and did a simple test program and it behaved as expected. I'm unsure why it has done this for you. I'm attaching my post. It is straight from the Fusion post library with the forceDecimal change I mentioned. Does it work for you?

 

 

0 Likes

engineguy
Mentor
Mentor

@Anonymous 

 

The modification that Matt @mattdlr89 has provided in his uploaded Post Processor works correctly here as well, there are no other modifications required for it to work so don`t go changing anything else.

 

Are you using the Post Processor from your "Installed Library" ? If so then it is possible that it has been overwritten again by yesterdays update, suggest that you download/copy/paste the PP from @mattdlr89 into your "Personal/Local" Post Processor Library and use it from that location.

The Main "Installed Post Library" is updated/overwritten automatically if you have the automatic updates enabled in your preferences.

Automatic Machine Updates.jpg

1 Like

Anonymous
Not applicable

a fresh copy has made it work correctly. Only thing I can think is I tweaked something else by mistake. Thanks for the help everyone. :grinning_face_with_smiling_eyes:

1 Like