View Issue Details

IDProjectCategoryView StatusLast Update
000698930000: PLCopenApi Changepublic2021-09-07 17:04
ReporterPaul Hunkar Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Summary0006989: definition of bit 28 in status word
Description

The definition of bit 28 is reserserved (See Table 175 in part 4 1.04), but companion specification have used this bit much as bit 29 is being used and defined. I would recommend that the definition of Bit 28 be updated to read the same or similar to bit 29

note: even the definition of bit 29 is over written in PLCOpen, but at least it is not an incompatible definition - the bit 28 definition is incompatible since it shall be 0

Additional Information

From PLCOpen specification

1.1. Error Codes (ErrorID)
Error codes are 4 bytes long, data type being DWORD.
NOTE: Bit 29 in this DWORD value is used to differentiate between error codes defined by OPC Foundation and error codes defined by PLCopen or Vendor.

Field Bit Range Description
Severity 30:31 Indicates whether the ErrorCode represents a good, bad or uncertain condition. These bits have the following meanings:
Good success 00 Indicates that the operation was successful and the associated results may be used.
Uncertain Warning 01 Indicates that the operation was partially successful and that associated results might not be suitable for some purposes.
Bad Failure 10 Indicates that the operation failed and any associated results cannot be used.
Reserved 11 Reserved for future use. All Clients should treat an ErrorCode with this severity as “Bad”.

ErrorType 29 Value 0 indicates OPC error. Please find these error codes in OPC UA specification. Value 1 indicates PLCopen or vendor specific error signaled by BIT28.
ErrorType2 28 This flag can be evaluated only if BIT29 is Value 1. Value 0 indicates PLCopen error. Value 1 indicates vendor specific error.

TagsNo tags attached.

Activities

Jim Luth

2021-09-07 17:03

administrator   ~0014829

Agreed not to give up "reserved" status of BIT28. PLCOpen will need to change their spec.

Issue History

Date Modified Username Field Change
2021-06-04 20:13 Paul Hunkar New Issue
2021-09-07 17:03 Jim Luth Note Added: 0014829
2021-09-07 17:04 Jim Luth Project 10000-004: Services => 30000: PLCopen
2021-09-07 17:04 Jim Luth Category Spec => Api Change