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;
    nChannelNo    :  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

If the message is a module-specific message, the module number or slot number (starting with 1) is output here.

nChannelNo

UINT

If the message is an axis-specific message, the channel number or axis number (starting with 1) is output here.
This information is only supported by drives from Beckhoff Automation.

sMsgText

STRING

Message text