Channel parameters

P-CHAN-00338

Name of the manual block log file

Description

If the name is specified, each manual block command of the NC channel is logged to this file. In addition to later diagnostics capability, this file is also used for error display. This means that, if a CNC error occurs within the manual block, the commanded manual block is immediately displayed in the error message.

Parameter

mdi_log_file

Data type

STRING

Data range

Maximum 256 characters

Dimension

----

Default value

*

Remarks

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

P-CHAN-00339

Maximum size of the manual block log file

Description

Since the log file grows with every new manual block, this parameter limits the file size. If the size of the log file is exceeded, it is first cleared automatically before the current manual block is logged.

Parameter

mdi_log_file_max_size

Data type

UNS32

Data range

0 ... MAX(UNS32)

Dimension

----

Default value

0 *

Remarks

* no size limitation

P-CHAN-00378

Error cause (filtering error messages in the channel)

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-CHAN-00379

Error action (filtering error messages in the channel)

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

Keyword

Meaning

NONE

No action

DRIVE_STATE_REQ

Reading out the 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-CHAN-00380

Conditional activation (filtering error messages in the channel)

Description

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

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-CHAN-00381

Conditional action (filtering error messages in the channel)

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-CHAN-00382

Conditional filter activation (filtering error messages in the channel))

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 currently 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-CHAN-00383

Output of additional error information (filtering error messages in the channel))

Description

This text is forwarded transparently via the CNC_ERROR_INFO data structure if the filter condition applies. This means that the user has the option to output an additional error text conditionally.

Parameter

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

Data type

STRING

Data range

Maximum of 32 characters

Dimension

----

Default value

*

Remarks

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