AxisControl¶
The AxisControl
element can be used to configure an axis control.
- The Name
attribute of the AxisControl
element is used to select the required axis control interface.
- The Template
attribute of the AxisControl
element can be used to select the template from which an axis control can be instantiated.
Note
Master controller requires to instantiate an
AxisControl
from a template as the axis controls are not predefined.Sub-controllers do not require
AxisControl
instantiation from a template as the axis controls are predefined.
See also
- Axis control
Explanation of the general concept of axis control and its purpose in the motion software.
Example¶
1 2 3 4 5 6 7 8 9 | <Controller Name="Arcas 5EG-0">
<!-- Instantiate an AxisControl from an existing Template -->
<AxisControl Name="X" Template="LogicalAxisControlStandard3rdOrderTemplate"/>
<Controller Name="Cygnus Q3-48-10-1">
<NamedMutation FromDefault="AxisControl1" To="XAxis"/>
<AxisControl Name="XAxis"/>
</Controller>
</Controller>
|
Note
A AxisControl
cannot be instantiated on a slave.
XML schema¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <xs:complexType name="AxisControlType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Signal" type="SignalType"/>
<xs:element name="Homing" type="HomingType"/>
<xs:element name="ProcessingBlock" type="ProcessingBlockType"/>
<xs:element name="CommandQueue" type="CommandQueueType"/>
<xs:element name="NamedMutation" type="NamedMutationType"/>
<xs:element name="StateMachine" type="StateMachineType"/>
<xs:element name="TrajectoryGenerator" type="TrajectoryGeneratorType"/>
<xs:element name="TrajectoryInterpolator" type="TrajectoryInterpolatorType"/>
<xs:element name="ParameterSet" type="ParameterSetType"/>
<xs:element name="Event" type="EventType"/>
<xs:element name="EventResponse" type="EventResponseType"/>
<xs:element name="Variant" type="AxisControlVariantType"/>
</xs:choice>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Template" type="xs:string" use="optional"/>
</xs:complexType>
|
Attribute |
Description |
---|---|
|
Used to define a name for an axis control block. |
|
Specifies the template, which is required to be instantiated. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <xs:complexType name="AxisControlVariantType">
<xs:complexContent>
<xs:extension base="BaseVariantType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Signal" type="SignalType"/>
<xs:element name="Homing" type="HomingType"/>
<xs:element name="ProcessingBlock" type="ProcessingBlockType"/>
<xs:element name="CommandQueue" type="CommandQueueType"/>
<xs:element name="NamedMutation" type="NamedMutationType"/>
<xs:element name="StateMachine" type="StateMachineType"/>
<xs:element name="TrajectoryGenerator" type="TrajectoryGeneratorType"/>
<xs:element name="TrajectoryInterpolator" type="TrajectoryInterpolatorType"/>
<xs:element name="ParameterSet" type="ParameterSetType"/>
<xs:element name="Event" type="EventType"/>
<xs:element name="EventResponse" type="EventResponseType"/>
<xs:element name="Variant" type="AxisControlVariantType"/>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
|