FunctionMC_GrpReadErrorPLCopen motion iconPipe Network motion icon

Description

This function describes general axes group errors. This function does not cause any motion.

Figure 7-176: MC_GrpReadError

Related Functions

MC_GrpReset, MC_ErrorDescription

Coordinated Motion, the top-level topic for Coordinated Motion.

Arguments

Input

En Description Enables execution
  Data Type BOOL
  Range 0,1
  Unit N/A
  Default
AxesGroup Description The axes group from which the GroupErrorID will be read.
  Data Type AXES_GROUP_REF
  Range N/A
  Unit N/A
  Default

Output

OK Description Indicates the function executed successfully
  Data Type BOOL
GroupErrorID Description Displays the Error ID for the given Axis Group. See table in PLCopen Function Block ErrorID Output
  Data Type INT

Examples

Structured Text

//Read a group error number
GroupErrorID:= MC_GrpReadError( Axis_Group );

FBD

FFLD

Go back to the top of the page [Top]