Thank´s for all your answers.
Our fanuc systems does not handle subs in the main-prog so it seems like i have to take the "long way" with my fanuc systems.
Yasnac´s solution to this was great, just send the main prog and it scanned for the subs and included them.
//Otto |