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;  
    bDisableInfoMsgs                       : BOOL := FALSE;    
    bDisableWarnMsgs                       : BOOL := FALSE;
    bDisableErrMsgs                        : BOOL := FALSE;
    bDisableAutoRecoverAfterConnectionErr  : BOOL := FALSE;
    bExcludeTextIdFromMsgText              : BOOL := FALSE;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

nLangId

DINT

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

eBufferMode

E_CoE_0x10F3_DiagHistory_BufferMode

Overwrite or Acknowledge mode

bEnableEmergSending

BOOL

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

bDisableInfoMsgs

BOOL

Info messages are disabled.

bDisableWarnMsgs

BOOL

Warning messages are disabled.

bDisableErrMsgs

BOOL

Error messages are disabled.

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.