Function BlockMC_RemSuperAxisPLCopen motion icon

This function removes the Superimposed Axis from the Axis’s list of assigned superimposed axes. If the value at SuperimposedAxis is 0 all the assigned superimposed axes will be removed from Axis’s list. The OK output will go high to indicate that the function executed successfully. If the OK output does not go high, one of the following errors was detected:

  • Axis is not a valid axis
  • Axis is not a servo or virtual axis

Inputs

En

Description Enables Execution
Data Type BOOL
Range -
Unit N/A
Default  

Axis

Description Axis whose list of assigned superimposed axes will be updated.
Data Type AXIS_REF
Range .AXIS_NUM [1,256]
Unit N/A
Default N/A

SuperimposedAxis

Description Axis number of the superimposed axis that will be removed from Axis’s list of assigned superimposed axes. A value of 0 will remove all superimposed axes from Axis’s list.
Data Type UINT
Range N/A
Unit N/A
Default N/A

Outputs

OK

Description Execution successful
Data Type BOOL
Range N/A

Examples

Structured Text

RemOK := MC_RemSuperAxis(Axis1,3);

Function Block Diagram

Ladder Diagram

Related Functions

MC_AddSuperAxis

Go back to the top of the page [Top]