Community
Fusion Manufacture
Talk shop with the Fusion (formerly Fusion 360) Manufacture Community. Share tool strategies, tips, get advice and solve problems together with the best minds in the industry.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Restart Block Sequence Numbering in Fanuc Post processor

11 REPLIES 11
SOLVED
Reply
Message 1 of 12
Aadithya01
360 Views, 11 Replies

Restart Block Sequence Numbering in Fanuc Post processor

Hi Guys,

 

Can anyone help me on how can I restart the numbering sequence in the default Fanuc post processor .cps file .

 

Say if N99999 is reached the next numbering must be N1 and not N100000 ... Since the controller doesn't accept values greater than N99999. 

 

Many thanks in advance. 

11 REPLIES 11
Message 2 of 12
engineguy
in reply to: Aadithya01

@Aadithya01 

 

Do you want it to go to the 99999 ?? If so then try the attached modified version of the PP that you uploaded, hope it is what you need.

Usual Caveat applies, use carefully and at "users own risk"  🙂 🙂 🙂

Message 3 of 12
Aadithya01
in reply to: engineguy

@engineguy , Thankyou so much .. This is perfectly what I wanted 🙂👍

Message 4 of 12
fnavarrop
in reply to: engineguy

Hello, Can you show me where do you modify the post to get max number sequence to 99999 please? i need to do this in my fanuc PP for my EMCO machine (Lathe and Mill).

 

Thanks in advance.

Message 5 of 12
engineguy
in reply to: fnavarrop

@fnavarrop 

 

See image below for where the modification was done in the PP posted earlier in this thread, check that PP first and if it is the same as the one you are using then do the mod shown below.

If not then can you upload the PP that you are using and it will be looked at 🙂

Fanuc sequence numbers.jpg

 

Message 6 of 12
fnavarrop
in reply to: engineguy

Here is the pictures from PP that I use. Thanks by your kindly help.

 

This is for lathe PPThis is for lathe PPThis is for Mill PPThis is for Mill PP

Message 7 of 12
engineguy
in reply to: fnavarrop

@fnavarrop 

 

Try changing the lines 466 in Lathe and 413 in Mill to this :-

 

writeWords2("N" + (sequenceNumber % 99999), arguments)

 

Hope that helps, usual Caveat applies, test carefully and at own risk 🙂

Message 8 of 12
fnavarrop
in reply to: engineguy

Thanks a lot by your help, it works, now i'm trying to run with my Emco HMI simulator to secure the correct codes before machine run.

Message 9 of 12

Hello,
I showed the changed parts in the code line below. You can check it after trying this method.

Picture 1:

p1.PNG

Save after entering the line number you want.

Picture 2:

p2.PNGSample post:

p3.PNG

Message 10 of 12
fnavarrop
in reply to: emre_sahin9PU3F

Is this the new version of PP variables? i have used the solution proposed by @engineguy  with great results. I will try this one too but in my PP doesn't have the "maximunsequence" var

Message 11 of 12
emre_sahin9PU3F
in reply to: fnavarrop

Yes it's new version.

Message 12 of 12
fnavarrop
in reply to: emre_sahin9PU3F

I got the 44087 versión (the last one un the library), and doesn't have that var. 

 

Can You share your post please?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report