MC_UngroupAllAxes

PLCopen motion icon Pipe Network motion icon

 Function Block - Removes all axes from an axes group.


    • This function block starts a motion-related action and stores data for calculations and error checking.
    • If using a dual-core controller, see Program a Multi-Core Controller.
  • See Coordinated Motion, the top-level topic for Coordinated Motion.
  • This function or function block does not generate any motion.
  • This function block can be issued in the group states: (GroupDisabled, GroupStandby, or GroupErrorStop).
    • The axes group state is changed to GroupDisabled upon successful completion.
  • MC_UngroupAllAxes fails if the group is in any state other than GroupStandby or GroupDisabled.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

Execute

BOOL

FALSE, TRUE

N/A

No default

On the rising edge, request to remove all axes in the axes group.

AxesGroupRef

AXES_GROUP_REF

No range

N/A

No default

The axis group from which to remove all axes.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

Done

BOOL

FALSE, TRUE

N/A

If TRUE, the command completed successfully.

Error

BOOL

FALSE, TRUE

N/A

If TRUE, an error has occurred.

ErrorID

INT

Enumerated

N/A

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

            Inst_MC_UngroupAllAxes( ExecuteUngroup, Group1_Ref ); 

See Also