Select Spindle


The expressions that need to be written inside Fusion 360, using “Manual NC” operation are:

SELECT SPINDLE=MAIN
SELECT SPINDLE=SUB

After adding this statement in Fusion360, the selected expression will be added to the generated APT file as follows.

GOTO/46.009998, 6.18, 66.
OPERATION/END
PPRINT/’SELECT SPINDLE=MAIN’
START/’OPERATION’
MODE/ MILL

The Type of UDE:

It is a standard type UDE. In standard usage, there is no need for an extra definition within MANUSpost Developer to activate this UDE. However, if desired, a UDE definition can be made for this UDE in the CAM settings section within MANUSpost Developer (can also be defined as Custom UDE). In this case, the user can make additional customizations on this UDE, create events, scripts and commands that are linked to this UDE, and use them.

What is it used for?

It is used in mill-turn machines with dual spindles and a single turret. It is used to determine which spindle is active and will be used for machining.

If the UDE is not added, the MAIN spindle is active by default.

How to deactivate it?

Once the UDE is activated, it will affect all subsequent operations. If it needs to be canceled for subsequent operations, the same UDE should be activated again by selecting the other option at the beginning of the operation where the UDE needs to be canceled.

For example, if “Main” is selected, selecting “Sub” will deactivate the UDE, and if “Sub” is selected, selecting “Main” will deactivate the UDE.

What Does it Affect/Change Inside MANUSpost Developer?

When this UDE is activated, the values of the variables “VAR.State.OpMainSpindle” and “VAR.State.OpSubSpindle” are automatically updated.

When “Main” is selected, the variable “VAR.State.OpMainSpindle” takes the value “True”, and the variable “VAR.State.OpSubSpindle” takes the value “False”.

When “Sub” is selected, the variable “VAR.State.OpMainSpindle” takes the value “False”, and the variable “VAR.State.OpSubSpindle” takes the value “True”