Fanuc sottoprogrammi non compressi con patterns - Fanuc uncompressed subprograms with patterns

Fanuc sottoprogrammi non compressi con patterns - Fanuc uncompressed subprograms with patterns

cr-cam01
Contributor Contributor
525 Views
5 Replies
Message 1 of 6

Fanuc sottoprogrammi non compressi con patterns - Fanuc uncompressed subprograms with patterns

cr-cam01
Contributor
Contributor

Salve a tutti.

 

sto personalizzando un post fanuc per una fresatrice Doosan fanuc 31i

il problema è la poca memoria, quindi so cercando il modo di utilizzare i sottoprogrammi con i patterns.

 

il problema è che mi scrive tanti sottoprogrammi quanti sono i patterns (10 patterns richiama 10 volte il sottoprogramma) a me servirebbe comprimerlo quindi che mi richiamasse una sola volta il sottoprogramma e dirgli di ripeterlo 10 volte (tanti quanti sono i i patterns) 

 

ho cercato nel forum e in precedenza qualcuno aveva avuto questo problema, ma all'epoca bastava disattivare use Subroutines e attivare Use Subroutines patterns, ma ora sembra che sia inglobato assieme nello stesso menù a tendina.

 

come posso fare? 

qualcuno che si è trovato nella stessa situazione?

allego file per cercare di essere più chiaro sulla problematica. 

 

grazie a tutti in anticipo 

[Translated with Google by CGBenner 9/11/24]

Hello everyone.

I am customizing a fanuc post for a Doosan fanuc 31i milling machine

The problem is the lack of memory, so I am looking for a way to use subroutines with patterns.

The problem is that it writes me as many subroutines as there are patterns (10 patterns call the subroutine 10 times) I would need to compress it so that it calls me the subroutine only once and tell it to repeat it 10 times (as many as there are patterns)

I searched the forum and previously someone had this problem, but at the time it was enough to disable use Subroutines and enable Use Subroutines patterns, but now it seems that it is incorporated together in the same drop-down menu.

How can I do?

Has anyone found themselves in the same situation?

I attach a file to try to be clearer about the problem.

Thanks to everyone in advance

0 Likes
526 Views
5 Replies
Replies (5)
Message 2 of 6

boopathi.sivakumar
Autodesk
Autodesk

The only difference between the old post output and the new post output is when you take output as patterns it will add buch of comments rest everything is same
Old vs New

boopathisivakumar_0-1726069284685.png

 


Boopathi Sivakumar
Senior Technology Consultant

0 Likes
Message 3 of 6

cr-cam01
Contributor
Contributor

ok, ma il mio obiettivo sarebbe quello di replicare ciò che si scrive ora in macchina sfruttando lo stesso metodo di programmazione dei sottoprogrammi , provo a spiegarmi 

 

programma  (estrapolato) 


[Translated]

ok, but my goal would be to replicate what is written now in the machine using the same subprogram programming method, I'll try to explain myself

program  (extrapolated)

 


( INIZIO LAVORAZIONI )
N2

T15M06
( FRESA SPALL. D63 ISCAR )
G54P1
G52X0.Y0.Z0.W0.
G0B0.
G0G90G43Z200X324.142Y854.497W0H15
T21
M3S920

#18=17.8
M98Q1018L3
G0Z200

 

 

sottoprogramma - sub-program

 

N1018
G0X324.142Y854.497
Z2.
G1Z-#18F1000
G41X292.322Y822.678D15
X310.Y805.
X325.Y790.
X342.678Y772.322
G40X374.497Y804.142
G0Z20.
X-374.497
Z2.
G1Z-#18
G41X-342.678Y772.322D15
X-325.Y790.
X-310.Y805.
X-292.322Y822.678
G40X-324.142Y854.497
G0Z20.
Y-854.497
Z2.
G1Z-#18
G41X-292.322Y-822.678D15
X-310.Y-805.
X-325.Y-790.
X-342.678Y-772.322
G40X-374.497Y-804.142
G0Z20.
X374.497
Z2.
G1Z-#18
G41X342.678Y-772.322D15
X325.Y-790.
X310.Y-805.
X292.322Y-822.678
G40X324.142Y-854.497
G0Z20
#18=#18+6
M99
%

 

 

