MC_RemSuperAxis

PLCopen motion icon

 Function Block - Remove an axis from the axis's list of assigned, superimposed axes.

Inputs

Input

Data Type

Range

Unit

Default

Description

En

BOOL

FALSE, TRUE

N/A

N/A

Enables execution.

Axis

AXIS_REF

AXIS_NUM1 to 256

N/A

N/A

Axis whose list of assigned superimposed axes is updated.

SuperimposedAxis

UINT

N/A

N/A

N/A

Axis number of the superimposed axis that is removed from Axis’s list of assigned superimposed axes.

A value of 0 (zero) removes all superimposed axes from Axis’s list.

Outputs

Output

Data Type

Range

Unit

Description

OK

BOOL

FALSE, TRUE

N/A

Execution successful.

Remarks

This feature allows the application program to superimpose the moves of multiple axes ("Superimposed Axes") on top of the move of another axis ("Receiving Axis").

  • This is performed internally by adding the command deltas of the Superimposed Axes to the command delta of the Receiving Axis.
  • A maximum of four different Superimposed Axes can be superimposed upon a Receiving Axis.
  • If the value at SuperimposedAxis is 0 (zero), all assigned superimposed axes are removed from Axis’s list.
  • The OK output goes high to indicate the function executed successfully.
  • If the OK output does not go high, one of these errors is detected:
    • The axis is not a valid axis.
    • The axis is not a servo or virtual axis.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

RemOK := MC_RemSuperAxis(Axis1,3);

See Also

MC_AddSuperAxis