ET_Result

Overview

Type:

Enumeration

Available as of:

V1.0.0.0

Description

The enumeration ET_Result contains the values that indicate the result of operations executed by the function blocks of this library.

Enumeration Elements

Name

Value (UDINT)

Description

OK

0

The function block is being executed successfully.

InternalError

60

An internal error has been detected. Retry operation.

AddComponentFailed

63

The component has not been added.

InvalidCommonName

66

The value for the common name is invalid. It must not be a null string.

GetRTCFailed

67

An error has been detected on retrieving the system time. If this issue occurs again specify the timestamp via the input i_dtStartDate of the function block FB_CreateSelfSignedCertificate.

CertificateCreationFailed

68

The certificate has not been created.

CertificateAlreadyExists

69

A certificate with the same name already exists. For information on how to display the available certificates, refer to Managing Certificates on the Controller.

Timeout

70

A timeout has been exceeded. Increase the value for the timeout parameter and retry.

InvalidTrustLevel

80

The value for the trust level is invalid.

InvalidCertificate

81

The certificate does not comply with the standard Base64 format or is corrupted.

NoCertificateSelected

90

Select a certificate before executing this action.

AttributeNotFound

91

The certificate does not contain the requested attribute.

NotReady

92

The function block is busy with a previously selected operation. Retry later.

InvalidHashAlgorithm

93

The hash algorithm must be an enumeration specified by ET_HashAlgorithm.

BufferSizeTooSmall

94

The specified buffer is too small. Specify a bigger buffer and retry.

NotSupported

99

This feature is not supported by your controller.

Used By

  • FB_CertificateHandling

  • FB_CreateCSR

  • FB_CreateSelfSignedCertificate

  • FB_InstallCertificateFromString