7.1.10 MaintenanceTaskType Definition

7.1.10.1 Overview

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.

Table 51 – MaintenanceTaskType Definition
Attribute Value
BrowseNameMaintenanceTaskType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the MaintenanceRequiredAlarmType defined in OPC 10000-100
0:HasPropertyVariableLastExecutionDate0:UtcTime0:PropertyTypeO
0:HasPropertyVariableLastOperatingCycles0:UInt320:PropertyTypeO
0:HasPropertyVariableLastOperatingTime0:Duration0:PropertyTypeO
0:HasPropertyVariableNextOperatingCycles0:UInt320:PropertyTypeO
0:HasPropertyVariableNextOperatingTime0:Duration0:PropertyTypeO
0:HasPropertyVariableRecurrencePeriod0:Duration0:PropertyTypeO
0:HasComponentMethodResetTaskO
0:HasComponentMethodStartTaskO
0:HasComponentMethodStopTaskO
0:HasInterfaceObjectTypeIMaintenanceEventTypeDefined in OPC 10000-110 Section 12.2
Applied from IMaintenanceEventType
0:HasPropertyVariable3:ConfigurationChanged0:Boolean0:PropertyTypeO
0:HasPropertyVariable3:EstimatedDowntime0:Duration0:PropertyTypeO
0:HasPropertyVariable3:MaintenanceMethod3:MaintenanceMethodEnum0:PropertyTypeO
0:HasComponentObject3:MaintenanceState3:MaintenanceEventStateMachineTypeM
0:HasPropertyVariable3:MaintenanceSupplier3:NameNodeIdDataType0:PropertyTypeO
0:HasPropertyVariable3:PartsOfAssetReplaced3:NameNodeIdDataType[]0:PropertyTypeO
0:HasPropertyVariable3:PartsOfAssetServiced3:NameNodeIdDataType[]0:PropertyTypeO
0:HasPropertyVariable3:PlannedDate0:UtcTime0:PropertyTypeO
0:HasPropertyVariable3:QualificationOfPersonnel3:NameNodeIdDataType0:PropertyTypeO
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.

7.1.10.2 ResetTask

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
BrowseNameReset
References Node Class BrowseName DataType TypeDefinition ModellingRule
7.1.10.3 StartTask

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
BrowseNameStartTask
References Node Class BrowseName DataType TypeDefinition ModellingRule
7.1.10.4 StopTask

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]	MaintenanceTaskResultEnum	MaintenanceTaskStopResult,
		[in]	LocalizedText	Comment)
Table 54 – StopTask Method Arguments
Argument Description
MaintenanceTaskStopResultGive the reason why the task is stopped.
CommentAdd an additional comment to describe the call
Table 55 – StopTask Method AddressSpace Definition
Attribute Value
BrowseNameStopTask
References Node Class BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariable0:InputArguments0:Argument[]0:PropertyType0:Mandatory