ET_Result

Overview

Type:

Enumeration

Available as of:

V2.0.3.0

Description

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

Enumeration Elements

Name

Value (UINT)

Description

NoError

0

No error detected.

Done

1

The function block execution was completed successfully.

Working

2

The function block execution is still running.

OrderNotPresent

3

Internal communication interruption.

UnknownResponse

4

Internal communication interruption.

CommandError

5

Internal communication interruption.

BufferFull

6

Internal communication interruption.

CommandAborted

7

Internal status information.

NoParameterInterface

8

Internal interface error detected.

InititalizationFailed

10

The initialization of the library was not successful.

CommunicationError

11

The communication was interrupted.

AvatarNotAvailable

12

The referenced avatar via the input i_sAvatarName is not available in the DTM configuration list.

DeviceNotAvailable

13

The referenced device via the input i_sDeviceName is not available in the DTM configuration list.

IdentStructureEmpty

14

The identification structure provided by the DTM is empty.

AvatarNotSupported

15

The avatar is not supported by the function block.

SystemAvatarNotSupported

16

The system avatar is not supported by the function block.

SystemDeviceNotSupported

17

The system device is not supported by the asset management function blocks.

NoAvatarConfigured

18

No avatar configured.

FirmwareNotSupported

19

The firmware of the bus coupler is not supported by this library and an update of the library is required.

ConfigurationInvalid

20

The configuration of the bus coupler and the island configuration in the application is different.

NOTE: This enumeration is extended with the enumerations CommunicationErrorCodes, OperationErrorCodes, and CIPOperationErrorCodes from the EtherNet/IP Scanner Library and from the PLCCommunication Library.

CIP (Common Industrial Protocol) Error Codes

The CIPOperationErrorCodes enumerated type contains information about operation diagnostics, such as interruptions and detected errors. It contains these values:

Element

Value

Description

CIPConnectionFailure

1025

A connection-related service was unsuccessful along the connection path.

CIPResourceUnavailable

1026

The resources required for the object to perform the requested service are not available.

CIPInvalidParameterValue

1027

See CIPInvalidParameter.

CIPPathSegmentError

1028

The path segment identifier or segment syntax was not interpreted by the processing node. Path processing is stopped if an error is detected in the path segment.

CIPPathDestinationUnknown

1029

The path references an object class, instance, or structural element that is not identified or contained in the processing node. Path processing must be stopped if an indeterminable error occurs in the path target.

CIPPartialTransfer

1030

Only part of the expected data was transferred.

CIPConnectionLost

1031

The messaging connection was interrupted.

CIPServiceNotSupported

1032

The requested service was not implemented or defined for this object class/instance.

CIPInvalidAttributeValue

1033

Invalid attribute data was detected.

CIPAttributeListError

1034

An attribute in the Get_Attribute_List or Set_Attribute_List response has a non-zero status.

CIPAlreadyInRequestedMode

1035

The object is already in the mode/state being requested by the service.

CIPObjectStateConflict

1036

The object cannot perform the requested service in this mode/state.

CIPObjectAlreadyExists

1037

The requested instance of the object to be created already exists.

CIPAttributeNotSettable

1038

A request to modify a non-modifiable attribute was received.

CIPPrivilegeViolation

1039

A permission/privilege verification was unsuccessful.

CIPDeviceStateConflict

1040

The present mode/state of the device prohibits the execution of the requested service.

CIPReplyDataTooLarge

1041

The data to be transmitted in the response buffer is larger than the allocated response buffer.

CIPFragmentationPrimitiveValue

1042

The service specifies an operation that divides a primitive data value and was unsuccessful.

CIPNotEnoughData

1043

The service did not supply enough data to perform the specified operation.

CIPAttributeNotSupported

1044

The attribute specified in the request is not supported.

CIPTooMuchData

1045

The service supplied more data than expected.

CIPObjectDoesNotExist

1046

The specified object does not exist in the device.

CIPFragmentationNotInProgress

1047

The fragmentation sequence for this service is not active for this data.

CIPNoStoredAttributeData

1048

The attribute data of this object was not stored before the requested service.

CIPStoreOperationFailure

1049

The attribute data of this object was not stored due to a detected error during the attempt.

CIPRoutingFailureRequestPacketTooLarge

1050

The service request packet was too large for transmission on a network. The routing device stopped the service.

CIPRoutingFailureResponsePacketTooLarge

1051

The service response packet was too large for transmission on a network in the path from the destination. The routing device stopped the service.

CIPMissingAttributeListEntryData

1052

The service did not provide an attribute from the attribute list required by the service to perform the requested behavior.

CIPInvalidAttributeValueList

1053

The service returns the list of attributes that contains status information about invalid attributes.

CIPEmbeddedServiceError

1054

An embedded service resulted in a detected error.

CIPVendorSpecificError

1055

A vendor-specific error was detected. The additional code field of the error response specifies the detected error. This general error code must only be used if none of the error codes displayed in this table or in an object class definition accurately represents the detected error.

CIPInvalidParameter

1056

A parameter associated with the request was invalid. This code is used if a parameter does not comply with the requirements of this specification and/or the requirements defined in an application object specification.

