The MaintenanceTaskType shall be used to implement instances of maintenance tasks applicable at both the Device and Component levels. Maintenance tasks include activities such as periodic maintenance, cleaning, calibration, and validation.

Maintenance tasks for a Device shall be grouped under the Maintenance functional group present in the LADSDeviceType.

The MaintenanceTaskType is formally defined in Table 51.

Note: All existing Properties of an instance of MaintenanceTaskType should to be saved persistent. So, the values can be loaded after an restart of the server.

Table 51 – MaintenanceTaskType Definition

Attribute

Value

BrowseName

MaintenanceTaskType

IsAbstract

False

References

Node Class

BrowseName

DataType

TypeDefinition

Other

Subtype of the MaintenanceRequiredAlarmType defined in OPC 10000-100

0:HasProperty

Variable

LastExecutionDate

0:UtcTime

0:PropertyType

O

0:HasProperty

Variable

LastOperatingCycles

0:UInt32

0:PropertyType

O

0:HasProperty

Variable

LastOperatingTime

0:Duration

0:PropertyType

O

0:HasProperty

Variable

NextOperatingCycles

0:UInt32

0:PropertyType

O

0:HasProperty

Variable

NextOperatingTime

0:Duration

0:PropertyType

O

0:HasProperty

Variable

RecurrencePeriod

0:Duration

0:PropertyType

O

0:HasComponent

Method

ResetTask

O

0:HasComponent

Method

StartTask

O

0:HasComponent

Method

StopTask

O

0:HasInterface

ObjectType

IMaintenanceEventType

Defined in OPC 10000-110 Section 12.2

Applied from IMaintenanceEventType

0:HasProperty

Variable

3:ConfigurationChanged

0:Boolean

0:PropertyType

O

0:HasProperty

Variable

3:EstimatedDowntime

0:Duration

0:PropertyType

O

0:HasProperty

Variable

3:MaintenanceMethod

3:MaintenanceMethodEnum

0:PropertyType

O

0:HasComponent

Object

3:MaintenanceState

3:MaintenanceEventStateMachineType

M

0:HasProperty

Variable

3:MaintenanceSupplier

3:NameNodeIdDataType

0:PropertyType

O

0:HasProperty

Variable

3:PartsOfAssetReplaced

3:NameNodeIdDataType[]

0:PropertyType

O

0:HasProperty

Variable

3:PartsOfAssetServiced

3:NameNodeIdDataType[]

0:PropertyType

O

0:HasProperty

Variable

3:PlannedDate

0:UtcTime

0:PropertyType

O

0:HasProperty

Variable

3:QualificationOfPersonnel

3:NameNodeIdDataType

0:PropertyType

O

Conformance Units

LADS MaintenanceTaskType

LastExecutionDate is the date when the Task was last performed. Optional, as the Task may have never run before.

LastOperatingCycles is the number of cycles during the operating time (as defined in Section 9.3 of EN 13306-2017) recorded at the time of the last execution of the Task.

LastOperatingTime is the total amount of operating time (as defined in Section 9.3 of EN 13306-2017) in milliseconds (ms) by the Device at the time of the last execution of the Task.

NextOperatingCycles is the number of cycles during operating time (as defined in Section 9.3 of EN 13306-2017) to be completed before the next execution of the Task.

NextOperatingTime is the total amount of operating time (as defined in Section 9.3 of EN 13306-2017) in milliseconds (ms) by the Device before the next execution of the Task.

RecurrencePeriod is the period of repetition of the Task, specified in milliseconds. Optional, as not all Tasks have a recurrence period.

ResetTask Method resets the condition of the Task so that it is ready to be re-run.

Start Method starts the execution of the Task.

Stop Method stops the execution of the Task.

The ResetTask Method resets the execution of the Task so that it is ready to be re-run.

Optional, as instruments may not support resetting a maintenance task via a method call. The same effect can be achieved by means of a device-specific control.

Upon successful execution of the ResetTask Method, the MaintenanceState shall be changed to Planned and an accompanying event shall be raised. Also, the ActiveState and AckState properties are set to “False”.

The signature of this Method is specified below. Table 52 specifies its representation in the AddressSpace.

Signature

ResetTask ()

Table 52 – ResetTask Method AddressSpace Definition

Attribute

Value

BrowseName

Reset

References

Node Class

BrowseName

DataType

TypeDefinition

ModellingRule

The Start Method starts the execution of the Task.

Optional, as instruments may not support starting a maintenance task via a method call. The same effect can be achieved by means of a device-specific control.

Upon successful execution of the Start Method, the MaintenanceState shall be changed to Executing and an accompanying event shall be raised.

The signature of this Method is specified below. Table 53 specifies its representation in the AddressSpace.

Signature

StartTask ()

Table 53 – StartTask Method AddressSpace Definition

Attribute

Value

BrowseName

StartTask

References

Node Class

BrowseName

DataType

TypeDefinition

ModellingRule

The StopTask Method stops of the execution of the task.

Optional, as instruments may not support aborting the task via a method call. The same effect can be achieved by means of a device-specific control.

It includes 2 optional input parameters: MaintenanceTaskStopResult and Comment to document the outcome of the maintenance task.

Upon successful execution of the Stop Method, the MaintenanceState shall be changed to Finished and an accompanying event shall be raised. Also, the ActiveState and AckState properties are set to “False”.

The signature of this Method is specified below. Table 54 and Table 55 specify the Arguments and AddressSpace representation, respectively.

Signature

StopTask (

[in]MaintenanceTaskResultEnumMaintenanceTaskStopResult,

[in]LocalizedTextComment)

Table 54 – StopTask Method Arguments

Argument

Description

MaintenanceTaskStopResult

Give the reason why the task is stopped.

Comment

Add an additional comment to describe the call

Table 55 – StopTask Method AddressSpace Definition

Attribute

Value

BrowseName

StopTask

References

Node Class

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

0:InputArguments

0:Argument[]

0:PropertyType

0:Mandatory