Dealing with super large Recipe Files with MpRecipe

Hello everyone,
Do anyone has experience dealing with super huge recipe file with MpRecipe, the loading time could take up to 15 minutes in my particular case. Just wondering if anyone has any tricks to speed things up here.

For context, the recipe file has about 490,000 lines of values. Would executing the MpRecipeCsv function block multiple times per TC help in this case?
Not sure if spliting up the recipe file to multiple smaller ones would help in the total time or not either (it could end up the same).

Thanks in advance for any suggestions.

Having one huge file is faster than having multiple small files. This is one case i analysed in the past. Its also intuitive i think, as he would have more overhead with opening and cloasing the file.

I also know that if you load multiple files, you can do it with multiple instances in parallel to speed up. But this will not help in your use Case i think.

The only case i would test is, to have short cycle time. But as far as i know the Recipe works in backround and therefore i would not expect a speed up.

I Think the overall Performance of the PLC is also a point. If you can free computing Time by reducing other workload TC#1 instead of 2ms → 4ms for example could help.

Greetings
Michael

2 Likes

Hi @samuel.chua , what is status of your topic, can you mark the reply that helped you the most?

Hi Jaroslav,

Thanks for the reminder. In the end, I end up not using MpRecipe due to the slow loading time and hard coded the recipe for different variant into different POU and use Automation Studio’s Configuration Management to manage different variants of the machine with unique POU that does the “recipe loading” called in each unique Variant’s configuration.

Samuel

1 Like

cool thanks for feedback.