CODESYS - the IEC 61131-3 automation software

Adding new alarm to alarm group from FB?
Page 1 of 1

Author:  somlioy [ Thu Dec 27, 2018 12:13 pm ]
Post subject:  Adding new alarm to alarm group from FB?


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...

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited