5.3 Enumerated Data Types

Enumerations do not have values in IEC 61131-3 – but in third edition, a new feature called “Type with named value” has been introduced. The column “Value” in tables below address this new feature.

Anyhow a vendor should keep the long names, if possible, for existing programs to compile.

5.3.1 UASecurityMsgMode

ValueNameDescription
0UASMM_BestAvailableBest available message security mode to the UA server. The client receives the available message security from the server and selects the best. This could also result in level “none security”.
1UASMM_NoneNo security is applied.
2UASMM_SignAll messages are signed but not encrypted.
3UASMM_SignEncryptAll messages are signed and encrypted.

5.3.2 UASecurityPolicy

ValueNameDescription
0UASP_BestAvailableProvides the best available security connection to the UA server. The client receives the available policies from the server and selects the best. This can also result in level “none security”.
1UASP_Nonehttp://opcfoundation.org/UA/SecurityPolicy#None
2UASP_Basic128Rsa15 http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15 – this is deprecated
3UASP_Basic256 http://opcfoundation.org/UA/SecurityPolicy#Basic256 – this is deprecated
4UASP_Basic256Sha256 http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256
5UASP_Aes128-Sha256-RsaOaep http://opcfoundation.org/UA/SecurityPolicy#Aes128_Sha256_RsaOaep
6UASP_Aes256-Sha256-RsaPss http://opcfoundation.org/UA/SecurityPolicy#Aes256_Sha256_RsaPss
7UASP_EccNnistP256 http://opcfoundation.org/UA/SecurityPolicy#ECC_nistP256
8UASP_EccNistP384 http://opcfoundation.org/UA/SecurityPolicy#ECC_nistP384
9UASP_EccBrainpoolP256r1 http://opcfoundation.org/UA/SecurityPolicy#ECC_brainpoolP256r1
10UASP_EccBrainpoolP384r1 http://opcfoundation.org/UA/SecurityPolicy#ECC_brainpoolP384r1
11UASP_EccCurve25519http://opcfoundation.org/UA/SecurityPolicy#ECC_curve25519

5.3.3 UATransportProfile

ValueNameDescription
1UATP_UATcphttp://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
2UATP_WSHttpBinaryhttp://opcfoundation.org/UA-Profile/Transport/https-uabinary
3UATP_WSHttpXmlOrBinaryProfile does not exist and was introduced by mistake
4UATP_WSHttpXml http://opcfoundation.org/UA-Profile/Transport/https-uasoapxml-uabinary
5UATP_HttpsUaJson http://opcfoundation.org/UA-Profile/Transport/https-uajson
6UATP_WssUaScUaBinary http://opcfoundation.org/UA-Profile/Transport/wss-uasc-uabinary
7UATP_WssUaJsonhttp://opcfoundation.org/UA-Profile/Transport/wss-uajson

5.3.4 UAUserIdentityTokenType

ValueNameDescription
0UAUITT_Anonymoushttp://opcfoundation.org/UA-Profile/Security/UserToken/Anonymous
1UAUITT_Usernamehttp://opcfoundation.org/UA-Profile/Security/UserToken/Client/UserNamePassword
2UAUITT_x509http://opcfoundation.org/UA-Profile/Security/UserToken/Client/X509Certificate
3UAUITT_IssuedToken http://opcfoundation.org/UA-Profile/Security/UserToken/Client/IssuedToken
4UAUITT_IssuedTokenWindows http://opcfoundation.org/UA-Profile/Security/UserToken/Client/IssuedTokenWindows
5UAUITT_JsonWebTokenhttp://opcfoundation.org/UA-Profile/Security/UserToken/Client/JsonWebToken

5.3.5 UAIdentifierType

Note: The values changed from V1.0 to V1.1

ValueNameDescription
0UAIT_Numericsee OPC 10000-3 or OPC 10000-6
1UAIT_Stringsee OPC 10000-3 or OPC 10000-6
2UAIT_GUIDsee OPC 10000-3 or OPC 10000-6
3UAIT_Opaquesee OPC 10000-3 or OPC 10000-6

5.3.6 UADeadbandType

ValueNameDescription
0UADT_NoneNo Deadband calculation should be applied
1UADT_AbsoluteAbsoluteDeadband (see OPC 10000-4)
2UADT_PercentPercentDeadband (see OPC 10000-4)

5.3.7 UAAttributeID

ValueNameDescription
1UAAI_NodeIDThe canonical identifier for the node.
2UAAI_NodeClassThe class of the node.
3UAAI_BrowseNameA non-localized, human readable name for the node.
4UAAI_DisplayNameA localized, human readable name for the node.
5UAAI_DescriptionA localized description for the node.
6UAAI_WriteMaskIndicates which attributes are writable.
7UAAI_UserWriteMaskIndicates which attributes are writable by the current user.
8UAAI_IsAbstractIndicates that a type node may not be instantiated.
9UAAI_SymmetricIndicates that forward and inverse references have the same meaning.
10UAAI_InverseNameThe browse name for an inverse reference.
11UAAI_ContainsNoLoopsIndicates that following forward references within a view will not cause a loop.
12UAAI_EventNotifierIndicates that the node can be used to subscribe to events.
13UAAI_ValueThe value of a variable.
14UAAI_DataTypeThe node id of the data type for the variable value.
15UAAI_ValueRankThe number of dimensions in the value.
16UAAI_ArrayDimensionsThe length for each dimension of an array value.
17UAAI_AccessLevelHow a variable may be accessed.
18UAAI_UserAccessLevelHow a variable may be accessed after taking the user's access rights into account.
19UAAI_MinimumSamplingIntervalSpecifies (in milliseconds) how fast the server can reasonably sample the value for changes.
20UAAI_HistorizingSpecifies whether the server is actively collecting historical data for the variable.
21UAAI_ExecutableWhether the method can be called.
22UAAI_UserExecutableWhether the method can be called by the current user.
23UAAI_DataTypeDefinitionThe DataTypeDefinition Attribute is used to provide the meta data and encoding information for custom DataTypes.
24UAAI_RolePermissionPermissions that apply to a Node for all Roles which have access to the Node.
25UAAI_UserRolePermissionsPermissions that apply to a Node for all Roles granted to current Session.
26UAAI_AccessRestrictionAccessRestrictions that apply to a Node.
27UAAI_AccessLevelExThe AccessLevelEx Attribute is used to indicate how the Value of a Variable can be accessed (read/write), if it contains current and/or historic data and its atomicity.
28-32Reserved for future use from OPC Foundation

5.3.8 UAConnectionStatus

ValueNameDescription
0UACS_ConnectedUA client is connected to UA server.
1UACS_ConnectionErrorThe connection from UA client to UA server has an error.
2UACS_ShutdownThe UA client has been disconnected from the UA server.

5.3.9 UAServerState

ValueNameDescription
0UASS_RunningThe server is running normally. This is the usual state for a server.
1UASS_FailedA vendor-specific fatal error has occurred within the server. The server is no longer functioning. The recovery procedure from this situation is vendor-specific. Most Service requests should be expected to fail.
2UASS_NoConfigurationThe server is running but has no configuration information loaded and therefore does not transfer data.
3UASS_SuspendedThe server has been temporarily suspended by some vendor-specific method and is not receiving or sending data.
4UASS_ShutdownThe server has shut down or is in the process of shutting down. Depending on the implementation, this might or might not be visible to clients.
5UASS_TestThe server is in Test Mode. The outputs are disconnected from the real hardware, but the server will otherwise behave normally. Inputs may be real or may be simulated depending on the vendor implementation. StatusCode will generally be returned normally.
6UASS_CommunicationFaultThe server is running properly, but is having difficulty accessing data from its data sources. This may be due to communication problems or some other problems preventing the underlying device, control system, etc. from returning valid data. It may be a complete failure, meaning that no data is available, or a partial failure, meaning that some data is still available. It is expected that items affected by the fault will individually return with a BAD FAILURE status code indication for the items.
7UASS_UnknownThis state is used only to indicate that the OPC UA server does not know the state of underlying servers.

5.3.10 UAHAUpdateStatusCode

Note: The correct way to shorten would be UAHAUSC_, but for compatibility reasons we did not change

ValueNameDescription
0UAHAUpdateStatusCode_HistorianRawA raw data value.
1UAHAUpdateStatusCode_HistorianCalculatedA data value which was calculated.
2UAHAUpdateStatusCode_HistorianInterpolatedA data value which was interpolated.
3UAHAUpdateStatusCode_ReservedUndefined.
4UAHAUpdateStatusCode_HistorianPartialA data value which was calculated with an incomplete interval.
8UAHAUpdateStatusCode_HistorianExtraDataA raw data value that hides other data at the same timestamp.
16UAHAUpdateStatusCode_HistorianMultiValueMultiple values match the Aggregate criteria (i.e. multiple minimum values at different timestamps within the same interval).

5.3.11 UABrowseDirection

Filter the References according to their direction.

ValueNameDescription
0UABD_ForwardSelect only forward References.
1UABD_InverseSelect only inverse References.
2UABD_BothSelect forward and inverse References.

5.3.12 UAMonitoringSyncMode

Note: The correct way to shorten would be UAMSM_, but for compatibility reasons we did not change.

ValueNameDescription
0UAMS_UnknownUnknown SyncMode – the default and invalid setting
1UAMS_ControllerSyncSyncMode is ControllerSync – see chapter 4.2 Monitored Items
2UAMS_FwSyncSyncMode is FwSync (FirmwareSync) – see chapter 4.2 Monitored Items