questo mi permetterebbe di risparmiare spazio

 

è possibile? 

 

[Translated]

 

this would save me space

is it possible?

 

0 Likes
Message 4 of 6

cr-cam01
Contributor
Contributor

@boopathi.sivakumar 

ti ringrazio per la risposta. 

 

il mio obiettivo è replicare ciò che succede ora in macchina 

 

quindi trovo prima un programma che richiama un sottoprogramma 

 

[Translated]

 

thank you for your reply.

my goal is to replicate what is happening now in the machine

so I first find a program that calls a subprogram

 

programma (estrapolato)

( INIZIO LAVORAZIONI )

N2

T15M06
( FRESA SPALL. D63 ISCAR )
G54P1
G52X0.Y0.Z0.W0.
G0B0.
G0G90G43Z200X324.142Y854.497W0H15
T21
M3S920

#18=17,8
M98Q1018L3
G0Z200

 

 

sottoprogramma

 

N1018
G0X324.142Y854.497
Z2.
G1Z-#18F1000
G41X292.322Y822.678D15
X310.Y805.
X325.Y790.
X342.678Y772.322
G40X374.497Y804.142
G0Z20.
X-374.497
Z2.
G1Z-#18
G41X-342.678Y772.322D15
X-325.Y790.
X-310.Y805.
X-292.322Y822.678
G40X-324.142Y854.497
G0Z20.
Y-854.497
Z2. Italiano:
G1Z-#18
G41X-292.322Y-822.678D15
X-310.Y-805.
X-325.Y-790. X
-342.678Y-772.322
G40X-374.497Y-804.142
G0Z20.
X374.497
Z2.
G1Z-#18
G41X342.678Y-772.322D15
X325.Y-790.
X310.Y-805.
X292.322Y-822.678
G40X324.142Y-854.497
G0Z20
#18=#18+6
M99
%

 

 

questo consente di risparmiare molte righe di codice e quindi spazio in memoria. 

 

è, attualmente, in qualche modo , possibile arrivare a questo risultato? 

 

richiamare con una variante le quantità di volte che il sottoprogramma deve essere eseguito in maniera incrementale? 

 

forse, mi viene da pensare, non serve replicare i pattern più volte ma lo stesso programma esegue il giro fresa a z-1 e lo ripete in maniera incrementale 20 volte arrivando cosi a z-20 con step di 1mm

 

non so se sono stato in grado di spiegarmi... 

 

[Translated]

 

this allows you to save many lines of code and therefore space in memory.

is it, currently, somehow possible to get to this result?

call with a variant the amount of times that the subprogram must be executed incrementally?

maybe, I think, it is not necessary to replicate the patterns multiple times but the same program performs the milling rotation at z-1 and repeats it incrementally 20 times thus arriving at z-20 with steps of 1mm

I don't know if I was able to explain myself...

 

0 Likes
Message 5 of 6

boopathi.sivakumar
Autodesk
Autodesk

Hi @cr-cam01 
Its something we cannot do it with the generic post and this would require a decent amount of post customizatation! I would reccommand you to reach out to one of our partners near to your location.

https://www.autodesk.com/support/partners

 


Boopathi Sivakumar
Senior Technology Consultant

Message 6 of 6

CGBenner
Community Manager
Community Manager

@cr-cam01 Did the information provided answer your question? If so, please use Accept Solution so that others may find this in the future. Thank you very much!

Did you find a post helpful? Then feel free to give likes to these posts!
Did your question get successfully answered? Then just click on the 'Accept solution' button.  Thanks and Enjoy!



Chris Benner

Community Manager - NAMER / D&M


0 Likes