Settings to get alarm with ObjectName and Description from funktion block with integrated control modules Level2CC
Which settings for AlarmOwner or maybe which aspects are necessary to get ObjectName and Description from funktion block with integrated control modules Level2CC?
I proceeded as to the following description.
I created a new FB typical and set the FB as alarm owner and instantiate as aspect object
the includes Level2CC I set as aspect object
inside the FB I create unique names and the code to execute the Level2CC. The parameters and variables are defined as following
the connection between the FB and the Level2CC via parameters
In Function Designer I created a function and entered a unique Name and Description
after generation I changed in online mode and tried to understand how the alarms including names are passing from FB to Level2CC. The FB has no alarm conditions.
the Level2CC have alarm conditions and the internal names are shown in the alarm condition window. In the alarmlist the Level2CC alarms are shown, but the ObjectName is the name of source object in the library.
1. OPC AE SourceName is set from Alarm Owner in AC 800M.
2. ObjectName is set from (by GUID) associated object in 800xA
3. ObjectDescription is not part of OPC AE
In 800xA alarm or event list, make your choice of displaying the SourceName (OPC AE name) or ObjectName (xA name) column.
ObjectDescription can be set manually in 800xA, or uploaded using AC 800M Name Uploader. Also ObjectName can be uploaded (overridden) by Uploader. The uploader is dependent on two variables that must exist and be properly set by controller code, eg a FirstExecution code block making a suitable name by concatenating SrcName with a suffix making a unique name.
Read up on Alarm Owner and Name Uploader in the user’s guides and/or Control Builder M Professional online help.