MCV_GrpReadErrorInfo

The function block displays additional information concerning the actual error in the motion controller to facilitate the diagnosis and elimination of the error.

Block diagram

FB parameters

VAR_IN_OUT

Variable name

Data type

Description

AxesGroup

AXES_GROUP_REF

Axis group reference

VAR_INPUT

Variable name

Data type

Description

Enable

BOOL

As long as input is TRUE, the function block displays additional information on the actual error of the motion controller.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

TRUE indicates that the information concerning the actual error is valid.

Error

BOOL

TRUE indicates that an error occurred when the information in the current error is read.

ErrorID

WORD

Error identifier

GroupErrorID

UDINT

Error number of the actual axis group error.

JobID

UDINT

Ordinal number of the command when the displayed error occurred.

ProgramName

HLI_PROG_NAME

Name of the NC program that was started by a function block MC_MovePath.

FileName

HLI_FILE_NAME

Name of file that contains the NC program that is displayed at output “ProgramName”.

FileOffset

UDINT

Offset in the NC program file that determines the location where the actual error occurred.

Unit: Bytes

BlockNr

DINT

Displays the NC block number of the NC program where the current error occurred if the NC block was addressed by the N function ([PROG//N function]).

Behaviour of the FB: