Robox Library for Cpp: BCC/31 module 1.0.0
RLibCpp BCC/31 protocol implementation
Classes | Public Types | Public Member Functions | List of all members
CanRbxChDiagItem Class Reference

The data for a Robox diagnostic CANopen channel item. More...

#include <client.h>

Classes

class  Vector
 Class to handle with lists of CanRbxChDiagItem. More...
 

Public Types

enum  ChannelStatuss { chStsBootUpSuccess = 0x00000001 , chStsMainSwLoadSuccess = 0x00000002 , chStsConfigurationSuccess = 0x00000004 , chStsChannelNotPresent = 0x80000000 }
 Channel status. More...
 
enum  ChannelDiagnostics {
  chDiagFaultInCanHandler1 = 0x00000001 , chDiagFaultInCanHandler2 = 0x00000002 , chDiagFaultInCanHandler3 = 0x00000004 , chDiagImmediateWatchdogFault = 0x00010000 ,
  chDiagFilteredWatchdogFault = 0x00020000 , chDiagHandshakeNotReady = 0x00040000 , chDiagGlobalCommunicationFault = 0x00080000 , chDiagPLLLost = 0x00100000
}
 Channel diagnostic. More...
 

Public Member Functions

uint16_t chID () const
 Get the channel ID.
 
void setChID (uint16_t value)
 Set the channel ID.
 
ChannelStatuss chStatus () const
 Get the channel status.
 
void setChStatus (ChannelStatuss value)
 Set the channel status.
 
ChannelDiagnostics chDiag () const
 Get the channel diagnostic.
 
void setChDiag (ChannelDiagnostics value)
 Set the channel diagnostic.
 

Detailed Description

The data for a Robox diagnostic CANopen channel item.

Member Enumeration Documentation

◆ ChannelDiagnostics

Channel diagnostic.

Enumerator
chDiagFaultInCanHandler1 

Fault in Can Handler 1.

chDiagFaultInCanHandler2 

Fault in Can Handler 2.

chDiagFaultInCanHandler3 

Fault in Can Handler 3.

chDiagImmediateWatchdogFault 

Watchdog fault (immediate)

chDiagFilteredWatchdogFault 

Watchdog fault (filtered)

chDiagHandshakeNotReady 

Handshake not ready.

chDiagGlobalCommunicationFault 

Global communication fault.

chDiagPLLLost 

PLL lost - no synch signal is sent.

◆ ChannelStatuss

Channel status.

Enumerator
chStsBootUpSuccess 

Successful boot-up operation.

chStsMainSwLoadSuccess 

Successful main software load.

chStsConfigurationSuccess 

Successful configuration.

chStsChannelNotPresent 

Not present channel.

Member Function Documentation

◆ chDiag()

ChannelDiagnostics chDiag ( ) const

Get the channel diagnostic.

Returns
The parameter value

◆ chID()

ushort chID ( ) const

Get the channel ID.

Returns
The parameter value

◆ chStatus()

ChannelStatuss chStatus ( ) const

Get the channel status.

Returns
The parameter value

◆ setChDiag()

void setChDiag ( ChannelDiagnostics value)

Set the channel diagnostic.

Parameters
valueThe value to set

◆ setChID()

void setChID ( uint16_t value)

Set the channel ID.

Parameters
valueThe value to set

◆ setChStatus()

void setChStatus ( ChannelStatuss value)

Set the channel status.

Parameters
valueThe value to set