PLCnext API Documentation  22.9.0.33
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Arp::Io::ProfinetStack::Controller::Services::DiagnosticInfo Class Reference

Container for a combination of an error code and a value which is a result for a read operation to a single setting. More...

#include <DiagnosticInfo.hpp>

Inheritance diagram for Arp::Io::ProfinetStack::Controller::Services::DiagnosticInfo:
Inheritance graph

Public Member Functions

void Serialize (RscWriter &writer) const override
 Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
 
void Deserialize (RscReader &reader) override
 Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
 
- Public Member Functions inherited from Arp::System::Rsc::Services::IRscSerializable
virtual ~IRscSerializable ()=default
 default destructor More...
 

Static Public Member Functions

static constexpr size_t GetFieldCount (void)
 
- Static Public Member Functions inherited from Arp::System::Rsc::Services::IRscSerializable
static size_t GetFieldCount (void)
 Returns the count of fields of the struct type More...
 

Public Attributes

uint16 ArUserId = 0
 User specific identifier of this AR More...
 
uint16 DiagCode = 0
 Special status of this AR, bitwise coded. More...
 

Detailed Description

Container for a combination of an error code and a value which is a result for a read operation to a single setting.

A sequence of instances of this structure is used as result by Arp.Io.ProfinetStack.Controller.Services.IArDataService.GetArDiagnosis.

Member Function Documentation

◆ Deserialize()

void Arp::Io::ProfinetStack::Controller::Services::DiagnosticInfo::Deserialize ( RscReader reader)
inlineoverridevirtual

Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.

Parameters
readerReference to RscReader.

Implements Arp::System::Rsc::Services::IRscSerializable.

◆ Serialize()

void Arp::Io::ProfinetStack::Controller::Services::DiagnosticInfo::Serialize ( RscWriter writer) const
inlineoverridevirtual

Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.

Parameters
writerReference to RscWriter

Implements Arp::System::Rsc::Services::IRscSerializable.

Member Data Documentation

◆ ArUserId

uint16 Arp::Io::ProfinetStack::Controller::Services::DiagnosticInfo::ArUserId = 0

User specific identifier of this AR

◆ DiagCode

uint16 Arp::Io::ProfinetStack::Controller::Services::DiagnosticInfo::DiagCode = 0

Special status of this AR, bitwise coded.

  • Bit 0: set if not connected
  • Bit 1: set if data invalid
  • Bit 2: set if diagnosis is available
  • Bit 3: set if module difference is available in case of configuration difference
  • Bit 4: set if AR is deactivated
  • Bit 5: set if neighborhood information is not available
  • Bit 6: neighborhood information not unique
  • Bit 7 - Identify.cnf on alias received, but name of the device is already configured in another AR
  • Bit 8: Maintenance Required Information is available
  • Bit 9: Maintenance Demanded Information is available
  • Bit 10: Channel or Manufacturer Specific Diagnosis Information are available
  • Bit 11..15: reserved (shall be 0)

The documentation for this class was generated from the following file: