The following section details the MDIS generic properties for the MDISBaseObjectType. Implementations shall ensure adherence to Mandatory [M] aspects in order to comply with the MDIS interface standardisation. Optional [O] may or may not be implemented within a project. Figure 9 provides an overview of the MDISBaseObjectType as defined by MDIS. This Object is intended to be the base object for all other MDIS ObjectTypes (see Figure 10 for an overview of inherited types)
Figure 10 - Base Object Hierarchy
The Table 4 defines the structure of an MDISBaseObjectType.
Attribute |
Value |
|||||
BrowseName |
MDISBaseObjectType |
|||||
IsAbstract |
True |
|||||
References |
Node Class |
BrowseName |
Data Type |
TypeDefinition |
ModellingRule |
RW |
Subtype of the BaseObjectType defined in OPC UA Part 5 – Information Model |
|
|||||
HasComponent |
Variable |
Fault |
Boolean |
BaseDataVariableType |
Mandatory |
R |
HasComponent |
Variable |
Warning |
Boolean |
BaseDataVariableType |
Optional |
R |
HasComponent |
Variable |
Enabled |
Boolean |
BaseDataVariableType |
Optional |
R |
HasProperty |
Variable |
TagId |
String |
PropertyType |
Optional |
R |
HasComponent |
Method |
EnableDisable |
See 5.2.3 |
Optional |
|
|
HasComponent |
Variable |
FaultCode |
UInt32 |
BaseDataVariableType |
Optional |
R |
HasComponent |
Variable |
WarningCode |
UInt32 |
BaseDataVariableType |
Optional |
R |
|
|
|
|
|
|
|
HasSubtype |
|
MDISDigitalInstrumentObjectType |
|
|||
HasSubtype |
|
MDISDiscreteInstrumentObjectType |
|
|||
HasSubtype |
|
MDISChokeObjectType |
|
|||
HasSubtype |
|
MDISInstrumentObjectType |
|
|||
HasSubtype |
|
MDISValveObjectType |
|
|||
HasSubtype |
|
MDISAggregateObjectType |
|
The RW column indicates if a Node of Variable NodeClass is readable, writeable or both readable and writeable. Other NodeClasses (Object, Method) do not support reading or writing and do not fill in this column.
By definition a Profile can require that an Optional item be provided, it cannot change the behaviour of an Object from what is described in this specification, which includes support for any Mandatory items. Profiles are described in section 12.
Fault – The status of the object, true if any fault exists.
Warning – The status of the object, true if any warnings exist. A warning does not require immediate operator action.
Enabled – This Variable is set as enabled (true) by default. When disabled the Object will not report any dynamic information other than a bad status code (Bad_InvalidState). It will still report configuration related information. For the MDISBaseObjectType the default is that only the Enabled flag, TagId and Enable method report values or perform functions. Subtypes of this ObjectType may describe additional requirements for disabled Objects.
TagId – The TagId is a unique equipment identifier. This is additional information that can be used to help identify the Variable associated with the instance of this type. This field is intended to be used to store the tag id from the P&ID
EnableDisable – This method allows a Client to disable or enable the Object.
FaultCode – An unsigned integer that describes a fault code(s), zero indicates no fault. The SPCS vendor will provide a definition of what the number means. It might be a bit field or a fault code.
WarningCode – An unsigned integer that describes a warning code(s), zero indicates no warning. The SPCS vendor will provide a definition of what the number means. It might be a bit field or an error code. If a WarningCode is provided then the Warning flag shall also be provided.
EnableDisable is used to disable or enable an Object. The enable / disable operation applies to the Object in the UA Server. The call completes when the enable / disable operation is complete. The Server may or may not pass the enable / disable down to lower levels. This is Server specific behaviour.
Method Declaration
EnableDisable (
[in] Enable Boolean
);
Table 5 - EnableDisable Method parameters
Argument |
Description |
Enable |
Boolean indicator of whether the Object is to be disabled or enabled. A true indicates that the Object is enabled. |
Method result codes are defined as part of the Call Service (see OPC UA Services Part 4 – Services specification). They are described in Table 94 for ease of reference.
Comments
The EnableDisable Method will disable or enable this Object. Once the state of an Object is changed by this Method (i.e. disabled) the state will be maintained until this Method is called again to change the state (i.e. enable). The Method will report if any error occurs while disabling or enabling the Object. Table 6 specifies the AddressSpace representation for the EnableDisable Method.
Table 6 - EnableDisableMethod AddressSpace Definition
Attribute |
Value |
|||||
BrowseName |
Disable |
|||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
|
HasProperty |
Variable |
InputArguments |
Argument[] |
PropertyType |
Mandatory |
|
|
|
|
|