ST_CoE_DiagHistory_Options

Syntax

TYPE ST_CoE_DiagHistory_Options :
STRUCT
    nLangId                                : DINT := 1033;        
    eBufferMode                            : E_CoE_0x10F3_DiagHistory_BufferMode := E_CoE_0x10F3_DiagHistory_BufferMode.OverwriteMode;  
    bEnableEmergSending                    : BOOL := TRUE;  
    bFilterOutInfoMsgs                     : BOOL := FALSE;    
    bFilterOutWarnMsgs                     : BOOL := FALSE;
    bFilterOutErrMsgs                      : BOOL := FALSE;
    bDisableAutoRecoverAfterConnectionErr  : BOOL := FALSE;
    bExcludeTextIdFromMsgText              : BOOL := FALSE;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

nLangId

DINT

Optional: Language ID,
1033 = English (US) (default),
1031 = German etc.

eBufferMode

E_CoE_0x10F3_DiagHistory_BufferMode

Overwrite or Acknowledge mode

bEnableEmergSending

BOOL

TRUE: New diagnostic messages are sent as emergency messages.
FALSE: The sending of emergency messages is disabled. New diagnostic messages are not sent as emergency messages.

bFilterOutInfoMsgs

BOOL

Info messages are not listed in the output field of the diagnostic messages.

bFilterOutWarnMsgs

BOOL

Warning messages are not listed in the output field of the diagnostic messages.

bFilterOutErrMsgs

BOOL

Error messages are not listed in the output field of the diagnostic messages.

bDisableAutoRecoverAfterConnectionErr

BOOL

This disables the automatic re-establishment of the connection to the EtherCAT diagnostic history.
By default, the connection is re-established after a connection error if the bEnable input is still TRUE.

bExcludeTextIdFromMsgText

BOOL

Setting this option removes the text ID from the message text.