ST_CoE_DiagHistory_Entry

Syntax

TYPE ST_CoE_DiagHistory_Entry :
STRUCT
    eMsgType      :  E_CoE_0x10F3_DiagHistory_MsgType;  
    bAckStatus    :  BOOL;  
    stTimeStamp   :  TIMESTRUCT;    
    {attribute 'displaymode':='hex'}
    nDiagCode     :  UDINT;   
    eDiagCodeType :  E_CoE_0x10F3_DiagHistory_DiagCodeType; 
    {attribute 'displaymode':='hex'}
    nTextId       :  UINT;       
    nModuleNo     :  UINT;   
    sMsgText      :  STRING(DiagHistory_Parameters.cMsgStringLength);
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

eMsgType

E_CoE_0x10F3_DiagHistory_MsgType

Type of message/diagnosis
This can be converted into a string using the TO_STRING() method.

bAckStatus

BOOL

Status of the confirmed message

stTimeStamp

TIMESTRUCT

Timestamp

nDiagCode

UDINT

Diagnostic code - numerical value

eDiagCodeType

E_CoE_0x10F3_DiagHistory_DiagCodeType

Typing the diagnostic code
This can be converted into a string using the TO_STRING() method.

nTextId

UINT

Text ID

nModuleNo

UINT

Diagnostic code module number

sMsgText

STRING

Message text