Class DPIFaultObject

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class DPIFaultObject : public eipScanner::BaseObject

Implements interface to DPI Fault Object (0x97) of PowerFlex 525.

Public Functions

DPIFaultObject(cip::CipUint instanceId, const SessionInfoIf::SPtr &si)

Creates an instance and reads all its data via EIP.

Parameters
  • instanceId:

  • fullAttributes: if true, then read all the attributes

  • si: the EIP session for explicit messaging

DPIFaultObject(cip::CipUint instanceId, const SessionInfoIf::SPtr &si, const MessageRouter::SPtr &messageRouter)

Note

used for testing

Parameters
  • instanceId:

  • si:

  • messageRouter:

const DPIFaultObject::FullInformation &getFullInformation() const

Gets the full information [AttrID=1] of the fault.

Return

Public Static Attributes

const cip::CipUint CLASS_ID = 0x97
struct FullInformation

Informaion about the fault

Public Members

cip::CipUint faultCode

the code of the fault (0 is no fault)

cip::CipUsint dsiPort

DSI port.

cip::CipUsint dsiDeviceObject

DSI Device Object.

cip::CipString faultText

the text of the fault

cip::CipLword timerValue

timer value

bool isValidData

true if the timer value valid

bool isRealTime

true if the time is real else it is elapsed