AxisControlGroup

The AxisControlGroup element represents a group of axes that are operated together ‘as one’.

Note

To create an AxisControlGroup it is first required to instantiate axis controls.

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
<Controller Name="Arcas 5EG-0">
  <!-- Instantiate AxisControls from an existing Template -->
  <AxisControl Name="X" Template="LogicalAxisControlStandard3rdOrderTemplate"/>
  <AxisControl Name="Y" Template="LogicalAxisControlStandard3rdOrderTemplate"/>
  <AxisControl Name="Z" Template="LogicalAxisControlStandard3rdOrderTemplate"/>

  <!-- Instantiate GroupAxisControl from an existing Template -->
  <AxisControlGroup Name="XYZ-group" Template="AxisControlGroupTemplate">
    <AxisControl Name="X"/>
    <AxisControl Name="Y"/>
    <AxisControl Name="Z"/>
  </AxisControlGroup>
</Controller>

Note

An axis control group is instantiated (and scoped) within a controller. If an axis control group with the provided name already exists in the controller where it is defined, then either:

  • if the exact same axis controls are listed, then the group is reconfigured.

  • otherwise, initialization fails. For name uniqueness it is required that each axis control listed carries a unique name.

XML schema

Complex type AxisControlGroupType
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
<xs:complexType name="AxisControlGroupType">
  <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="AxisControl" type="NamedReferenceType"/>
    <xs:element name="CommandQueue" type="CommandQueueType"/>
    <xs:element name="Signal" type="SignalType"/>
    <xs:element name="StateMachine" type="StateMachineType"/>
    <xs:element name="Event" type="EventType"/>
    <xs:element name="EventResponse" type="EventResponseType"/>
    <xs:element name="Variant" type="AxisControlGroupVariantType"/>
    <xs:element name="NamedMutation" type="NamedMutationType"/>
  </xs:choice>
  <xs:attribute name="Name" type="xs:string" use="required"/>
  <xs:attribute name="Template" type="xs:string" use="optional"/>
</xs:complexType>

Attribute

Description

Name

Used to define a name for an axis control group block.

Template

Specifies the template, which is required to be instantiated.

Complex type AxisControlGroupVariantType
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
<xs:complexType name="AxisControlGroupVariantType">
  <xs:complexContent>
    <xs:extension base="BaseVariantType">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="AxisControl" type="NamedReferenceType"/>
        <xs:element name="CommandQueue" type="CommandQueueType"/>
        <xs:element name="Signal" type="SignalType"/>
        <xs:element name="StateMachine" type="StateMachineType"/>
        <xs:element name="Event" type="EventType"/>
        <xs:element name="NamedMutation" type="NamedMutationType"/>
        <xs:element name="EventResponse" type="EventResponseType"/>
        <xs:element name="Variant" type="AxisControlGroupVariantType"/>
      </xs:choice>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>