User data of an error message

Error number

Description

Unique error number.

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.error_id

Data type

UDINT

Access

PLC reads

Special features

Used for internal diagnostic purposes.

Module name of the module signalling an error

Description

Module name of the module signalling an error

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.modul_name.zeichen

Data type

STRING(HLI_MODUL_NAME_LAENGE)

Access

PLC reads

Special features

Used for internal diagnostic purposes.

Line number

Description

Line number in the module on which the error occurred.

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.line

Data type

INT

Access

PLC reads

Special features

Used for internal diagnostic purposes.

Error number of a utility function

Description

Error number when a utility function is used.

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.util_error_id

Data type

UDINT

Access

PLC reads

Special features

Used for internal diagnostic purposes.

Module name of the module with utility functions signalling an error

Description

Module name of the module with utility functions signalling an error

Signal flow

CNC → PLC

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.util_modul_name.zeichen

Data type

STRING(HLI_MODUL_NAME_LAENGE)

Access

PLC reads

Special features

Used for internal diagnostic purposes.

Line number of a utility function

Description

Line number of the line in which the error occurred in a module with utility function.

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.util_line

Data type

INT

Special features

Used for internal diagnostic purposes.

Multiple error number

Description

Error messages may be issued at several different points in the NC kernel. A unique multiple error number is issued to distinguish multiple usage.

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.multiple_id

Data type

UINT

Special features

Used for internal diagnostic purposes.

Type of commandable function

Description

Type of commandable function in which an error occurred.

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.bf_type

Data type

UINT

Special features

Used for internal diagnostic purposes.

Channel number

Description

Channel number of the channel in which the signalled error occurred.

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.cnc_channel

Data type

UINT

Communication ID

Description

Communication ID of the BF signalling an error in the CNC

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.kommu_id

Data type

UINT

Access

PLC reads

Special features

Used for internal diagnostic purposes.

Time specification on output of an error message:

Description

Date of the instant of the error message

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.fb_zeitangabe.date_counter

Data type

UDINT

Special features

Currently not implemented, value is always 0.

Time specification on output of an error message: Interrupt cycles since system start

Description

Number of interrupt cycles since system start at the instant of an error message

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.fb_zeitangabe.zykl_counter

Data type

UDINT

Access

PLC reads

CNC version name

Description

Version name of the CNC specified in the error message.

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.version_name.zeichen

Data type

STRING(HLI_VERSION_NAME_LAENGE)

Recovery class

Description

Recovery class of an error

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.behebungs_klasse

Data type

UINT

Value range

[0, 8]

Reaction class of an error

Description

Reaction class of an error

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.reaktions_klasse

Data type

UINT

Value range

[0, 8]

Body type of an error

Description

Body type of an error. Depending on the error type, the error set body contains further information on the error which occurred. The individual structure elements are described in [DIAG].

ST path

gpCh[channel_idx]^.mc_error.satz_r.kopf.rumpf_typ

Value range

Value

Constant

1

HLI_RUMPF_TYP_NC_PROG

2

HLI_RUMPF_TYP_MDS

3

HLI_RUMPF_TYP_KOMMU

4

HLI_RUMPF_TYP_RAMDISK

5

HLI_RUMPF_TYP_FILE

6

HLI_RUMPF_TYP_INTPR_FILE

7

HLI_RUMPF_TYP_LISTE_BINAER

8

HLI_RUMPF_TYP_GCM

9

HLI_RUMPF_TYP_LEER

10

HLI_RUMPF_TYP_HLI

11

HLI_RUMPF_TYP_NC_PROG_LR