Start-up parameters

P-STUP-00166

Logging a CNC reset as event in error message output

Description

This parameter defines whether the CNC reset triggered by the user is included as an event in the error message log.

Previous error messages are acknowledged when the CNC is reset. This always occurs regardless of the setting of P-STUP-00166.

Parameter

no_error_message_at_reset

Data type

BOOLEAN

Data range

0:  a CNC reset is logged as warning ID 270076 in the error message output.

1  a CNC reset is not logged

Dimension

----

Default value

0

Remarks

 

P-STUP-00167

Logging mode of error output

Description

This parameter controls the output and scope of the error output.

Parameter

error_protocol_mode

Data type

STRING

Data range

Flag

Meaning

FILTER_OFF

No filters are evaluated

VERBOSE

Extended internal diagnostics

WITHOUT_ERROR_MANAGER

Direct output without error management

PRINT

Execute print output

LOG

Log output to log file

REPORT

Log output to log file

SEND_TO_PLC_NONE

Suppress output to the PLC

PRINT_EXTENDED

Extended print output

LOG_EXTENDED

Extended log output

REPORT_EXTENDED

Extended application-specific output

PRINT_NO_WARNINGS

Warnings are suppressed in the print output

LOG_NO_WARNINGS

Warnings are suppressed in the log output

REPORT_NO_WARNINGS

Warnings are suppressed in the report output

SEND_TO_PLC_NO_WARNINGS

Suppress warnings to PLC

STARTUP_NO_WARNINGS

Suppress warnings during controller start-up

NO_WARNINGS

Suppress all warnings

TC3_EVENT_LOGGER

Output to TC3 Event Logger

TC3_EVENT_LOGGER_CONFIRMED

Output to TC3 Event Logger, automatic confirmation (state confirmed) on deletion of error message

TC3_EVENT_LOGGER_NO_CONFIRMATION

Output to TC3 Event Logger without confirmation request

Dimension

----

Default value

LOG | PRINT | REPORT

Remarks

Note:

For example, to suppress warnings in the print output, the entire mode must be set accordingly.

error_protocol_mode LOG | PRINT | REPORT | PRINT_NO_WARNINGS

P-STUP-00168

Name of the file for error message texts

Description

Name of the file containing the error message texts which belong to the ID (error number). These can be used for output to the log file. This file is used to assign an error number to the related error message text.

The file contains one line in the following format for each error ID:

<Error-ID> TABULATOR <Error-Text>

The default file 'err_text_version_eng.txt' is assumed if no file is specified.

Parameter

error_text_of_id

Data type

STRING

Data range

Maximum 256 characters

Dimension

----

Default value

err_text_version_eng.txt

Remarks

 

P-STUP-00169

Name of the file for user-specific error message texts

Description

Comparable to default error texts (see P-STUP-00168), you can also specify user-specific texts in this file. These texts are for error IDs in the range [1;1000] which the user can define himself with the NC command #ERROR and they are used for errors in the McCOM interfaces. This file is used to assign an error number to the related user-specific error message text.

The file contains one line in the following format for each error ID:

<Error-ID> TABULATOR <user_specific_error-text>

The filename is configured with relative or absolute path name.

