The UpdateBehavior OptionSet is based on UInt32. It describes how the device can perform the update. All possible options are described in Table 103. All other values are reserved for future versions of this specification. The OptionSet is used in the UpdateBehavior Property of the DirectLoadingType (8.4.4.3) and in the GetUpdateBehavior Methods on the CachedLoadingType (8.4.5.5) and in the FileSystemLoadingType (8.4.6.3).
Table 103 – UpdateBehavior OptionSet
Value |
Bit No. |
Description |
KeepsParameters |
0 |
If KeepsParameters is not set, the device will lose its configuration during update. The Client should do a backup of the parameters before the update and restore them afterwards. |
WillDisconnect |
1 |
If WillDisconnect is set, the OPC UA Server will restart during installation. This can be the case if the update is about the firmware of the device that hosts the OPC UA Server. |
RequiresPowerCycle |
2 |
If RequiresPowerCycle is set, the devices require a manual power off / power on for installation. |
WillReboot |
3 |
If WillReboot is set, the device will reboot during the update, inclusive of embedded infrastructure elements like an integrated switch. An update Client should take this into account since the devices behind an integrated switch are not reachable for that time. |
NeedsPreparation |
4 |
If NeedsPreparation is not set, the Client can install the update without maintaining the PrepareForUpdateStateMachine. This can be used to support an installation without stopping the software. |
The UpdateBehavior OptionSet representation in the AddressSpace is defined in Table 104.
Table 104 – UpdateBehavior OptionSet Definition
Attribute |
Value |
||||
BrowseName |
UpdateBehavior |
||||
IsAbstract |
False |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
Other |
Subtype of 0:UInt32 defined in OPC 10000-5. |
|||||
0:HasProperty |
Variable |
OptionSetValues |
0:LocalizedText[] |
0:PropertyType |
|
Conformance Units |
|||||
DI SU Software Update |