MC_GrpReadError

PLCopen motion icon Pipe Network motion icon

 Function - Reads the Group ErrorID in state ERRORSTOP.

Inputs

Input

Data Type

Range

Unit

Default

Description

En

BOOL

FALSE, TRUE

N/A

No default

Enables execution.

AxesGroup

AXES_GROUP_REF

No range

N/A

No default

The axes group the GroupErrorID is read from.

Outputs

Output

Data Type

Range

Unit

Description

OK

BOOL

FALSE, TRUE

N/A

Indicates the function executed successfully.

GroupErrorID

INT

No range

N/A

Shows the Error ID for the given Axis Group.

See PLCopen Function Block ErrorIDs.

Remarks

  • See Coordinated Motion, the top-level topic for Coordinated Motion.
  • This function or function block does not generate any motion.

Figure 1: MC_GrpReadError

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

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

See Also