somlioy - 2018-12-27


I'm making a program for a certain process with a function block, which is to be used one time for each process.
This process has a certain amount of alarms aswell.

How can I automatically add the corresponding alarms for each fb instance of the process into a alarm group?

As of now I have each process initialized inside an array, and I have to manually add each alarm into a alarm group by using "PLC_PRG.process[1].xAlarm1", "PLC_PRG.process[2].xAlarm1", etc...