Is it permitted to extend a ParameterSet by a Interface? | OPC UA Standard | Forum

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Is it permitted to extend a ParameterSet by a Interface?
Avatar
Martin Lang
Germany
Member
Members
Forum Posts: 32
Member Since:
06/25/2014
sp_UserOfflineSmall Offline
1
08/07/2019 - 04:10
sp_Permalink sp_Print sp_EditHistory

In Amendment 7 there is no such example, but I did not found a rule which restrict the Interface to extend the ParameterSet as well as FunctionalGroups from DI.

ComponentType
   A-Type
       Identification (FunctionalGroup)
       ParameterSet
            Var1
            Var2

ComponentType
   B-Type
       Maintenance (FunctionalGroup)
       ParameterSet
            VarX
            VarY

 

BaseInterfaceType
   IDiagnosticsType
       Diagnostics (FunctionalGroup)
               Current
                    VarDiag1 (OrganizeRef)
               Voltage
                    VarDiag2 (OrganizeRef)
       ParameterSet
           VarDiag1
           VarDiag2

 

Now apply these Interface to the A- and B-Type:

ComponentType
   A-Type --> HasInterface --> IDiagnosticsType
       Identification (FunctionalGroup)
       Diagnostics (FunctionalGroup)
               Current
                    VarDiag1 (OrganizeRef)
               Voltage
                    VarDiag2 (OrganizeRef)
       ParameterSet
            Var1
            Var2
            VarDiag1
            VarDiag2

 

ComponentType
   B-Type --> HasInterface --> IDiagnosticsType
       Maintenance (FunctionalGroup)
       Diagnostics (FunctionalGroup)
               Current
                    VarDiag1 (OrganizeRef)
               Voltage
                    VarDiag2 (OrganizeRef)
       ParameterSet
            VarX
            VarY
            VarDiag1
            VarDiag2

 

Is this permitted?

br
Martin

Avatar
matthias.damm@ascolab.com
Moderator
Members

Moderators-Companion
Forum Posts: 7
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
2
08/08/2019 - 00:03
sp_Permalink sp_Print

Dear Martin,

 

This seems to be valid as long as you use the exact same definition for ParameterSet (you can change the modeling rule from optional to mandatory)

 

BR, Matthias

Avatar
Martin Lang
Germany
Member
Members
Forum Posts: 32
Member Since:
06/25/2014
sp_UserOfflineSmall Offline
3
08/13/2019 - 05:14
sp_Permalink sp_Print

Dear Matthias,

thank you for your answer!
Why are the ModellingRules restricted to Mandatory and Optional?

Example:

   IDiagnosticsType
       Diagnostics (FunctionalGroup)
               Current
                    VarCurrentPin<n> 
               Voltage
                    VarVoltagePin<n>
               Temperature
                    VarTemperaturePin<n>
       ParameterSet
           VarCurrentPin<n> (MandatoryPlaceholder)
           VarVoltagePin<n> (MandatoryPlaceholder)
           VarTemperaturePin<n> (MandatoryPlaceholder)

 

ComponentType
   B-Type --> HasInterface --> IDiagnosticsType
       Maintenance (FunctionalGroup)
       Diagnostics (FunctionalGroup)
               Current
                    VarCurrentPin1
                    VarCurrentPin2
               Voltage
                    VarVoltagePin1
                    VarVoltagePin2
              Temperature
                    VarTemperaturePin1
                    VarTemperaturePin2
       ParameterSet
            VarCurrentPin1
            VarCurrentPin2
            VarVoltagePin1
            VarVoltagePin2
            VarTemperaturePin1
            VarTemperaturePin2

Br 
Martin

Forum Timezone: America/Phoenix
Most Users Ever Online: 143
Currently Online:
19
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Newest Members:
robert.gartler@knapp.com
Forum Stats:
Groups: 2
Forums: 9
Topics: 541
Posts: 1521

 

Member Stats:
Guest Posters: 1
Members: 96808
Moderators: 10
Admins: 3
Administrators: michael.bryant@opcfoundation.org, thomas.burke@opcfoundation.org, Randy Armstrong
Moderators: matthias.damm@ascolab.com, s.hoppe@beckhoff.com, paul.hunkar@dsinteroperability.com, jouni.aro@prosys.fi, tim.fortin@honeywell.com, Jim.Luth@Schneider-Electric.com, Karl-Heinz Deiretsbacher, stefan.hoppe@opcfoundation.org, alexander.allmendinger@opcfoundation.org, Karl Deiretsbacher