CIPWriteOnceValueAlreadyWritten

1057

An attempt was made to write to a write-once medium (for example, WORM drive, PROM) that has already been written, or to modify a value that cannot be modified once established.

CIPInvalidReplyReceived

1058

An invalid response is received (for example, reply service code does not correspond to the request service code), or the response message is shorter than the minimum expected response size. This status code can be used for other purposes of invalid responses.

CIPBufferOverflow

1059

The message received is larger than the receiving buffer can handle. The entire message was discarded.

CIPMessageFormatError

1060

The format of the received message is not supported by the server.

CIPKeyFailureInPath

1061

The key segment that was included as the first segment in the path does not correspond to the target module. The object-specific status must specify which part of the key verification was unsuccessful.

CIPPathSizeInvalid

1062

The size of the path sent with the service request is either not large enough to allow the request to be forwarded to an object, or too much routing data has been included.

CIPUnexpectedAttributeInList

1063

An attempt was made to set an attribute that cannot be set at this time.

CIPInvalidMemberID

1064

The member ID specified in the request does not exist in the specified class/instance/attribute.

CIPMemberNotSettable

1065

A request to modify a non-modifiable member was received.

CIPGroup2OnlyServerFailure

1066

Not used

CIPUnknownModbusError

1067

A CIP to Modbus translator has received an undefined Modbus exception code.

CIPAttributeNotGettable

1068

A request to read a non-readable attribute was received.

CIPInstanceNotDeletable

1069

The requested object instance cannot be deleted.

CIPServiceNotSupportedForAppPath

1070

The object supports the service, but not for the designated application path (for example, attribute).

CIPTimeout

1279

No response from the target.

Communication Error Codes

The CommunicationErrorCodes enumerated type contains information about communication diagnostics, such as interruptions and detected errors. It contains these values:

Element

Value

Description

CommunicationOK

256

The exchange is valid.

TimedOut

257

The exchange stopped when the timeout expired.

Canceled

258

The exchange was stopped by a user request (the Abort command).

BadAddress

259

The address format is incorrect.

BadRemoteAddr

260

The remote address is incorrect.

BadMgtTable

261

The management table format is incorrect.

BadParameters

262

Specific parameters are incorrect.

ProblemSendingRq

263

There was an issue while sending the request to the destination.

RecvBufferTooSmall

265

The reception buffer size is too small.

SendBufferTooSmall

266

The send buffer size is too small.

SystemRessourceMissingCommCode

267

A system resource is unavailable.

BadTransactionNb

268

The transaction number is incorrect.

BadLengthCommCode

270

The length is incorrect.

ProtocolSpecificError

510

The operation error code contains a protocol-specific code.

Refused

511

The message was refused.

Operation Error Codes

The OperationErrorCodes enumerated type contains information about operation diagnostics, such as interruptions and detected errors. It contains these values:

Element

Value

Description

NotProcessed_or_TargetResourceMissing

513

The request was not processed or the target system resource is unavailable.

BadResponse

514

The received response is incorrect.

BadLengthOperCode

517

The length is incorrect.

CommChannelErr

518

The communication channel is associated with a detected error.

BadAddr

519

The address is incorrect.

SystemResourceMissingOperCode

523

A system resource is unavailable.

TargetCommInactive

524

A target communication function is not active.

TargetMissing

525

The target is unavailable.

ChannelNotConfigured

527

The channel is not configured.

Used By

  • AnalogIO

  • ConveyorOneDirection

  • ConveyorOneDirectionSILStopWCat1and2

  • ConveyorTwoDirections

  • ConveyorTwoDirectionsSILStopWCat1and2

  • DigitalIO

  • Energy

  • EnhancedStatus

  • MotorOneDirection

  • MotorOneDirectionSILStopCat1and2

  • MotorOneDirectionSILStopWCat3and4

  • MotorTwoDirections

  • MotorTwoDirectionsSILStopCat1and2

  • MotorTwoDirectionsSILStopWCat3and4

  • MotorTwoSpeeds

  • MotorTwoSpeedsSILStopCat1and2

  • MotorTwoSpeedsSILStopWCat3and4

  • MotorTwoSpeedsTwoDirections

  • MotorTwoSpeedsTwoDirectionsSILStopCat1and2

  • MotorTwoSpeedsTwoDirectionsSILStopWCat3and4

  • MotorYDOneDirection

  • MotorYDTwoDirections

  • Power

  • PowerInterface

  • PowerInterfaceIO

  • PowerSupply

  • Pump

  • ProductData

  • ReadDiagnostics

  • ReadSystemDiagnostics

  • ReadTripCounters

  • ReadTripRegisters

  • ReadAlarmCounters

  • Resistor

  • Switch

  • SwitchSILStopCat1and2

  • SwitchSILStopWCat3and4

  • SystemControl

  • SystemEnergyBasic

  • SystemMaintenanceData

  • SystemPowerBasic

  • SystemProductData

  • SystemTimeGet

  • SystemTimeSet

  • SystemVoltageBasic

  • SystemVoltageEnhanced

  • Transformer