For further information see (FCT-M7// Outputting user error messages)

Parameter

error_text_user_of_id

Data type

STRING

Data range

Maximum 256 characters

Dimension

----

Default value

*

Remarks

* Note: The default value of variables is a blank string.

The returned error IDs of the McCOM methods are resolved for error values 292030- 292033 (ERR_KIN_TRAFO_CONFIG/ -INITIALIZE/ -FORWARD/ -BACKWARD).

P-STUP-00170

Name of the error log file

Description

Name of the error log file (including directory and path information).

If no complete name is specified, no log file is generated and the error message ID 296000 is output.

If the parameter is not configured, the error log file is generated with the default file name.

Parameter

error_log_file_name

Data type

STRING

Data range

Maximum of 256 characters

Dimension

----

Default value

<TwinCATInstallation>\Components\Mc\CNC\Diagnostics\error.log

Remarks

The default filename and the associated path are application-dependent.

P-STUP-00171

Maximum size of the error log file in bytes

Description

This parameter defines the maximum size of the error log file.

Parameter

error_log_file_max_size

Data type

SGN32

Data range

> 0 :maximum size of the error log file. If this size is exceeded, the original file is copied to a backup file (extension: <name>.bak) and the contents of the original file are deleted.

== 0 : no backup file is created.

Dimension

----

Default value

100000

Remarks

 

P-STUP-00172

Waiting cycles before evaluation of PLC activation

Description

Waiting cycles in CNC ticks after an error has occurred before the PLC's activation mask for the filter rules is evaluated.

Parameter

error_plc_wait_cycles

Data type

UNS32

Data range

0 ... MAX(UNS32)

Dimension

----

Default value

-

Remarks

 

P-STUP-00173

Additional descriptive text (AO name)

Description

Descriptive text (architecture object) that is additionally appended in the event of an error message.

Parameter

error_ao_name

Data type

STRING

Data range

Maximum 83 characters

Dimension

----

Default value

*

Remarks

* Note: The default value of variables is a blank string.

P-STUP-00186

Cause of error

Description

The individual error codes can be listed as numbers or texts, whereby the entire row must comply with the following syntax:

( number | text ) {, ( number | text ) }

 

where:

number:= CNC error number

text:=" error-specific text "

 

Example:

error_filter[0].reason "D012:", 123000, 123001

 

If an error is logged, the program looks in the defined platform/channel/axis filters whether a user-specific filter rule is defined for it.

Parameter

error_filter[i].reason where i = 0 ... 3 (maximum number of filters, application-specific)

Data type

STRING

Data range

Maximum of 96 characters

Dimension

----

Default value

*

Remarks

* Note: The default value of variables is a blank string.

P-STUP-00187

Error action

Description

Action that is to be performed if an error occurs.

Parameter

error_filter[i].action where i = 0 ... 3 (maximum number of filters, application-specific)

Data type

STRING

Data range

ACTION = NONE | DRIVE_STATE_REQ | PRE_RUN_STATE_REQ | RUN_STATE_REQ

 

NONE: No action

DRIVE_STATE_REQ: Read out drive status

PRE_RUN_STATE_REQ: Error at start-up of the controller bus in PRE-run state

RUN_STATE_REQ: Error at start-up of the controller bus in Run state

Dimension

----

Default value

*

Remarks

For SERCOS drive profiles:

DRIVE_STATE_REQ: S-0-0095 diagnostic

PRE_RUN_STATE_REQ: S-0-0021: list of unknown operation data in CP2 -> CP3, command 127

RUN_STATE_REQ: S-0-0022: list of unknown operation data in CP3 -> CP4, command 128

For ProfiDrive profiles:

<all actions> Parameter 945

 

For CANopen profiles

<all actions> Parameter ID603F

* Note: The default value of variables is a blank string.

P-STUP-00188

Conditional activation

Description

This filter rule is activated when the corresponding bit is set via the user interface or the PLC (HLI::ControlUnit- Activating error filter rules - Platform).

Parameter

error_filter[i].conditional_activation where i = 0 ... 3 (maximum Number of filters, application-specific)

Data type

UNS32

Data range

32-bit

Dimension

----

Default value

0

Remarks

Parameterisation example:

error_filter[0].conditional_activation 0x2

 

An activation bit = 0 means that the action is always executed.

P-STUP-00189

Conditional action

Description

Action that is to be executed if an error occurs and if the condition applies.

Parameter

error_filter[i].conditional_action where i = 0 ... 3
(maximum number of filters, application-specific)

Data type

STRING

Data range

ACTION = NONE | ( [ HIDE ] [ FORCE ] )

FORCE = F_WARNING | F_SYNTAX | F_ERROR | F_SEVERE | F_FATAL

HIDE = [ HIDE ] [ HIDE_LOG ] [ HIDE_PRINT ] [ HIDE_REPORT ]

 

NONE: no action

 

HIDE: Suppress every error output

HIDE_LOG: Error output to error log file is suppressed

HIDE_DISPLAY: Error output is suppressed

HIDE_REPORT: Application-specific error output is suppressed

 

F_WARNING: Error is output as a WARNING (remedy class = 0)

F_SYNTAX: Error is output as a syntax error (remedy class = 2)

F_ERROR: Error due to NC program or other operator action (error remedy class = 5)

F_SEVERE: Severe error, requires a warm start (remedy class = 6)

F_FATAL: Severe error, requires a complete cold start (remedy class = 7)

Dimension

----

Default value

*

Remarks

* Note: The default value of variables is a blank string.

P-STUP-00190

Conditional filter activation

Description

The individual error codes can be listed as numbers or texts, whereby the entire row must comply with the following syntax:

( number | text ) {, ( number | text ) }

 

where:

number:= CNC error number

text := " error-specific text "

Parameter

error_filter[i].conditional_param where i = 0 ... 3 (maximum number of filters, application-specific)

Data type

STRING

Data range

Maximum of 96 characters

Dimension

----

Default value

*

Remarks

Parameterisation example:

error_filter[0].conditional_param "D012:", 123, 1001

 

Individual error texts are only checked when the SERCOS drive error S95 is read out.

Error numbers are only checked in case of SERCOS drive errors (S21 and S22) and in case of ProfiDrive drive errors (parameter 945).

* Note: The default value of variables is a blank string.

P-STUP-00191

Output of additional error information

Description

This text is forwarded transparently via the CNC_ERROR_INFO data structure if the filter condition applies, i.e. users have a possibility of conditionally also including additional error information in the output.

Parameter

error_filter[i].conditional_output where i = 0 ... 3 (maximum number of filters,
application-specific)

Data type

STRING

Data range

Maximum 32 characters

Dimension

----

Default value

*

Remarks

* Note: The default value of variables is a blank string.

P-STUP-00200

Name of the file for error message texts of CNC cycles

Description

Name of the file containing the error message texts which belong to the ID (error number). These can be used for output to the log file. This file is used to assign an error number to the related error message text.

The file contains one line in the following format for each error ID:

<Error-ID> TABULATOR <Error-Text>

Parameter

error_text_cycles_of_id

Data type

STRING

Data range

Maximum 256 characters

Dimension

----

Default value

err_text_cycles_eng.txt

Remarks