Sorry for the vagueness it is just there is some info I can give.
However, I have applied that method you mentioned, created a function block per machine/station, which is great and everything work beautifully however, everything starts to get complicated when you want to apply things like E-Stops that work with an ever changing amount of units.
Does it make sense?
Thanks.