7.16.5 UnloadByNodeId Method

The signature of this Method is specified below.

Signature

	UnloadByNodeId (
	   [in]    0:ExpandedNodeId    Id
		[out]	0:Int32	    Status
	);

Table 80 specifies the Arguments.

Table 80 – UnloadByNodeId Method Arguments
Argument Description
IdExpanded NodeId of the module to be unloaded
Status

0 – OK – Everything is OK

1 – E_SystemState – The system is not in correct state for this operation

2 – E_UnexpectedError – Unexpected Error during the method call

3 – E_ActiveAlarm – An Active Alarm prevents the system start

4 – E_AcknowledgeRequired – Condition needs to be acknowledged

<0 – shall be used for vendor-specific errors.

>0 – are reserved for errors defined by this and future standards

The UnloadByNodeId Method is called by a Client to unload a task module from a task control. This only works if the task modules are expressed in the address space (7.22).

The possible Method result codes are formally defined in the table below.

Table 81 – Method Result Codes (defined in Call Service)
Result Code Description
GoodThe task control operation succeeded
Bad_InternalErrorThe task control operation failed because of an internal error
Bad_ResourceUnavailableThe Method is locked by another Client/Clientgroup
Bad_UserAccessDeniedThe caller is not allowed to call this Method.

The UnloadByNodeId Method representation in the AddressSpace is formally defined in Table 82. This method might not always result in a state change from Ready to Idle.

Table 82 – UnloadByNodeId Method AddressSpace definition
Attribute Value
BrowseNameUnloadByNodeId
References NodeClass BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariable0:InputArguments0:Argument[] 0:PropertyType0:Mandatory
0:HasPropertyVariable0:OutputArguments0:Argument[] 0:PropertyType0:Mandatory
ConformanceUnits
Rob Task Control Operation