Submachine definition in the machine schemas

Submachine is a list of parameters for the <tool holder, workpiece holder> pair. This is especially topical for complex machines with multiple spindles, multiple places for the workpiece, etc.

Submachine definition example for the
<SubMachinesList Expanded="false">
<SCType ID="MainMill" Caption="Main spindle - Mill head" Type="SubMachine">
<ToolNode DefaultValue="AxisS"/>
<WrkNode DefaultValue="AxisC"/>
<Channel DefaultValue="1"/>
<XAxisID DefaultValue="AxisX"/>
<YAxisID DefaultValue="AxisY"/>
<ZAxisID DefaultValue="AxisZ"/>
<ToolAxisID DefaultValue=""/>
<OriginG54BaseNode DefaultValue="Base"/>
<ApproachRule DefaultValue="BC; Y Z(10); X"/>
<ReturnRule DefaultValue="Z(10); X; Z"/>
<DetailedApproachRules>
<TurnRadial DefaultValue="BS;Z;X"/>
<TurnAxial DefaultValue="BS;Z(10);X;"/>
<MillRadial DefaultValue="BC;Z;X"/>
<MillAxial DefaultValue="BC;Z;X"/>
<MillLCS DefaultValue="BC;Z;X;LCS;XY;Z"/>
<MillTCPM DefaultValue="BC;Z;X;LCS;XY;Z"/>
</DetailedApproachRules>
<DetailedReturnRules>
<TurnRadial DefaultValue="X;Z"/>
<TurnAxial DefaultValue="Z(10);X;Z"/>
<MillRadial DefaultValue="X;Z"/>
<MillAxial DefaultValue="Z(10);X;Z"/>
<MillLCS DefaultValue="LCS;X;Z"/>
<MillTCPM DefaultValue="LCS;X;Z"/>
</DetailedReturnRules>
</SCType>
  • ToolNode is a common parent node for all tool holders that belong to the sub-machine

  • WrkNode is a common parent node for all workpiece holders that belong to the sub-machine

  • XAxisID, YAxisID, ZAxisID - the axes that are responsible for the motion along X,Y,Z.

  • ToolAxisID - the ID of the turret axis if it exists.

  • OriginG54BaseNode - the ID of the axis where the workpiece coordinate system (WCS) is attached

  • OriginG54 - additional transformation for the WCS. For example it allows to overturn the Z-axis in the counter spindle

  • ApproachRule, ReturnRule - the default rules that will be used to build the approaches or returns for the submachine in general.

  • DetailedApproachRules, DetailedReturnRules - the default rules for this submachine in different tool configurations. Tool approaches and returns must consider the specifics of the tool and workpiece positions. Hence, the system allows for setting approach and return schemas individually for each tool position on the submachine. Approach rules are defined in the section of the corresponding submachine between the <DetailedApproachRules> tags. These rules are specified individually for each tool type and position within the appropriate tags. The following tags are available:

    • TurnRadial – a lathe cutting tool with a radial setup.

images/download/attachments/128537442/image2024-10-8_16-34-16.png

  • TurnAxial – a lathe tool (e.g., a non-rotating drill) with an axial setup.

images/download/attachments/128537442/image2024-10-8_16-42-37.png

  • MillRadial – a milling tool (including a rotating drill) with a radial orientation (the tool axis is perpendicular to the workpiece axis).

images/download/thumbnails/128537442/image2024-10-8_16-47-42.png

  • MillAxial - a milling tool (also a rotating drill) featuring an axial arrangement (the tool’s axis is parallel to the workpiece axis).

images/download/thumbnails/128537442/image2024-10-8_16-50-10.png

  • MillLCS - a milling tool (also a rotating drill) applied in four- or five-axis indexing machining operations.

images/download/attachments/128537442/image2024-10-9_8-59-39.png

  • MillTCPM - a milling tool (also a rotating drill) applied in continuous four- or five-axis machining processes with TCPM support.

images/download/attachments/128537442/image2024-10-9_9-0-6.png

DefaultValue - the approach/return rule for the specific tool setup, applied by default. It appears in the Links tab for each submachine after the relevant workpiece and tool connectors are defined. The format of rules is the same as in the general Approach and return rules.

When the approach/retract rules for submachines or a specific tool setup are not specified, the general machine default rules will be applied.

If no submachine is declared in the schema, then any tool holder can be used with any workpiece holder. It's done for the compatibility with the schemas developed for the previous versions of CAM system.

For example, for the MTM turn-milling machine with two turrets and two spindles the following submachines can be defined:

  1. <Upper turret, main spindle>

  2. <Upper turret, counter spindle> if Upper turret is able to work with the counter spindle

  3. <Lower turret, main spindle> if lower turret is able to work with the main spindle

  4. <Lower turret, counter spindle>

  5. <Main spindle, counter spindle> for the takeover from the main spindle to the counter spindle

  6. <Counter spindle, main spindle> for the takeover from the counter spindle to the main spindle

CAM system does not allow to choose the tool holder in the operation if it can not be used with the current workpiece holder (there is no submachine for given pair, but there are other submachines).

The examples of the submachines declaration are available in the schemas "Index G160" and "Hanwha 32" that are included into the standard package.